<AWT Dev> [8] Review Request: JDK-8027152 Regression: test closed/java/awt/Serialize/NullSerializationTest/NullSerializationTest.html fails since JDK 8 b112

Petr Pchelko petr.pchelko at oracle.com
Fri Oct 25 02:06:29 PDT 2013


Hello, AWT Team.

Please review the fix for the issue:
http://bugs.openjdk.java.net/browse/JDK-8027152
The fix is available at:
http://cr.openjdk.java.net/~pchelko/8027152/webrev.01/

The problem:
After the fix for JDK-7081594 the setAlwaysOnTop needs the ownedWindowList to propagate the alwaysOnTop property to owned windows. However, after the deserialization we get an NPE. In the fix I've moved the 
ownedWindowList serialization and deserialization earlier, before we apply the alwaysOnTop. The test shows that owned windows are serialized and deserialized properly.

With best regards. Petr.


More information about the awt-dev mailing list