[13] Review Request: 8220134 Cleanup the code in java.base which take care about multiple AppContext
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Thu Apr 18 23:08:09 UTC 2019
I have found one of the removed test in the ProblemList, webrev is updated in place.
On 18/04/2019 15:41, Sergey Bylokhov wrote:
> Hello.
> Please review the fix for JDK 13.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8220134
> Fix: http://cr.openjdk.java.net/~serb/8220134/webrev.00
>
> 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
mailing list