Review Request: 8220134 Cleanup the code in java.base which take care about multiple AppContext
Sergey.Bylokhov at oracle.com
Thu Apr 18 22:41:15 UTC 2019
Please review the fix for JDK 13.
The AppContext class was used as a kind of "sandbox" in case of applets/webstart. Both applets and webstart were removed from the jdk11, since then we always use only one "MainAppcontext", which means that AppContext itself became useless.
Supporting AppContext overly complicates the code, and provides no benefits. It would be great if we can remove this code.
In this change I have removed:
- The "jdk.internal.access.JavaAWTAccess" class which implemented a bridge between java.desktop and java.base
- The code which setup JavaAWTAccess in sun.awt.AppContext class
- The mapping between LoggerContext and AppContext in the java.util.logging.LogManager class
Some tests were updated/removed as well.
mach5 tier1 and client-tests are green.
Best regards, Sergey.
More information about the core-libs-dev