7190544: Nimbus LaF: regression UnitTest failure
authorssadetsky
Fri, 08 May 2015 17:40:43 +0300
changeset 30919 cfa6e12d8951
parent 30918 ee2374d4aae3
child 30920 3c35c680ec78
7190544: Nimbus LaF: regression UnitTest failure Reviewed-by: alexsch, azvegint, serb
jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/SynthSplitPaneUI.java
--- a/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/SynthSplitPaneUI.java	Fri May 08 17:35:15 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/SynthSplitPaneUI.java	Fri May 08 17:40:43 2015 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -134,6 +134,7 @@
                 value = Integer.valueOf(6);
             }
             LookAndFeel.installProperty(splitPane, "dividerSize", value);
+            dividerSize = ((Number)value).intValue();
 
             value = style.get(context, "SplitPane.oneTouchExpandable");
             if (value != null) {