[jdk11u] Backport the fix of JDK-8180450 to JDK 11?
Francesco Nigro
nigro.fra at gmail.com
Thu Oct 24 10:55:29 UTC 2024
Hi folks,
l'm Francesco Nigro (although known as Franz - so please call me like that
if you wish);
I'm the one referenced at
https://bugs.openjdk.org/browse/JDK-8180450?focusedId=14536886&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14536886
and mentioned by who has started this whole thread.
Given that I've created the type pollution agent (i.e.
https://github.com/RedHatPerf/type-pollution-agent) I'm in the right and
unique position to list some of the (most) affected product/projects which
reached me out this last 2 years - which I could mention (there are some I
cannot, sadly):
- Cassandra (and DataStax)
- Netty
- Drools & Optaplanner
- Spark
- Hibernate
- Quarkus
- Spring
- Micronaut
- Infinispan
- Camel
- Netflix Zuul
- ...
This just to enforce Andrew's comment
> Several significant Java projects are affected.
"Several" is really a modest term here; we're talking about the biggest
players in the Java Community; which are often "victims" of their own
success and sometimes struggle to get to the very latest JDK version which
fixes it.
My 2c: I'm not suggesting to backport till java 8, but as Aristotele
rightly said "In medio stat virtus" - In the middle stands the truth:
by not backporting in any previous JDK version we let tons of cycles to be
wasted on the cloud/private cloud or, for the projects which can apply
patches to it found by the agent, let them to live with some broken and (at
best) non-idiomatic Java code.
Hope this helps to give a better context of the impact,
Franz
Il giorno gio 24 ott 2024 alle ore 12:16 Andrew Haley <
aph-open at littlepinkcloud.com> ha scritto:
> On 10/17/24 09:14, Lindenmaier, Goetz wrote:
> > So I think while we could consider this for the latest LTE, 21,
> > we should not bring this to 17 or older releases. It's just too
> > risky for these.
> > Even for 21 it would be a considerable effort to backport it
> > along with the needed follow-up issues.
>
> I have created a draft backport at
> https://github.com/openjdk/jdk21u-dev/pull/1090.
> It applies cleanly except for a few places where surrounding code had
> moved.
>
> I am not pushing for this to be included in 21u, but I have been speaking
> to Java
> developers who have been adversely affected by the problem this patch
> fixes, who
> seem quite keen to have it. Several significant Java projects are affected.
>
> --
> Andrew Haley (he/him)
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> https://keybase.io/andrewhaley
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-updates-dev/attachments/20241024/6e839cea/attachment.htm>
More information about the jdk-updates-dev
mailing list