Opened 7 years ago

Last modified 5 years ago

#17516 closed enhancement

Add compatibility with Java 13 — at Version 8

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.

Change History (8)

comment:1 by Don-vip, 7 years ago

Type: defectenhancement

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

In 14939/josm:

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

comment:4 by Don-vip, 7 years ago

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

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

Description: modified (diff)
Note: See TracTickets for help on using tickets.