Modify

Opened 15 months ago

Closed 9 months ago

Last modified 5 months ago

#20522 closed enhancement (fixed)

Add compatibility with Java 17

Reported by: Don-vip Owned by: Don-vip
Priority: normal Milestone: 21.08
Component: Core Version:
Keywords: java17 Cc:

Description (last modified by Don-vip)

Followup of #19724

First ​​EA builds of Java 17 are available. Planning:

2021/06/10 Rampdown Phase One
2021/07/15 Rampdown Phase Two
2021/08/05 Initial Release Candidate
2021/08/19 Final Release Candidate
2021/09/14 General Availability

This one is important as it is the new LTS after Java 11. Not sure yet if we'll do a Java 8/11 migration or directly a Java 8/17 one.

See #21005 for Java 18 compatibility.

Attachments (0)

Change History (22)

comment:1 Changed 15 months ago by Don-vip

Owner: changed from team to Don-vip
Status: newassigned

comment:2 Changed 15 months ago by Don-vip

In 17530/josm:

see #19724, see #20522 - java 16/17 support in Linux launch scripts

comment:3 Changed 15 months ago by Don-vip

In 17538/josm:

see #19724, see #20522 - enable jacoco on java 16/17 + add NPE details on Java 14+ in unit tests

comment:4 Changed 15 months ago by Don-vip

In 17539/josm:

see #19724, see #20522 - upgrade to equalsverifier 3.5.5 - enable Java 16/17 for mac build

comment:5 Changed 14 months ago by Don-vip

Description: modified (diff)

comment:6 Changed 14 months ago by Don-vip

Milestone: 21.0621.09

comment:7 Changed 12 months ago by Don-vip

In 17893/josm:

see #20522 - update to error-prone 2.7.1 for Java 17 compatibility

comment:8 Changed 12 months ago by Don-vip

In 17895/josm:

see #20522 - disable ProGuard on Java 17+, see https://github.com/Guardsquare/proguard/issues/132

comment:10 Changed 11 months ago by Don-vip

Description: modified (diff)

comment:11 Changed 10 months ago by Don-vip

In 17962/josm:

see #20522 - handle both language codes for Hebrew (iw before Java 17, he starting from Java 17)

See https://bugs.openjdk.java.net/browse/JDK-8263202

comment:12 Changed 10 months ago by Don-vip

Milestone: 21.0921.08

comment:13 Changed 9 months ago by Don-vip

Resolution: fixed
Status: assignedclosed

comment:14 Changed 9 months ago by Don-vip

In 18180/josm:

see #20522 - re-enable Proguard on Java 17+

comment:15 Changed 8 months ago by Don-vip

Java 17 is released. Nice summary of "real" JEPs:
https://openjdk.java.net/projects/jdk/17/jeps-since-jdk-11

(real meaning not counting all the "preview", "second preview", "incubator", "second incubator", etc... versions of enhancements)

comment:16 Changed 8 months ago by Don-vip

In 18225/josm:

see #20522 - Prefer Java 17 over everything else

also fixes #21325 (via JDK-8248904)

comment:18 Changed 8 months ago by mdk

If now Java 17 is the preferred version, would it make sense to move the Java 17 builds in Jenkins from "EarlyAccess" to the normal builds? "EarlyAccess" is only execute once a week, if I see it correctly.

Last edited 8 months ago by mdk (previous) (diff)

comment:19 Changed 8 months ago by Don-vip

Yep.

comment:20 Changed 6 months ago by Don-vip

In 18322/josm:

see #20522 see #21005 - Allow security manager, otherwise it raises a warning in Java 17 and throws an error with Java 18+

See https://bugs.openjdk.java.net/browse/JDK-8271301
See https://bugs.openjdk.java.net/browse/JDK-8270380

comment:21 Changed 5 months ago by Don-vip

In 18347/josm:

see #20522 see #21005 - Allow security manager via sysproperty

comment:22 Changed 5 months ago by Don-vip

In 18348/josm:

see #20522 see #21005 - Allow security manager via sysproperty (only for Java 17 and above)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.