Re: Postgres and Java 9

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Gurmeen Bindra <gurmeen(dot)bindra(at)isode(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Postgres and Java 9
Date: 2018-01-24 15:56:40
Message-ID: CADK3HH+yydz_i0=5A_706kNawmiGDZoK55ZhNyttyb=oqapYYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Upgrade to latest version

42.2.0

That should fix it.

Dave Cramer

davec(at)postgresintl(dot)com
www.postgresintl.com

On 23 January 2018 at 04:49, Gurmeen Bindra <gurmeen(dot)bindra(at)isode(dot)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
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2018-01-24 15:57:08 Re: Regression in 42.2.0? "The server''s DateStyle parameter was changed to ISO. The JDBC driver requires DateStyle to begin with ISO for correct operation. "
Previous Message Dave Cramer 2018-01-23 15:49:33 [pgjdbc/pgjdbc] 1a8929: fix: package scram:client classes, so SCRAM works ...