Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6241671

REGRESSION: api/javax_swing/DefaultFocusManager/index.html#getset starts failing in b27

    Details

    • Subcomponent:
    • Resolved In Build:
      b33
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Filed by : J2SE-SQA team (###@###.###)
      J2SE : Failed: 1.6.0 b27
                         Pass:1.6.0 b26
      JCK : Fail:JCK1.5a-runtime
      Platform[s] : Solaris-sparc,Linux,solaris x86
      switch/Mode : All
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failling Test:
      =============
      api/javax_swing/DefaultFocusManager/index.html#getset

      Test source location:
      =====================
      /net/jsqalab/export/testsuites/JCK/jck1.5a/b05/JCK-runtime-15a/tests/api/javax_swing/DefaultFocusManager/getsetTests.java

      JTR file Location:
      ==================
      /net/cady/export6/results/mustang/b27/jck/jck-jck-Sol10AMD_c1-2005-03-14-10-02-43-0523/workDir/api/javax_swing/DefaultFocusManager/index_getset.jtr
      (Will be moved to /net/jsqalab/export/results/6.0/b27/jck/jck-jck-Sol10AMD_c1-2005-03-14-10-02-43-0523/workDir/api/javax_swing/DefaultFocusManager/index_getset.jtr later)


      How to reproduce:
      ==================
      onescript.ksh is attached in the bug. Run the script to reproduce the bug. If you change JDK to b26, the test will pass.

      Error Message:
      ===============
      sr1-usca-10:/net/cady/export/dtf/unified/knight-ws/suites/jck/mustang_bugs/newdir 136 % !kshksh onescript.ksh
      /lib/SunOS.sparc:/lib/SunOS.sparc/jmx
      /net/cady/export/jdk1.6.0/promoted/all/b27/binaries//solaris-sparcv9
      /net/cady/export/net/koori/onestop/jck/1.5a/latest/binaries/JCK-runtime-15a/classes:/net/cady/export/net/koori/onestop/jck/1.5a/latest/binaries/JCK-runtime-15a/javatest.jar
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b27)
      Java HotSpot(TM) Server VM (build 1.6.0-ea-b27, mixed mode)
      testing 0

      java.lang.ExceptionInInitializerError
      at sun.awt.X11GraphicsConfig.getColorModel(X11GraphicsConfig.java:244)
      at sun.awt.X11.XWindow.getColorModel(XWindow.java:271)
      at sun.awt.X11.XWindow.preInit(XWindow.java:153)
      at sun.awt.X11.XComponentPeer.preInit(XComponentPeer.java:117)
      at sun.awt.X11.XWindowPeer.preInit(XWindowPeer.java:65)
      at sun.awt.X11.XDecoratedPeer.preInit(XDecoratedPeer.java:52)
      at sun.awt.X11.XFramePeer.preInit(XFramePeer.java:38)
      at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:136)
      at sun.awt.X11.XBaseWindow.<init>(XBaseWindow.java:171)
      at sun.awt.X11.XWindow.<init>(XWindow.java:86)
      at sun.awt.X11.XComponentPeer.<init>(XComponentPeer.java:101)
      at sun.awt.X11.XCanvasPeer.<init>(XCanvasPeer.java:22)
      at sun.awt.X11.XPanelPeer.<init>(XPanelPeer.java:27)
      at sun.awt.X11.XWindowPeer.<init>(XWindowPeer.java:56)
      at sun.awt.X11.XDecoratedPeer.<init>(XDecoratedPeer.java:36)
      at sun.awt.X11.XFramePeer.<init>(XFramePeer.java:30)
      at sun.awt.X11.XToolkit.createFrame(XToolkit.java:341)
      at java.awt.Frame.addNotify(Frame.java:491)
      at java.awt.Window.pack(Window.java:490)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.createTestFrame(getsetTests.java:48)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests$1.run(getsetTests.java:77)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:86)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:133)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.DefaultFocusManager0002(getsetTests.java:106)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.main(getsetTests.java:56)
      Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission os.name read)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:296) at java.security.AccessController.checkPermission(AccessController.java:441)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
      at java.lang.System.getProperty(System.java:627)
      at sun.awt.X11.MotifColorUtilities.loadSystemColors(MotifColorUtilities.java:515)
      at sun.awt.X11.XToolkit.loadSystemColors(XToolkit.java:211)
      at java.awt.SystemColor.updateSystemColors(SystemColor.java:417)
      at java.awt.SystemColor.<clinit>(SystemColor.java:409)
      ... 35 more
      DefaultFocusManager0002: Failed. Test case throws exception: java.lang.ExceptionInInitializerError
      java.lang.NoClassDefFoundError: Could not initialize class java.awt.SystemColor
      at sun.awt.X11GraphicsConfig.getColorModel(X11GraphicsConfig.java:244)
      at sun.awt.X11.XWindow.getColorModel(XWindow.java:271)
      at sun.awt.X11.XWindow.preInit(XWindow.java:153)
      at sun.awt.X11.XComponentPeer.preInit(XComponentPeer.java:117)
      at sun.awt.X11.XWindowPeer.preInit(XWindowPeer.java:65)
      at sun.awt.X11.XDecoratedPeer.preInit(XDecoratedPeer.java:52)
      at sun.awt.X11.XFramePeer.preInit(XFramePeer.java:38)
      at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:136)
      at sun.awt.X11.XBaseWindow.<init>(XBaseWindow.java:171)
      at sun.awt.X11.XWindow.<init>(XWindow.java:86)
      at sun.awt.X11.XComponentPeer.<init>(XComponentPeer.java:101)
      at sun.awt.X11.XCanvasPeer.<init>(XCanvasPeer.java:22)
      at sun.awt.X11.XPanelPeer.<init>(XPanelPeer.java:27)
      at sun.awt.X11.XWindowPeer.<init>(XWindowPeer.java:56)
      at sun.awt.X11.XDecoratedPeer.<init>(XDecoratedPeer.java:36)
      at sun.awt.X11.XFramePeer.<init>(XFramePeer.java:30)
      at sun.awt.X11.XToolkit.createFrame(XToolkit.java:341)
      at java.awt.Frame.addNotify(Frame.java:491)
      at java.awt.Window.pack(Window.java:490)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.createTestFrame(getsetTests.java:48)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests$2.run(getsetTests.java:127)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:86)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:133)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.DefaultFocusManager0004(getsetTests.java:156)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.main(getsetTests.java:56)
      DefaultFocusManager0004: Failed. Test case throws exception: java.lang.NoClassDefFoundError: Could not initialize class java.awt.SystemColor
      java.lang.NoClassDefFoundError: Could not initialize class java.awt.SystemColor
      at sun.awt.X11GraphicsConfig.getColorModel(X11GraphicsConfig.java:244)
      at sun.awt.X11.XWindow.getColorModel(XWindow.java:271)
      at sun.awt.X11.XWindow.preInit(XWindow.java:153)
      at sun.awt.X11.XComponentPeer.preInit(XComponentPeer.java:117)
      at sun.awt.X11.XWindowPeer.preInit(XWindowPeer.java:65)
      at sun.awt.X11.XDecoratedPeer.preInit(XDecoratedPeer.java:52)
      at sun.awt.X11.XFramePeer.preInit(XFramePeer.java:38)
      at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:136)
      at sun.awt.X11.XBaseWindow.<init>(XBaseWindow.java:171)
      at sun.awt.X11.XWindow.<init>(XWindow.java:86)
      at sun.awt.X11.XComponentPeer.<init>(XComponentPeer.java:101)
      at sun.awt.X11.XCanvasPeer.<init>(XCanvasPeer.java:22)
      at sun.awt.X11.XPanelPeer.<init>(XPanelPeer.java:27)
      at sun.awt.X11.XWindowPeer.<init>(XWindowPeer.java:56)
      at sun.awt.X11.XDecoratedPeer.<init>(XDecoratedPeer.java:36)
      at sun.awt.X11.XFramePeer.<init>(XFramePeer.java:30)
      at sun.awt.X11.XToolkit.createFrame(XToolkit.java:341)
      at java.awt.Frame.addNotify(Frame.java:491)
      at java.awt.Window.pack(Window.java:490)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.createTestFrame(getsetTests.java:48)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests$3.run(getsetTests.java:178)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:86)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:133)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.DefaultFocusManager0006(getsetTests.java:210)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.main(getsetTests.java:56)
      DefaultFocusManager0006: Failed. Test case throws exception: java.lang.NoClassDefFoundError: Could not initialize class java.awt.SystemColor
      java.lang.NoClassDefFoundError: Could not initialize class java.awt.SystemColor
      at sun.awt.X11GraphicsConfig.getColorModel(X11GraphicsConfig.java:244)
      at sun.awt.X11.XWindow.getColorModel(XWindow.java:271)
      at sun.awt.X11.XWindow.preInit(XWindow.java:153)
      at sun.awt.X11.XComponentPeer.preInit(XComponentPeer.java:117)
      at sun.awt.X11.XWindowPeer.preInit(XWindowPeer.java:65)
      at sun.awt.X11.XDecoratedPeer.preInit(XDecoratedPeer.java:52)
      at sun.awt.X11.XFramePeer.preInit(XFramePeer.java:38)
      at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:136)
      at sun.awt.X11.XBaseWindow.<init>(XBaseWindow.java:171)
      at sun.awt.X11.XWindow.<init>(XWindow.java:86)
      at sun.awt.X11.XComponentPeer.<init>(XComponentPeer.java:101)
      at sun.awt.X11.XCanvasPeer.<init>(XCanvasPeer.java:22)
      at sun.awt.X11.XPanelPeer.<init>(XPanelPeer.java:27)
      at sun.awt.X11.XWindowPeer.<init>(XWindowPeer.java:56)
      at sun.awt.X11.XDecoratedPeer.<init>(XDecoratedPeer.java:36)
      at sun.awt.X11.XFramePeer.<init>(XFramePeer.java:30)
      at sun.awt.X11.XToolkit.createFrame(XToolkit.java:341)
      at java.awt.Frame.addNotify(Frame.java:491)
      at java.awt.Window.pack(Window.java:490)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.createTestFrame(getsetTests.java:48)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests$4.run(getsetTests.java:232)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:86)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:133)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.DefaultFocusManager0008(getsetTests.java:264)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.main(getsetTests.java:56)
      DefaultFocusManager0008: Failed. Test case throws exception: java.lang.NoClassDefFoundError: Could not initialize class java.awt.SystemColor
      java.lang.NoClassDefFoundError: Could not initialize class java.awt.SystemColor
      at sun.awt.X11GraphicsConfig.getColorModel(X11GraphicsConfig.java:244)
      at sun.awt.X11.XWindow.getColorModel(XWindow.java:271)
      at sun.awt.X11.XWindow.preInit(XWindow.java:153)
      at sun.awt.X11.XComponentPeer.preInit(XComponentPeer.java:117)
      at sun.awt.X11.XWindowPeer.preInit(XWindowPeer.java:65)
      at sun.awt.X11.XDecoratedPeer.preInit(XDecoratedPeer.java:52)
      at sun.awt.X11.XFramePeer.preInit(XFramePeer.java:38)
      at sun.awt.X11.XBaseWindow.init(XBaseWindow.java:136)
      at sun.awt.X11.XBaseWindow.<init>(XBaseWindow.java:171)
      at sun.awt.X11.XWindow.<init>(XWindow.java:86)
      at sun.awt.X11.XComponentPeer.<init>(XComponentPeer.java:101)
      at sun.awt.X11.XCanvasPeer.<init>(XCanvasPeer.java:22)
      at sun.awt.X11.XPanelPeer.<init>(XPanelPeer.java:27)
      at sun.awt.X11.XWindowPeer.<init>(XWindowPeer.java:56)
      at sun.awt.X11.XDecoratedPeer.<init>(XDecoratedPeer.java:36)
      at sun.awt.X11.XFramePeer.<init>(XFramePeer.java:30)
      at sun.awt.X11.XToolkit.createFrame(XToolkit.java:341)
      at java.awt.Frame.addNotify(Frame.java:491)
      at java.awt.Window.pack(Window.java:490)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.createTestFrame(getsetTests.java:48)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests$5.run(getsetTests.java:286)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:86)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:133)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.DefaultFocusManager0010(getsetTests.java:320)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.javax.swing.DefaultFocusManager.getsetTests.main(getsetTests.java:56)
      DefaultFocusManager0010: Failed. Test case throws exception: java.lang.NoClassDefFoundError: Could not initialize class java.awt.SystemColor
      ====== DefaultFocusManager0002 ====== public Component getFirstComponent(Container aContainer)
      ====== DefaultFocusManager0004 ====== public Component getLastComponent(Container aContainer)
      ====== DefaultFocusManager0006 ====== public Component getComponentAfter(Container aContainer, Component aComponent)
      ====== DefaultFocusManager0008 ====== public Component getComponentBefore(Container aContainer, Component aComponent)
      ====== DefaultFocusManager0010 ====== public boolean compareTabOrder(Component a, Component b)
      STATUS:Failed.test cases: 5; all failed; first test case failure: DefaultFocusManager0002
      97




      ###@###.### 2005-03-16 19:12:24 GMT

        Attachments

          Activity

            People

            • Assignee:
              dmikhalksunw Denis Mikhalkin (Inactive)
              Reporter:
              schien Suchen Chien (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: