Opened 15 months ago

Last modified 4 months ago

#21684 assigned enhancement

Add compatibility with Java 19

Reported by: Don-vip Owned by: Don-vip
Priority: normal Milestone:
Component: Core Version:
Keywords: java19 Cc:

Description (last modified by taylor.smock)

Followup of #21005

First ​​​EA builds of Java 19 are available.

Followup: #22543.

Attachments (0)

Change History (3)

comment:1 Changed 15 months ago by Don-vip

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

comment:2 Changed 11 months ago by taylor.smock

Right now, we aren't building/testing against Java 19 EA. See #22037 ("Projekt Java-EarlyAccess-Update-JDK" fails downloading Java with 404).

With that being said, I've been able to (at least) build on Java 19 in a docker container.

$ docker run -it --rm ubuntu:latest /bin/bash
# apt-get update && \
  apt-get install -y unzip zip && \
  curl -s "" | bash && \
  source "/root/.sdkman/bin/" && \
  echo "sdkman_auto_answer=true" > ~/.sdkman/etc/config && \
  sdk install java $(sdk list java | awk -F'|' '/19/ && /open/ {print $6}' | head -n1) && \
  svn co && \
  cd josm/core && \
  ant clean dist && \
  ant test

EDIT: Tests are passing under Java 19 as of right now (r18439).

Last edited 11 months ago by taylor.smock (previous) (diff)

comment:3 Changed 4 months ago by taylor.smock

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain Don-vip.
as The resolution will be set.
to The owner will be changed from Don-vip 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

Add Comment

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

Note: See TracTickets for help on using tickets.