On Sunday, March 9, 2025 11:35:51 AM Central European Standard Time Carsten Ziegeler wrote: > Hi,
Hi Carsten, > while I worked on adding jakarta servlet support to our codebase I had > to update to Java 17 (as mentioned in those threads). > Our released version of Sling Testing PaxExam 4.x does not support Java > 17 so I had to switch to the unreleased 5.0.0 version - so far so good. Sling Testing PaxExam 4.0 works with Java 17 (and 21) in general. You can build the latest revision of Sling Commons Crypto before I changed to 5.0.0-SNAPSHOT with Java 17 without any errors: https://github.com/apache/sling-org-apache-sling-commons-crypto/tree/ 7bd8d8d78ebd102f8afefb4757be719b9bcd8a32 > However, that version has removed all sling options as part of > https://issues.apache.org/jira/browse/SLING-12577 - which makes it a > very complicated and time consuming process if you just want to update > your pax exam tests to Java 17 (without any further changes). I ended up > copying those options from the 4.x release into each and every module > (and stripped it down a little bit). Newer Java versions become problematic due to outdated bundles (incl. bnd and therefore TinyBundles). You have to compile your set of bundles and configurations sooner or later again yourself. > While I understand the reasoning behind this change, how about making a > 5.0.0 release with them back in - with that release we make it pretty > easy to update our code base to Java 17. And then a 6.0.0 release where > these options are dropped. > > WDYT? What exactly is not working? Can we fix it with a minor update which could go into a 4.1 release? O. > Regards > Carsten