News for hackers. Stuff that matters.
Re:Debian 11 by cogman10 on Saturday August 14, 2021 @01:12PM (#28182265)
There's no such thing as "LTS" for the OpenJDK.

LTS is strictly a JDK/JRE vendor concept. Oracle's distributions have 11 as an LTS and will have 17 as an LTS. That, however, only matters if you are paying oracle for support.

Re:Debian 11 by spockz on Saturday August 14, 2021 @02:54PM (#28183068)
Although technically true your statement misses a fact. Jdk 11 is still an LTS version for oracle which means that they are committed to improving that version with (security) fixes. These fixes will also be(come) available to the main OpenJDK distributions.

Therefore, as a user of any JDK distribution you can depend a bit on the LTS versions, in addition that what your distribution promises.

Re:Debian 11 by cogman10 on Monday August 16, 2021 @12:47PM (#28200115)
> These fixes will also be(come) available to the main OpenJDK distributions.

This isn't true! Oracle is under no obligation to mainline fixes from their JDK into OpenJDK.

That work is somewhat happening via IBM and Redhat, however, oracle is not doing it.

Further, new cuts of the OpenJDK are not happening for those old versions. You MUST get the fixes via a build of the OpenJDK that isn't the Oracle build of the OpenJDK (like adopt OpenJDK).

You can only depend on the "LTS" if the vender of your JDK supports LTS. There's no technically about it.

Re:Debian 11 by spockz on Tuesday August 17, 2021 @05:23PM (#28215034)
Exactly so officially you can indeed only rely on what your distribution promises you. In practice you may, with varying success, assume that if you are using a version that is LTS by one of the big distributions some fixes will land in mainline as well and therefore also in your distribution. Particularly for really critical fixes.

Of course, only officially rely on whatever agreement you have with your distribution/distributor.

Re:Debian 11 by ape4 on Saturday August 14, 2021 @02:53PM (#28183055)
This page https://adoptopenjdk.net/support.html has Java 8, 11 and 17 marked as LTS
Re:Debian 11 by spockz on Saturday August 14, 2021 @02:56PM (#28183077)
Yes, that is LTS by the AdoptOpenJDK project. The GP was speaking of oracle LTS I presume.
Re:Debian 11 by cogman10 on Monday August 16, 2021 @12:50PM (#28200156)
In context, I'm talking about the OpenJDK project which has no concept of LTS.

LTS is strictly a JDK vendor concept. (AdoptOpenJDK is a JDK vendor). How long a version is supported depends entirely on the vendor.

A lot of vendors have adopted the oracle LTS strategy, some offering even longer support. However, it's vendor specific.

Debian is, themselves, a JDK vendor as they are building OpenJDK themselves. So what LTS means for debian is entirely up to what Debian is willing to do to support it.