# HG changeset patch # User alexp # Date 1290705824 -10800 # Node ID aab14375ba24b87534cfdcbaf3082082f5278584 # Parent adb296cc2eaebb2fd155fbc3e8668890b9d795fc 6992847: javax/swing/JLayer/SerializationTest/SerializationTest.java failed in jdk7 just against b114 Reviewed-by: rupashka diff -r adb296cc2eae -r aab14375ba24 jdk/test/javax/swing/JLayer/SerializationTest/SerializationTest.java --- a/jdk/test/javax/swing/JLayer/SerializationTest/SerializationTest.java Thu Nov 25 15:58:11 2010 +0300 +++ b/jdk/test/javax/swing/JLayer/SerializationTest/SerializationTest.java Thu Nov 25 20:23:44 2010 +0300 @@ -54,9 +54,6 @@ JLayer newLayer = (JLayer) inputStream.readObject(); - if (newLayer.getLayout() == null) { - throw new RuntimeException("JLayer's layout is null"); - } if (newLayer.getGlassPane() == null) { throw new RuntimeException("JLayer's glassPane is null"); }