JDK-8009881 : TEST_BUG: javax/swing/JTree/8004298/bug8004298.java should be modified
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7,8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,os_x,solaris
  • CPU: generic
  • Submitted: 2013-03-12
  • Updated: 2014-03-11
  • Resolved: 2013-03-19
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 JDK 8
7u40Fixed 8 b84Fixed
Description
Testsuite name: regression 
Test name: javax/swing/JTree/8004298/bug8004298.java
JDK tested: JDK 8 b80
Is it a regression: No
Bug introduced in build: JDK 8 b75

This test is for Windows only. This should be coded.
Comments
javax/swing/JTree/8004298/bug8004298.java PASSED under JDK 8 b132 on MacOS, Linux, Solaris, Windows. Closed issue as Fixed/Verified.
11-03-2014

Suggested fix: http://cr.openjdk.java.net/~kshefov/8009881/webrev.00/
18-03-2013

Only test should be corrected.
12-03-2013

LOG: #section:main ----------messages:(3/107)---------- command: main bug8004298 reason: User specified action: run main bug8004298 elapsed time (seconds): 0.404 ----------System.out:(0/0)---------- ----------System.err:(14/1127)---------- javax.swing.UnsupportedLookAndFeelException: [The Microsoft Windows Look and Feel - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] not supported on this platform at javax.swing.UIManager.setLookAndFeel(UIManager.java:526) at bug8004298.main(bug8004298.java:51) 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:487) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96) at java.lang.Thread.run(Thread.java:722) JavaTest Message: Test threw exception: javax.swing.UnsupportedLookAndFeelException: [The Microsoft Windows Look and Feel - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] not supported on this platform JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: javax.swing.UnsupportedLookAndFeelException: [The Microsoft Windows Look and Feel - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] not supported on this platform result: Failed. Execution failed: `main' threw exception: javax.swing.UnsupportedLookAndFeelException: [The Microsoft Windows Look and Feel - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] not supported on this platform test result: Failed. Execution failed: `main' threw exception: javax.swing.UnsupportedLookAndFeelException: [The Microsoft Windows Look and Feel - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] not supported on this platform
12-03-2013