On Wed, 27 May 2026 00:57:43 GMT, Alexander Zvegintsev <[email protected]> 
wrote:

> There are a few more mentions of the AppContext
> 
> ```
> ./src/java.logging/share/classes/java/util/logging/LogManager.java:424:    // 
> Returns the LoggerContext for the user code (i.e. application or AppContext).
> ./src/java.logging/share/classes/java/util/logging/LogManager.java:425:    // 
> Loggers are isolated from each AppContext.
> ./src/jdk.unsupported.desktop/share/classes/jdk/swing/interop/SwingInterOpUtils.java:36:
>  * to access and use jdk internal classes like SunToolkit, AppContext
> ./test/jdk/java/util/logging/TestLoggingWithMainAppContext.java:36: * @run 
> main/othervm TestLoggingWithMainAppContext
> ./test/jdk/java/util/logging/TestLoggingWithMainAppContext.java:38:public 
> class TestLoggingWithMainAppContext {
> ./test/jdk/java/util/logging/TestLoggingWithMainAppContext.java:51:        // 
> Triggers the creation of the main AppContext
> ./test/jdk/java/util/logging/TestLoggingWithMainAppContext.java:53:        
> ImageIO.read(is); // triggers calls to system loggers & creation of main 
> AppContext

I saw most of those but decided not to touch them as they were not just 
names/comments.
The swing interop I could change.

> ./test/jdk/ProblemList.txt:145:java/awt/Focus/ActivateOnProperAppContextTest.java
>  8136516 macosx-all
> ```

I will remove it.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/31262#issuecomment-4550791990

Reply via email to