eclipse -application org.eclipse.equinox.p2.publisher.UpdateSitePublisher -addJREIU ... doesn't add JRE "IU" for the currently used JRE but to the one set in JREAction.DEFAULT_PROFILE (currently Java 17).
So I'm unable to add "a.jre.javase" with Java 21 to the published update site content.xml and so can't install bundles that require Java 21 using plain SDK, even if everything runs on Java 21.
One of the issues found while investigating https://github.com/eclipse-equinox/p2/issues/450.
eclipse -application org.eclipse.equinox.p2.publisher.UpdateSitePublisher -addJREIU ...
doesn't add JRE "IU" for the currently used JRE but to the one set inJREAction.DEFAULT_PROFILE
(currently Java 17).So I'm unable to add "a.jre.javase" with Java 21 to the published update site content.xml and so can't install bundles that require Java 21 using plain SDK, even if everything runs on Java 21.