pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgres and Java 9
2+ messages / 2 participants
[nested] [flat]

* Postgres and Java 9
@ 2018-01-23 09:49 Gurmeen Bindra <gurmeen.bindra@isode.com>
  2018-01-24 15:56 ` Re: Postgres and Java 9 Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Gurmeen Bindra @ 2018-01-23 09:49 UTC (permalink / raw)
  To: pgsql-jdbc

PostgreSQL version: 9.5.0
Operating system:   linux

I get the following errors when running my java program to connect to
postgres using java 9:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils
(file:/work/classes/postgresql-42.1.4.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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Postgres and Java 9
  2018-01-23 09:49 Postgres and Java 9 Gurmeen Bindra <gurmeen.bindra@isode.com>
@ 2018-01-24 15:56 ` Dave Cramer <pg@fastcrypt.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Cramer @ 2018-01-24 15:56 UTC (permalink / raw)
  To: Gurmeen Bindra <gurmeen.bindra@isode.com>; +Cc: pgsql-jdbc

Upgrade to latest version

42.2.0

That should fix it.

Dave Cramer

davec@postgresintl.com
www.postgresintl.com

On 23 January 2018 at 04:49, Gurmeen Bindra <gurmeen.bindra@isode.com>
wrote:

> PostgreSQL version: 9.5.0
> Operating system:   linux
>
> I get the following errors when running my java program to connect to
> postgres using java 9:
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils
> (file:/work/classes/postgresql-42.1.4.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
>
>

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-01-24 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 09:49 Postgres and Java 9 Gurmeen Bindra <gurmeen.bindra@isode.com>
2018-01-24 15:56 ` Dave Cramer <pg@fastcrypt.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox