Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ee16I-0003RZ-HZ for pgsql-jdbc@arkaria.postgresql.org; Tue, 23 Jan 2018 16:07:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ee16H-0002DY-FN for pgsql-jdbc@arkaria.postgresql.org; Tue, 23 Jan 2018 16:07:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1edvCx-0000jh-Kg for pgsql-jdbc@lists.postgresql.org; Tue, 23 Jan 2018 09:49:35 +0000 Received: from statler.isode.com ([62.232.206.189]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1edvCv-0004H2-He for pgsql-jdbc@postgresql.org; Tue, 23 Jan 2018 09:49:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1516700972; d=isode.com; s=june2016; i=@isode.com; bh=lolLEaXck4s0Obgi5oxccPR053lM45hKS6JApK7RzFI=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=MOrCKKKoGwOXalqKa2vS7Sxy4Wx3o+blmoIcxTpZ9PBuYfMNz4ejoNTe0iPA8/lLQjXK0L 7d+IWAM+05W3XE1Aaw9XHygqncXLlx/J4Ogjd3f4ibfzwmolGOMQ1lQNNcHnDFeCd13+Aq C2tDkSSj9XGZRwpMQIijP0KOMM2WO3E=; Received: from [172.20.0.155] (gurmeen.isode.net [172.20.0.155]) by statler.isode.com (submission channel) via TCP with ESMTPSA id for ; Tue, 23 Jan 2018 09:49:31 +0000 To: pgsql-jdbc@postgresql.org From: Gurmeen Bindra Subject: Postgres and Java 9 Message-ID: <0e573a0a-7c34-c2d7-42a3-9120b8f24b97@isode.com> Date: Tue, 23 Jan 2018 09:49:31 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------8872F2541DE3EC3B67017DDA" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------8872F2541DE3EC3B67017DDA Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 --------------8872F2541DE3EC3B67017DDA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
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
--------------8872F2541DE3EC3B67017DDA--