Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5hUc-0008Fy-Hk for pgsql-jdbc@arkaria.postgresql.org; Thu, 18 Jun 2015 21:37:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5hUb-0007EY-Ng for pgsql-jdbc@arkaria.postgresql.org; Thu, 18 Jun 2015 21:37:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z5hUa-0007ER-OR for pgsql-jdbc@postgresql.org; Thu, 18 Jun 2015 21:37:00 +0000 Received: from smtprelay03.ispgateway.de ([80.67.18.15]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z5hUX-0005FL-1j for pgsql-jdbc@postgresql.org; Thu, 18 Jun 2015 21:37:00 +0000 Received: from [88.66.28.181] (helo=Zauselmaus) by smtprelay03.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1Z5hTr-0007LO-Mp for pgsql-jdbc@postgresql.org; Thu, 18 Jun 2015 23:36:15 +0200 From: "Markus KARG" To: "'List'" References: <000c01d0a7b6$97571ee0$c6055ca0$@eu> <823ac781b677cc2d56a111712d44f682@imap.procolix.com> <006801d0a86b$9cdf95d0$d69ec170$@eu> <002c01d0a93e$d00bb8c0$70232a40$@eu> In-Reply-To: Subject: Re: Pre-processing during build Date: Thu, 18 Jun 2015 23:37:03 +0200 Organization: Markus KARG, Staatl. gepr. Inf. Message-ID: <010301d0aa0e$eac138e0$c043aaa0$@eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0104_01D0AA1F.AE4A08E0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdCp2Rk6y9MqbL8cTBG5+A+aNI/6AwANRZAg Content-Language: de X-AVK-Virus-Check: AVA 25.1869;71FD75 X-AVK-Spam-Check: 2; str=0001.0A0C0201.558339F6.0135,ss=2,re=0.000,recu=0.000,reip=0.000,cl=2,cld=1,fgs=0; F1206 X-Df-Sender: bWFya3VzQGhlYWRjcmFzaGluZy5ldQ== X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org This is a multi-part message in MIME format. ------=_NextPart_000_0104_01D0AA1F.AE4A08E0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dave, =20 please remind that we're talking about JDK6 to drop, which was publicly = EOL'ed two years ago, will end Oracle's "premier" support this year, end = even end Oracle's "extended" support in two and a half years! Even = Debian and zOS come with newer JREs. So actually I'd really love to see = a public statistics on how many actively maintained JDBC applications = CANNOT migrate easily to JRE 7 at least! Do you have any statistics = available? :-) =20 -Markus =20 =20 From: pgsql-jdbc-owner@postgresql.org = [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Dave Cramer Sent: Donnerstag, 18. Juni 2015 17:11 To: Christopher BROWN Cc: List Subject: Re: [JDBC] Pre-processing during build =20 =20 Dave Cramer dave.cramer(at)credativ(dot)ca http://www.credativ.ca =20 On 18 June 2015 at 10:56, Christopher BROWN wrote: If you decided to drop JDK6 support going forward, that wouldn't cause = the current JDK6-compatible PostgreSQL driver versions to be deleted, so = no-one would be stuck. Even if new features are added to PostgreSQL = (the database or the driver), the JDK6 JDBC API will remain constant and = won't have any more or less features than before; there's probably = enough expressivity in SQL and driver-specific classes to do pretty much = anything anyway.=20 =20 These are just pros and cons to consider if you're thinking about this = (I'm not recommending anything either way, especially as this tends to = start flame wars). Personally, I wouldn't be shocked by such a choice = given that PostgreSQL and the driver are open-source and that JDK6 has = been EOL for a long time, and that as such, I understand there are = limited resources for supporting all possible configurations. =20 Anyway, like I said, even if there was a 9.5 or 9.6 version that was = JDK7+, JDK6 users will still be able to use the 9.4 driver. =20 =20 =20 On 18 June 2015 at 15:52, Vladimir Sitnikov = wrote: > even with source/target set to 1.6, "javac" will complain that (for = your pre-Java-8 drivers) you haven't implemented everything I see. This indeed makes "step-by-step" compilation a good solution. We might want to drop JDK6 support to make it easier for us and for the contributors (1 JDK less to install). Vladimir =20 =20 Removing JDK 1.6 is not being contemplated at the moment. While many = "hackers" are keen to use the latest greatest features of Java N+1, = there is a VERY large population that still runs older JVM's for = whatever reason. As I mentioned earlier in this thread the focus of the = driver is to provide access to the all supported versions of PostgreSQL( = and even older when possible ) to Java users, not to provide the latest = Java tools for PostgreSQL.=20 =20 ------=_NextPart_000_0104_01D0AA1F.AE4A08E0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Dave,

 

please remind that we're talking about JDK6 to drop, which was = publicly EOL'ed two years ago, will end Oracle's "premier" = support this year, end even end Oracle's "extended" support in = two and a half years! Even Debian and zOS come with newer JREs. So = actually I'd really love to see a public statistics on how many actively = maintained JDBC applications CANNOT migrate easily to JRE 7 at least! Do = you have any statistics available? :-)

 

-Markus

 

 

From:= = pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] = On Behalf Of Dave Cramer
Sent: Donnerstag, 18. Juni = 2015 17:11
To: Christopher BROWN
Cc: = List
Subject: Re: [JDBC] Pre-processing during = build

 

 


Dave = Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

 

On 18 = June 2015 at 10:56, Christopher BROWN <brown@reflexe.fr> = wrote:

If you decided to = drop JDK6 support going forward, that wouldn't cause the current = JDK6-compatible PostgreSQL driver versions to be deleted, so no-one = would be stuck.  Even if new features are added to PostgreSQL (the = database or the driver), the JDK6 JDBC API will remain constant and = won't have any more or less features than before; there's probably = enough expressivity in SQL and driver-specific classes to do pretty much = anything anyway. 

 

These are just pros and cons to consider if you're = thinking about this (I'm not recommending anything either way, = especially as this tends to start flame wars).  Personally, I = wouldn't be shocked by such a choice given that PostgreSQL and the = driver are open-source and that JDK6 has been EOL for a long time, and = that as such, I understand there are limited resources for supporting = all possible configurations.

 

Anyway, like I said, even if there was a 9.5 or 9.6 = version that was JDK7+, JDK6 users will still be able to use the 9.4 = driver.

 

 

 

On 18 June 2015 at 15:52, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> = wrote:

> even with source/target = set to 1.6, "javac" will complain that (for your pre-Java-8 = drivers) you haven't implemented everything

I see.
This indeed = makes "step-by-step" compilation a good solution.

We = might want to drop JDK6 support to make it easier for us and for
the = contributors (1 JDK less to install).

Vladimir

 

 

Removing JDK 1.6 is not being contemplated at the = moment. While many "hackers" are keen to use the latest = greatest features of Java N+1, there is a VERY large population that = still runs older JVM's for whatever reason. As I mentioned earlier in = this thread the focus of the driver is to provide access to the all = supported versions of PostgreSQL( and even older when possible ) to Java = users, not to provide the latest Java tools for = PostgreSQL. 

 

------=_NextPart_000_0104_01D0AA1F.AE4A08E0--