Re: illegal reflective access

From: Dave Cramer <davecramer(at)postgres(dot)rocks>
To: LanChi <lpham2525(at)gmail(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: illegal reflective access
Date: 2021-04-15 12:15:04
Message-ID: CADK3HH+Pd1=gsrQWmLEFG4oGE4H8+T_YhPE=GYozTVmXc=shjg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

resending ast it didn't go through the first time

On Thu, 15 Apr 2021 at 07:00, Dave Cramer <davecramer(at)postgres(dot)rocks> wrote:

> Hello,
>
> Thanks for the report. As you can see this has been addressed in
> fix: avoid reflective access to TimeZone.defaultTimeZone in Java 9+ by
> vlsi · Pull Request #1002 · pgjdbc/pgjdbc (github.com)
> <https://github.com/pgjdbc/pgjdbc/pull/1002>
>
> Cheers,
> Dave Cramer
> www.postgres.rocks
>
>
> On Thu, 15 Apr 2021 at 06:32, LanChi <lpham2525(at)gmail(dot)com> wrote:
>
>> To Whom It May Concern,
>>
>> I connected my Postgresql server to my Eclipse IDE and this warning
>> popped up:
>>
>> WARNING: An illegal reflective access operation has occurred
>> WARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils
>>
>> (file:/C:/Users/LanChi/Desktop/PubHub-StarterKit/WebContent/WEB-INF/lib/postgresql-42.1.1.jar)
>> to field java.util.TimeZone.defaultTimeZone
>> WARNING: Please consider reporting this to the maintainers of
>> org.postgresql.jdbc.TimestampUtils
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflective access operations
>> WARNING: All illegal access operations will be denied in a future release
>>
>> I reported this to Postgresql, but I was told to report it here instead.
>> If this is not the right place to report it, please let me
>> know where I should send it.
>>
>> ~LCP
>>
>> P.S. A screenshot of the warning is attached as well.
>>
>>
>>
>>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2021-04-15 12:40:08 [pgjdbc/pgjdbc] 018954: cherry-pick PR #2092 PgDatabaseMetaData.getTables(...
Previous Message LanChi 2021-04-14 17:57:07 illegal reflective access