Postgres and Java 9

From: Gurmeen Bindra <gurmeen(dot)bindra(at)isode(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Postgres and Java 9
Date: 2018-01-23 09:49:31
Message-ID: 0e573a0a-7c34-c2d7-42a3-9120b8f24b97@isode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jorge Solorzano 2018-01-23 11:05:37 [pgjdbc/pgjdbc] 5ebd20: Fix style changelog (#1089)
Previous Message Stefan Tzeggai 2018-01-22 15:29:56 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. "