-
Type:
Bug
-
Status: Open
-
Priority:
P3
-
Resolution: Unresolved
-
Affects Version/s: 8u20, 9
-
Fix Version/s: tbd
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Introduced In Version:
-
CPU:x86_64
-
OS:windows_7
FULL PRODUCT VERSION :
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
A standard Swing LineBorder of size 1 will paint the left border 2px wide. This happens since JRE 8. The exact same code on JRE 7 paints the left border 1px wide. This can be observed by running the BorderDemo sample (http://docs.oracle.com/javase/tutorial/uiswing/examples/components/BorderDemoProject/src/components/BorderDemo.java) on the Oracle web site . If you run it in JRE 7 it is fine, if you run it in JRE 8 it is not fine.
REGRESSION. Last worked in version 8u11
REPRODUCIBILITY :
This bug can be reproduced often.
---------- BEGIN SOURCE ----------
http://docs.oracle.com/javase/tutorial/uiswing/examples/components/BorderDemoProject/src/components/BorderDemo.java
---------- END SOURCE ----------
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
A standard Swing LineBorder of size 1 will paint the left border 2px wide. This happens since JRE 8. The exact same code on JRE 7 paints the left border 1px wide. This can be observed by running the BorderDemo sample (http://docs.oracle.com/javase/tutorial/uiswing/examples/components/BorderDemoProject/src/components/BorderDemo.java) on the Oracle web site . If you run it in JRE 7 it is fine, if you run it in JRE 8 it is not fine.
REGRESSION. Last worked in version 8u11
REPRODUCIBILITY :
This bug can be reproduced often.
---------- BEGIN SOURCE ----------
http://docs.oracle.com/javase/tutorial/uiswing/examples/components/BorderDemoProject/src/components/BorderDemo.java
---------- END SOURCE ----------
- relates to
-
JDK-8041917 unexcepted behavior of LineBorder while using Boolean variable true
-
- Resolved
-