Make imported applet packages optional#283
Make imported applet packages optional#283OndroMih wants to merge 1 commit intoeclipse-ee4j:masterfrom
Conversation
Applets were removed from Java 26, they cannot be imported if running on Java 26 or newer. Making them optional will allow using the functionality on Java 26 that doesn't depend on applets.
|
Did also tests pass? That would be an awesome signal that it could be possible to remove it completely. |
|
I didn’t run tests. I can try to modify a Jenkins job to build orb and build GlassFish against a snapshot version and then run tests. I’ll try it. |
|
This is not enough to make GlassFish work on Java 26. GlassFish uses several Orb classes that refer to applets and fail to load. At least the tests fail because easymock wants to load all methods when it creates the mocks, see: https://ci.eclipse.org/glassfish/job/daily_builds/job/GlassFish-Java26/org.glassfish.main.common$glassfish-naming/18/testReport/junit/com.sun.enterprise.naming.impl/GlassfishNamingManagerImplTest/initializeRemoteNamingSupport/ |
|
Nice, but I guess it is not an issue of easymock, there are proxies used in ORB and a lot of magic behind it. I think I already tried to kill it few months ago but then gave up as I had enough of the pain. eclipse-ee4j/glassfish#25804 already enables snapshots, btw. |
Applets were removed from Java 26, they cannot be imported if running on Java 26 or newer. Making them optional will allow using the functionality on Java 26 that doesn't depend on applets.