FTR: I created https://issues.apache.org/jira/browse/SLING-11880 to track that and fixed that in the upcoming version. The fix only affects the test class path and should therefore have no impact on OSGi distributions using already org.osgi.util.converter 1.0.8 or newer. Thanks for reporting, Konrad
> On 15. May 2023, at 14:37, Robert Munteanu <[email protected]> wrote: > > On Mon, 2023-05-15 at 13:02 +0200, Konrad Windszus wrote: >> Usage: sh check_staged_release.sh 2747 /tmp/sling-staging > > For the record, the tests fail for me on Java 17 > > [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: > 0.339 s <<< FAILURE! - in > org.apache.sling.installer.factories.configuration.impl.MetatypeHandler > Test > [ERROR] > org.apache.sling.installer.factories.configuration.impl.MetatypeHandler > Test.testUpdateConfiguration Time elapsed: 0.337 s <<< FAILURE! > java.lang.AssertionError: expected:<3> but was:<4> > at org.junit.Assert.fail(Assert.java:89) > at org.junit.Assert.failNotEquals(Assert.java:835) > at org.junit.Assert.assertEquals(Assert.java:647) > at org.junit.Assert.assertEquals(Assert.java:633) > at > org.apache.sling.installer.factories.configuration.impl.MetatypeHandler > Test.testUpdateConfiguration(MetatypeHandlerTest.java:109) > > They pass with Java 11 and I doubt it's a regression so I voted +1 on > the release (see my previous email). > > Thanks, > Robert
