While researching approaches for addressing the JAAS API changes (and coming 
deprecation in JDK 25), there is not a clean approach to:

1. Support both JAAS API styles
2. Support multiple JDK release less than JDK 18 (non-LTS)
3. Support JDK 25 on karaf-4.4.x due to removal of deprecated JAAS API style

ref: https://issues.apache.org/jira/browse/KARAF-7977

I propose a big jump in JDK baseline to help modernize going forward. With 
Spring 5 and Jetty 9 no longer doing releases, there is little the Karaf team 
can do to continue to support JDK 11 runtimes. Those using older releases must 
accept “as-is” for major framework dependencies.

karaf-4.4.x: JDK 11, 17, 21 (JDK 25 won’t work)
karaf-4.5.x: JDK 21, 25

Benefits:

1. Provides a wide range of JDK in v4.4.x
2. Allows advanced users to start testing with JDK 25 on a release

Thoughts?

Matt Pavlovich


Reply via email to