<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
Thu Oct 24 08:40:28 PDT 2013
Hello, AWT Team.
Please review the fix for the issue:
https://bugs.openjdk.java.net/browse/JDK-8027152
The fix is available at:
http://cr.openjdk.java.net/~pchelko/8027152/webrev.00/
The problem:
After the fix for JDK-7081594 the ownedWindowList is used in setAlwaysOnTop. However the field is transient, so we get an NPE
The solution:
Move the ownedWindowList field initialization after the deserialization earlier that setAlwaysOnTop call.
With best regards. Petr.
More information about the awt-dev
mailing list