United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8009881 TEST_BUG: javax/swing/JTree/8004298/bug8004298.java should be modified
JDK-8009881 : TEST_BUG: javax/swing/JTree/8004298/bug8004298.java should be modified

Details
Type:
Bug
Submit Date:
2013-03-12
Status:
Resolved
Updated Date:
2013-09-04
Project Name:
JDK
Resolved Date:
2013-03-19
Component:
client-libs
OS:
solaris,os_x,linux
Sub-Component:
javax.swing
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7,8
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

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
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
                                     
2013-03-12
Only test should be corrected.
                                     
2013-03-12
Suggested fix: http://cr.openjdk.java.net/~kshefov/8009881/webrev.00/
                                     
2013-03-18
URL:   http://hg.openjdk.java.net/jdk8/awt/jdk/rev/af6049edac00
User:  kshefov
Date:  2013-03-19 13:53:35 +0000

                                     
2013-03-19
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/af6049edac00
User:  lana
Date:  2013-04-02 17:50:39 +0000

                                     
2013-04-02



Hardware and Software, Engineered to Work Together