Modify

Opened 4 months ago

Last modified 7 days ago

#17516 new enhancement

Add compatibility with Java 13

Reported by: Don-vip Owned by: team
Priority: normal Milestone: 19.09
Component: Core Version:
Keywords: java13 Cc:

Description (last modified by Don-vip)

Followup of #16498

First ​EA builds of Java 13 are available.

See #17827 for Java 14 compatibility.

Attachments (0)

Change History (10)

comment:1 Changed 4 months ago by Don-vip

Type: defectenhancement

comment:2 Changed 4 months ago by Don-vip

In 14784/josm:

see #17516 - upgrade to error_prone 2.3.3-SNAPSHOT + patch for Java 13 compatibility

See https://github.com/google/error-prone/issues/1106#issuecomment-460800327

comment:3 Changed 4 months ago by Don-vip

In 14939/josm:

see #17268, see #17516 - add missing semicolons (issue reported by javadoc 13)

comment:4 Changed 3 months ago by Don-vip

Java 13 builds are crashing for two months now, even if I reported the bug: javabug:8219902

comment:5 Changed 7 weeks ago by Don-vip

In 15128/josm:

see #16047, see #16498, see #17516, fix #17723

  • add java.scripting module when loading JOSM with Java 11+
  • detect java 12/13 on Linux

comment:6 Changed 4 weeks ago by Don-vip

New compilation warning:

    [javac] /var/lib/jenkins/jobs/Java-EarlyAccess-Integration/workspace/jdk/JDK13/src/org/openstreetmap/josm/io/audio/AudioPlayer.java:297: warning: 'yield' may become a restricted identifier in a future release
    [javac]             yield();

comment:7 Changed 4 weeks ago by Don-vip

In 15181/josm:

see #17516 - use qualified access to Thread.yield() as it is a restricted identifier in Java 13, see https://bugs.openjdk.java.net/browse/JDK-8223305

comment:8 Changed 4 weeks ago by Don-vip

Description: modified (diff)

comment:9 Changed 7 days ago by Don-vip

javabug:8223552 impacts us and raises several javadoc warnings.
It is closed as won't fix with following workaround:

Use -Xdoclint:-html to disable HTML checking. The option is available in JDK 8 and subsequent releases.

comment:10 Changed 7 days ago by Don-vip

In 15243/josm:

see #17516 - Disable HTML checking until we switch to Java13+, see https://bugs.openjdk.java.net/browse/JDK-8223552

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to Don-vip
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.