Modify

Opened 2 years ago

Closed 6 months ago

#21684 closed enhancement (fixed)

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

comment:1 by Don-vip, 2 years ago

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

comment:2 by taylor.smock, 2 years ago

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 "https://get.sdkman.io" | bash && \
  source "/root/.sdkman/bin/sdkman-init.sh" && \
  echo "sdkman_auto_answer=true" > ~/.sdkman/etc/config && \
  sdk install java $(sdk list java | awk -F'|' '/19/ && /open/ {print $6}' | head -n1) && \
  svn co https://josm.openstreetmap.de/osmsvn/applications/editors/josm && \
  cd josm/core && \
  ant clean dist && \
  ant test

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

Last edited 2 years ago by taylor.smock (previous) (diff)

comment:3 by taylor.smock, 17 months ago

Description: modified (diff)

comment:4 by stoecker, 6 months ago

Resolution: fixed
Status: assignedclosed

Modify Ticket

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