Modify

Opened 5 years ago

Closed 5 years ago

Last modified 3 years 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 (16)

comment:1 by Don-vip, 5 years ago

Type: defectenhancement

comment:2 by Don-vip, 5 years ago

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

In 14939/josm:

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

comment:4 by Don-vip, 5 years ago

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

comment:5 by Don-vip, 5 years ago

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

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

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

Description: modified (diff)

comment:9 by Don-vip, 5 years ago

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

In 15243/josm:

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

comment:11 by Don-vip, 5 years ago

Resolution: fixed
Status: newclosed

comment:12 by Don-vip, 5 years ago

In 15379/josm:

see #17516 - update linux start script

comment:14 by Don-vip, 4 years ago

In 15974/josm:

see #17516 - update error-prone dependency

comment:15 by Don-vip, 4 years ago

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

comment:16 by simon04, 3 years ago

In 17853/josm:

see #17516 - Update to ProGuard 7.1.0-beta3 for Java 13+ support

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. 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.