Modify

Opened 12 months ago

Closed 7 months ago

Last modified 2 weeks ago

#17516 closed enhancement (fixed)

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 (15)

comment:1 Changed 12 months ago by Don-vip

Type: defectenhancement

comment:2 Changed 12 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 12 months ago by Don-vip

In 14939/josm:

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

comment:4 Changed 12 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 10 months 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 10 months 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 10 months 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 10 months ago by Don-vip

Description: modified (diff)

comment:9 Changed 9 months 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 9 months 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

comment:11 Changed 7 months ago by Don-vip

Resolution: fixed
Status: newclosed

comment:12 Changed 6 months ago by Don-vip

In 15379/josm:

see #17516 - update linux start script

comment:14 Changed 4 weeks ago by Don-vip

In 15974/josm:

see #17516 - update error-prone dependency

comment:15 Changed 2 weeks ago by Don-vip

In 16156/josm:

see #17516 - see #17827 - see #18755 - Enable Jacoco coverage on Java 13/14/15

upgraded jacocoant to jacoco-0.8.6-20200313.013328-40 snapshot

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.