Hello, AWT Team. Please review the fix for the following issue: https://bugs.openjdk.java.net/browse/JDK-8025440 The fix is available at: http://cr.openjdk.java.net/~pchelko/8025440/webrev.00/
After SecurityManager.checkTopLevelWindow was deprecated in JDK-8008981 the test fails. This fix updates the test. The CopyClassFile util is introduced - it's copying the class file into the specified directory in the test working dir. This is needed to use the -Xbootclasspath, so that the new SecurityManager could work. This is a test fix, no code is affected. With best regards. Petr.