-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes needed to work with Java 24 #2623
Comments
Here's another problem with Java 24 that causes loading of p2 update sites to fail: I think we'd need to set properties in org.eclipse.equinox.internal.p2.persistence.XMLParser.getParser() where the parser is created. This demonstrates that the properties are respected when set (to some very small value) so some variation of this should work: |
merks
added a commit
to merks/p2
that referenced
this issue
Dec 13, 2024
merks
added a commit
to eclipse-equinox/p2
that referenced
this issue
Dec 13, 2024
HannesWell
added a commit
to HannesWell/eclipse.pde
that referenced
this issue
Dec 13, 2024
Since Java-24 the security-manager cannot be used anymore and launching a Java-24 VM fails to launch if the argument '-Djava.security.manager=allow' is set. Part of eclipse-platform/eclipse.platform.releng.aggregator#2623
HannesWell
added a commit
to HannesWell/eclipse.pde
that referenced
this issue
Dec 13, 2024
Since Java-24 the security-manager cannot be used anymore and launching a Java-24 VM fails to launch if the VM-argument '-Djava.security.manager=allow' is specified. Part of eclipse-platform/eclipse.platform.releng.aggregator#2623
HannesWell
added a commit
to HannesWell/eclipse.platform.releng.aggregator
that referenced
this issue
Dec 13, 2024
HannesWell
added a commit
to eclipse-pde/eclipse.pde
that referenced
this issue
Dec 14, 2024
Since Java-24 the security-manager cannot be used anymore and launching a Java-24 VM fails to launch if the VM-argument '-Djava.security.manager=allow' is specified. Part of eclipse-platform/eclipse.platform.releng.aggregator#2623
HannesWell
added a commit
to HannesWell/eclipse.platform.releng.aggregator
that referenced
this issue
Dec 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The latest early access version of Java 24, i.e, 24+26 fails to start when
-Djava.security.manager=allow
is specified. I.e., eclipse quietly fails to start; via the console we see why/how it fails to start:That option is specified in the eclipse.ini and is used in quite a few places (in the Platform SDK setup):
Even if we were to remove this option from the product, existing installations would retain the option in the eclipse.ini when updating.
Starting with
-Djava.security.manager=disallow
allows the IDE to start, though it's not so pretty!For further testing, I provisioned the Oomph Platform SDK setup using Java 24 and specifying
-Djava.security.manager=disallow
. That mostly works fine:I think we shouldn't be logging error from Ant when failing to set the security manager is an expected thing.
I think in preparation for upcoming releases of Java we should use
-Djava.security.manager=disallow
and fix any problems related to that.Note
sun.misc.Unsafe
will become a bigger problem eventually--enable-native-access=ALL-UNNAMED
will eventually be neededLocate EA versions of Java 24:
https://api.adoptium.net/v3/assets/feature_releases/24/ea?image_type=jdk&jvm_impl=hotspot&project=jdk&vendor=eclipse
The text was updated successfully, but these errors were encountered: