-
Bug
-
Resolution: Duplicate
-
P1
-
8
-
MacOSX, JDK b126
api/java_awt/awt_focus_subsystem/focus_traversal/index.html#FocusTraversal2[FocusTraversal2_hw_0003] test failed due to AccessControlException: access denied ("java.util.PropertyPermission" "os.version" "read"). Stacktrace:
java.lang.ExceptionInInitializerError
at apple.laf.JRSUIUtils$TabbedPane.shouldUseTabbedPaneContrastUI(JRSUIUtils.java:76)
at com.apple.laf.AquaLookAndFeel.initClassDefaults(AquaLookAndFeel.java:1050)
at com.apple.laf.AquaLookAndFeel.getDefaults(AquaLookAndFeel.java:224)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:583)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
at javax.swing.UIManager.initialize(UIManager.java:1459)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
at javax.swing.UIManager.getUI(UIManager.java:1006)
at javax.swing.JButton.updateUI(JButton.java:147)
at javax.swing.AbstractButton.init(AbstractButton.java:2176)
at javax.swing.JButton.<init>(JButton.java:137)
at javax.swing.JButton.<init>(JButton.java:91)
at sun.lwawt.LWButtonPeer$JButtonDelegate.<init>(LWButtonPeer.java:87)
at sun.lwawt.LWButtonPeer.createDelegate(LWButtonPeer.java:50)
at sun.lwawt.LWButtonPeer.createDelegate(LWButtonPeer.java:40)
at sun.lwawt.LWComponentPeer.<init>(LWComponentPeer.java:222)
at sun.lwawt.LWButtonPeer.<init>(LWButtonPeer.java:45)
at sun.lwawt.LWToolkit.createButton(LWToolkit.java:302)
at java.awt.Button.addNotify(Button.java:177)
at java.awt.Container.addImpl(Container.java:1119)
at java.awt.Container.add(Container.java:415)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.setUp(FocusTraversal2Tests.java:71)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.registerAndCheck(FocusTraversal2Tests.java:96)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.access$000(FocusTraversal2Tests.java:45)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests$2.run(FocusTraversal2Tests.java:197)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:279)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.FocusTraversal2_hw_0003(FocusTraversal2Tests.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:405)
at javasoft.sqe.jck.lib.api.java.awt.awt_focus_subsystem.SharedFrameTest.invokeTestCase(SharedFrameTest.java:86)
at javasoft.sqe.jck.lib.api.java.awt.awt_focus_subsystem.AWTFocusTest.invokeTestCase(AWTFocusTest.java:156)
at javasoft.sqe.jck.lib.api.java.awt.awt_focus_subsystem.FocusTrackingTest.invokeTestCase(FocusTrackingTest.java:49)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:194)
at javasoft.sqe.jck.lib.api.java.awt.awt_focus_subsystem.SharedFrameTest.run(SharedFrameTest.java:69)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:126)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.main(FocusTraversal2Tests.java:179)
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "os.version" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1294)
at java.lang.System.getProperty(System.java:714)
at apple.laf.JRSUIUtils.currentMacOSXVersionMatchesGivenVersionRange(JRSUIUtils.java:50)
at apple.laf.JRSUIUtils.isCurrentMacOSXVersion(JRSUIUtils.java:45)
at apple.laf.JRSUIUtils.isMacOSXLeopard(JRSUIUtils.java:37)
at apple.laf.JRSUIUtils.<clinit>(JRSUIUtils.java:33)
... 42 more
See attached jtr-file.
java.lang.ExceptionInInitializerError
at apple.laf.JRSUIUtils$TabbedPane.shouldUseTabbedPaneContrastUI(JRSUIUtils.java:76)
at com.apple.laf.AquaLookAndFeel.initClassDefaults(AquaLookAndFeel.java:1050)
at com.apple.laf.AquaLookAndFeel.getDefaults(AquaLookAndFeel.java:224)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:583)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
at javax.swing.UIManager.initialize(UIManager.java:1459)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
at javax.swing.UIManager.getUI(UIManager.java:1006)
at javax.swing.JButton.updateUI(JButton.java:147)
at javax.swing.AbstractButton.init(AbstractButton.java:2176)
at javax.swing.JButton.<init>(JButton.java:137)
at javax.swing.JButton.<init>(JButton.java:91)
at sun.lwawt.LWButtonPeer$JButtonDelegate.<init>(LWButtonPeer.java:87)
at sun.lwawt.LWButtonPeer.createDelegate(LWButtonPeer.java:50)
at sun.lwawt.LWButtonPeer.createDelegate(LWButtonPeer.java:40)
at sun.lwawt.LWComponentPeer.<init>(LWComponentPeer.java:222)
at sun.lwawt.LWButtonPeer.<init>(LWButtonPeer.java:45)
at sun.lwawt.LWToolkit.createButton(LWToolkit.java:302)
at java.awt.Button.addNotify(Button.java:177)
at java.awt.Container.addImpl(Container.java:1119)
at java.awt.Container.add(Container.java:415)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.setUp(FocusTraversal2Tests.java:71)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.registerAndCheck(FocusTraversal2Tests.java:96)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.access$000(FocusTraversal2Tests.java:45)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests$2.run(FocusTraversal2Tests.java:197)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:279)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.FocusTraversal2_hw_0003(FocusTraversal2Tests.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:405)
at javasoft.sqe.jck.lib.api.java.awt.awt_focus_subsystem.SharedFrameTest.invokeTestCase(SharedFrameTest.java:86)
at javasoft.sqe.jck.lib.api.java.awt.awt_focus_subsystem.AWTFocusTest.invokeTestCase(AWTFocusTest.java:156)
at javasoft.sqe.jck.lib.api.java.awt.awt_focus_subsystem.FocusTrackingTest.invokeTestCase(FocusTrackingTest.java:49)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:194)
at javasoft.sqe.jck.lib.api.java.awt.awt_focus_subsystem.SharedFrameTest.run(SharedFrameTest.java:69)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:126)
at javasoft.sqe.tests.api.java.awt.awt_focus_subsystem.focus_traversal.FocusTraversal2Tests.main(FocusTraversal2Tests.java:179)
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "os.version" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1294)
at java.lang.System.getProperty(System.java:714)
at apple.laf.JRSUIUtils.currentMacOSXVersionMatchesGivenVersionRange(JRSUIUtils.java:50)
at apple.laf.JRSUIUtils.isCurrentMacOSXVersion(JRSUIUtils.java:45)
at apple.laf.JRSUIUtils.isMacOSXLeopard(JRSUIUtils.java:37)
at apple.laf.JRSUIUtils.<clinit>(JRSUIUtils.java:33)
... 42 more
See attached jtr-file.