JDK-8060208 : [macosx] Test javax/swing/JInternalFrame/Test6505027.java fails in MacOSX
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7u6,7u67,7u76
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2014-10-13
  • Updated: 2015-02-25
  • Resolved: 2015-02-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u85 b01Fixed
Description
Testsuite name: j2se_javax_gui
Test(s):  javax/swing/JInternalFrame/Test6505027.java
Product tested: JDK 7u71b13, 7u71b12, 7u67b34, 7u67b01, 7b148
OS/architecture: MacOSX(10.10)

Reproducible: Always
Reproducible on machine: stt-mac-02.ru.oracle.com but passing in spb23297.ru.oracle.com(Windows) and stt-mac-05.ru.oracle.com(MacOSX 10.9)

Is it a Regression: No
Failed in JDK 7u71b13, 7u71b12, 7u67b34, 7u67b01, 7b148

Test result on the last GAed release for this train: Fail ( 1.7.0_71 b12, 1.7.0_67 b34 )
Test result on FCS: Fail (  JDK 7 b148)

Is it a platform specific issue: Yes (failing in MacOSX(10.10) but passing in Windows and MacOSX(10.9))

----------System.err:(21/3116)----------
java.lang.Error: unexpected focus owner: javax.swing.JTextField[,0,0,426x28,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=com.apple.laf.AquaTextFieldBorder@5b7362f5,flags=288,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=128,g=128,b=128],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=0,g=0,b=0],selectionColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=164,g=205,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING]
	at Test6505027.validate(Test6505027.java:106)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at SwingTest.run(SwingTest.java:97)
	at SwingTest.start(SwingTest.java:132)
	at SwingTest.start(SwingTest.java:55)
	at Test6505027.main(Test6505027.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.Error: unexpected focus owner: javax.swing.JTextField[,0,0,426x28,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=com.apple.laf.AquaTextFieldBorder@5b7362f5,flags=288,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=128,g=128,b=128],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=0,g=0,b=0],selectionColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=164,g=205,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING]
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Error: unexpected focus owner: javax.swing.JTextField[,0,0,426x28,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=com.apple.laf.AquaTextFieldBorder@5b7362f5,flags=288,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=128,g=128,b=128],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=0,g=0,b=0],selectionColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=164,g=205,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING]

Steps to reproduce :
1. login into stt-mac-02.ru.oracle.com
2. run : /export/jdk/jdk1.7.0_71b13/bin/java -jar /net/stt-13.ru.oracle.com/export/home0/regression/tools/jtreg/lib/jtreg.jar -timeout:10 -verbose -vmoptions:'-Xmixed -server ' -automatic -jdk:/export/jdk/jdk1.7.0_71b13 -r:/export/home/gtee -w:/export/home/gtee/ -dir:/net/stt-13.ru.oracle.com/export/home0/regression/workspaces/1.7.0/1.7.0_71b13/j2se/test  javax/swing/JInternalFrame/Test6505027.java

RULE javax/swing/JInternalFrame/Test6505027.java Exception java.lang.Error: unexpected focus owner: javax.swing.JTextField[,0,0,426x28,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=com.apple.laf.AquaTextFieldBorder...,flags=288,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=128,g=128,b=128],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=0,g=0,b=0],selectionColor=com.apple.laf.AquaImageFactory$SystemColorProxy[r=164,g=205,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING]


Comments
Assigned while we discuss.
12-02-2015

This test also fails for JDK 8b132 and JDK 9b34
13-10-2014