JiriOndrusek opened a new pull request, #9202:
URL: https://github.com/apache/camel-quarkus/pull/9202
Fixes #9200
`SedaVirtualThreadsIT` fails on `camel-main` because the CI builds Camel
from source on JDK 17, and Camel compiles its Java 21/25 multi-release sources
(e.g. the virtual thread aware `CamelThreadFactory`) only on JDK 21+. The
released Camel jars used on `main` are built on JDK 25 and contain those
classes; the CI-built ones don't.
This sets up JDK 25 only for the "Build Camel" step and switches back to
JDK 17 right after it, in both `ci-build.yaml` (camel-main condition, inert on
`main`) and `camel-master-cron.yaml`. The JDK 17 baseline of camel-quarkus is
unchanged.
Verified locally: the native `SedaVirtualThreadsIT` passes with camel-util
built on JDK 25 and fails with the CI message when the Java 21/25 profiles are
disabled (equivalent to a JDK 17 build).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- Uncomment and fill this section if your PR is not trivial
[ ] An issue should be filed for the change unless this is a trivial change
(fixing a typo or similar). One issue should ideally be fixed by not more than
one commit and the other way round, each commit should fix just one issue,
without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful and properly
spelled subject line and body. Copying the title of the associated issue is
typically enough. Please include the issue number in the commit message
prefixed by #.
[ ] The pull request description should explain what the pull request does,
how, and why. If the info is available in the associated issue or some other
external document, a link is enough.
[ ] Phrases like Fix #<issueNumber> or Fixes #<issueNumber> will auto-close
the named issue upon merging the pull request. Using them is typically a good
idea.
[ ] Please run mvn process-resources -Pformat (and amend the changes if
necessary) before sending the pull request.
[ ] Contributor guide is your good friend:
https://camel.apache.org/camel-quarkus/latest/contributor-guide.html
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]