Modify

Opened 3 years ago

Closed 3 years ago

Last modified 2 years 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 by Don-vip, 3 years ago

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

comment:2 by Don-vip, 3 years ago

In 17530/josm:

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

comment:3 by Don-vip, 3 years ago

In 17538/josm:

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

comment:4 by Don-vip, 3 years ago

In 17539/josm:

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

comment:5 by Don-vip, 3 years ago

Description: modified (diff)

comment:6 by Don-vip, 3 years ago

Milestone: 21.0621.09

comment:7 by Don-vip, 3 years ago

In 17893/josm:

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

comment:8 by Don-vip, 3 years ago

In 17895/josm:

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

comment:10 by Don-vip, 3 years ago

Description: modified (diff)

comment:11 by Don-vip, 3 years ago

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 by Don-vip, 3 years ago

Milestone: 21.0921.08

comment:13 by Don-vip, 3 years ago

Resolution: fixed
Status: assignedclosed

comment:14 by Don-vip, 3 years ago

In 18180/josm:

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

comment:15 by Don-vip, 3 years ago

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 by Don-vip, 3 years ago

In 18225/josm:

see #20522 - Prefer Java 17 over everything else

also fixes #21325 (via JDK-8248904)

comment:18 by mdk, 3 years ago

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 3 years ago by mdk (previous) (diff)

comment:19 by Don-vip, 3 years ago

Yep.

comment:20 by Don-vip, 3 years ago

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 by Don-vip, 2 years ago

In 18347/josm:

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

comment:22 by Don-vip, 2 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.