activemq icon indicating copy to clipboard operation
activemq copied to clipboard

[#] JDK 25 support (multiple JIRA)

Open mattrpav opened this issue 1 month ago • 2 comments

Apache Jenkins JDK 25 test passed except for two tests

TODO:

  • [ ] JmsSchedulerTest.testUpdatesAppliedToIndexBeforeJournalShouldBeDiscarded failing -- log4j2 test appender is not picking up events, but everything is working correctly
  • [ ] JmsSchedulerTest.testCron is hanging indefinitely

ref: https://ci-builds.apache.org/job/ActiveMQ/job/ActiveMQ/job/PR-1533/6/

mattrpav avatar Nov 13 '25 15:11 mattrpav

Jenkins test setup output

Running tests
+ java -version
openjdk version "25" 2025-09-16 LTS
OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS)
OpenJDK 64-Bit Server VM Temurin-25+36 (build 25+36-LTS, mixed mode, sharing)
+ mvn -version
Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b)
Maven home: /home/jenkins/tools/maven/latest3
Java version: 25, vendor: Eclipse Adoptium, runtime: /usr/local/asfpackages/java/adoptium-jdk-25+36
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-160-generic", arch: "amd64", family: "unix"
+ mvn -B -e -fae test -Dsurefire.rerunFailingTestsCount=3

mattrpav avatar Nov 15 '25 15:11 mattrpav

Looking at the Jenkins build https://ci-builds.apache.org/job/ActiveMQ/job/ActiveMQ/view/change-requests/job/PR-1533/6/cloudbees-pipeline-explorer/?filter=131 - it looks like the tests run using JDK17. Am I reading that correctly? Could we get a run with JDK25?

jgallimore avatar Nov 17 '25 10:11 jgallimore