You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/03/18 22:00:06 UTC

[PR] CAMEL-23213: Handle Spring Boot catalog provider requiring JDK 21+ [camel]

gnodet opened a new pull request, #22087:
URL: https://github.com/apache/camel/pull/22087

   ## Summary
   - `CatalogLoader.loadSpringBootCatalog()` now catches `UnsupportedClassVersionError` when loading `SpringBootRuntimeProvider` and provides a clear error message: *"Spring Boot runtime requires JDK 21+ starting from camel-spring-boot 4.19.0. Use --camel-spring-boot-version=4.18.x for JDK 17 compatibility, or run on JDK 21+."*
   - Tests (`ExportTest`, `ExportMainApplicationProperties`, `DependencyListTest`, `DependencyUpdateTest`) skip Spring Boot runtime type on JDK < 21
   
   ## Context
   `camel-spring-boot` 4.19.0-SNAPSHOT moved to Spring Boot 4 (JDK 21). The `camel-catalog-provider-springboot` artifact is now compiled with Java 21 bytecode (class file version 65.0), causing `UnsupportedClassVersionError` on JDK 17. This broke `camel jbang export --runtime=spring-boot` on JDK 17 and caused CI failures on JDK 17 for any PR whose incremental build pulled in `camel-jbang-core`.
   
   ## Test plan
   - [x] All 75 tests pass on JDK 21+ (Spring Boot tests included)
   - [ ] CI validates JDK 17 no longer fails (Spring Boot tests skipped)


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23213: Handle Spring Boot catalog provider requiring JDK 21+ [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22087:
URL: https://github.com/apache/camel/pull/22087#issuecomment-4085925321

   <!-- ci-tested-modules -->
   :test_tube: **CI tested the following changed modules:**
   
   - `dsl/camel-jbang/camel-jbang-core`
   
   <details><summary>Full reactor (26 modules)</summary>
   
   - Camel :: Coverage
   - Camel :: Coverage                                                  [pom]
   - Camel :: JBang :: Core
   - Camel :: JBang :: Core                                             [jar]
   - Camel :: JBang :: Integration tests
   - Camel :: JBang :: Integration tests                                [jar]
   - Camel :: JBang :: MCP
   - Camel :: JBang :: MCP                                              [jar]
   - Camel :: JBang :: Main
   - Camel :: JBang :: Main                                             [jar]
   - Camel :: JBang :: Plugin :: Edit
   - Camel :: JBang :: Plugin :: Edit                                   [jar]
   - Camel :: JBang :: Plugin :: Generate
   - Camel :: JBang :: Plugin :: Generate                               [jar]
   - Camel :: JBang :: Plugin :: Kubernetes
   - Camel :: JBang :: Plugin :: Kubernetes                             [jar]
   - Camel :: JBang :: Plugin :: Route Parser
   - Camel :: JBang :: Plugin :: Route Parser                           [jar]
   - Camel :: JBang :: Plugin :: Testing
   - Camel :: JBang :: Plugin :: Testing                                [jar]
   - Camel :: JBang :: Plugin :: Validate
   - Camel :: JBang :: Plugin :: Validate                               [jar]
   - Camel :: Launcher
   - Camel :: Launcher                                                  [jar]
   - Camel :: Launcher :: Container
   - Camel :: Launcher :: Container                                     [pom]
   
   </details>


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23213: Handle Spring Boot catalog provider requiring JDK 21+ [camel]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #22087:
URL: https://github.com/apache/camel/pull/22087


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23213: Handle Spring Boot catalog provider requiring JDK 21+ [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22087:
URL: https://github.com/apache/camel/pull/22087#issuecomment-4085826175

   :star2: Thank you for your contribution to the Apache Camel project! :star2:
     :robot: CI automation will test this PR automatically.
   
     :camel: Apache Camel Committers, please review the following items:
   
     * First-time contributors **require MANUAL approval** for the GitHub Actions to run
     * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
     * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
     * Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
     
     :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org