-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0_01, 1.4.1
-
01
-
generic, x86, sparc
-
generic, linux, linux_redhat_7.1, solaris_8, windows_nt, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2108004 | 1.4.1 | Denis Mikhalkin | P4 | Closed | Fixed | hopper |
I think I found a new focus problem in Hopper build 6.
I ran the swingset on win32 as an applet
cd <build>/build/win32/demo/jfc/SwingSet2
<build>/build/win32/bin/appletviewer SwingSet2.html
Click on the dialog button in the toolbar (seventh from the left)
Click on one of the dialog buttons
Exceptions will be thrown:
[E:/oracle-cte1-child/build/win32/demo/jfc/SwingSet2] e:/oracle-hopper/build/w>
java.security.AccessControlException: access denied (java.util.PropertyPermission
java.awt.syncLWRequests read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:611)
at java.awt.Window.init(Window.java:206)
at java.awt.Window.<init>(Window.java:199)
at java.awt.Window.<init>(Window.java:281)
at java.awt.Dialog.<init>(Dialog.java:217)
at javax.swing.JDialog.<init>(JDialog.java:211)
at javax.swing.JOptionPane.createDialog(JOptionPane.java:882)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:537)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:482)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:433)
at OptionPaneDemo$5.actionPerformed(OptionPaneDemo.java:120)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5080)
at java.awt.Component.processEvent(Component.java:4877)
at java.awt.Container.processEvent(Container.java:1525)
at java.awt.Component.dispatchEventImpl(Component.java:3585)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3371)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3086)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3016)
at java.awt.Container.dispatchEventImpl(Container.java:1568)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
java.security.AccessControlException: access denied (java.util.PropertyPermission
java.awt.syncLWRequests read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:611)
at java.awt.Window.init(Window.java:206)
at java.awt.Window.<init>(Window.java:199)
at java.awt.Window.<init>(Window.java:281)
at java.awt.Dialog.<init>(Dialog.java:217)
at javax.swing.JDialog.<init>(JDialog.java:211)
at javax.swing.JOptionPane.createDialog(JOptionPane.java:882)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:819)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:624)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:595)
at OptionPaneDemo$2.actionPerformed(OptionPaneDemo.java:77)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5080)
at java.awt.Component.processEvent(Component.java:4877)
at java.awt.Container.processEvent(Container.java:1525)
at java.awt.Component.dispatchEventImpl(Component.java:3585)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3371)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3086)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3016)
at java.awt.Container.dispatchEventImpl(Container.java:1568)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
java.security.AccessControlException: access denied (java.util.PropertyPermission
java.awt.syncLWRequests read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:611)
at java.awt.Window.init(Window.java:206)
at java.awt.Window.<init>(Window.java:199)
at java.awt.Window.<init>(Window.java:281)
at java.awt.Dialog.<init>(Dialog.java:217)
at javax.swing.JDialog.<init>(JDialog.java:211)
at javax.swing.JOptionPane.createDialog(JOptionPane.java:882)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:819)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:624)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:595)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:566)
at OptionPaneDemo$3.actionPerformed(OptionPaneDemo.java:94)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5080)
at java.awt.Component.processEvent(Component.java:4877)
at java.awt.Container.processEvent(Container.java:1525)
at java.awt.Component.dispatchEventImpl(Component.java:3585)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3371)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3086)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3016)
at java.awt.Container.dispatchEventImpl(Container.java:1568)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
[E:/oracle-cte1-child/build/win32/demo/jfc/SwingSet2]
Note that this does not happen with the promoted build 5
of Hopper. Also, it does not happen when you run the
swingset as an application (from a jar file) - only when
run as an applet (appletviewer).
This does not happen in the CTE workspace with the Oracle
focus changes, so it must be caused by another fix we put
into Hopper build 6.
I ran the swingset on win32 as an applet
cd <build>/build/win32/demo/jfc/SwingSet2
<build>/build/win32/bin/appletviewer SwingSet2.html
Click on the dialog button in the toolbar (seventh from the left)
Click on one of the dialog buttons
Exceptions will be thrown:
[E:/oracle-cte1-child/build/win32/demo/jfc/SwingSet2] e:/oracle-hopper/build/w>
java.security.AccessControlException: access denied (java.util.PropertyPermission
java.awt.syncLWRequests read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:611)
at java.awt.Window.init(Window.java:206)
at java.awt.Window.<init>(Window.java:199)
at java.awt.Window.<init>(Window.java:281)
at java.awt.Dialog.<init>(Dialog.java:217)
at javax.swing.JDialog.<init>(JDialog.java:211)
at javax.swing.JOptionPane.createDialog(JOptionPane.java:882)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:537)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:482)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:433)
at OptionPaneDemo$5.actionPerformed(OptionPaneDemo.java:120)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5080)
at java.awt.Component.processEvent(Component.java:4877)
at java.awt.Container.processEvent(Container.java:1525)
at java.awt.Component.dispatchEventImpl(Component.java:3585)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3371)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3086)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3016)
at java.awt.Container.dispatchEventImpl(Container.java:1568)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
java.security.AccessControlException: access denied (java.util.PropertyPermission
java.awt.syncLWRequests read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:611)
at java.awt.Window.init(Window.java:206)
at java.awt.Window.<init>(Window.java:199)
at java.awt.Window.<init>(Window.java:281)
at java.awt.Dialog.<init>(Dialog.java:217)
at javax.swing.JDialog.<init>(JDialog.java:211)
at javax.swing.JOptionPane.createDialog(JOptionPane.java:882)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:819)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:624)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:595)
at OptionPaneDemo$2.actionPerformed(OptionPaneDemo.java:77)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5080)
at java.awt.Component.processEvent(Component.java:4877)
at java.awt.Container.processEvent(Container.java:1525)
at java.awt.Component.dispatchEventImpl(Component.java:3585)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3371)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3086)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3016)
at java.awt.Container.dispatchEventImpl(Container.java:1568)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
java.security.AccessControlException: access denied (java.util.PropertyPermission
java.awt.syncLWRequests read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:611)
at java.awt.Window.init(Window.java:206)
at java.awt.Window.<init>(Window.java:199)
at java.awt.Window.<init>(Window.java:281)
at java.awt.Dialog.<init>(Dialog.java:217)
at javax.swing.JDialog.<init>(JDialog.java:211)
at javax.swing.JOptionPane.createDialog(JOptionPane.java:882)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:819)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:624)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:595)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:566)
at OptionPaneDemo$3.actionPerformed(OptionPaneDemo.java:94)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5080)
at java.awt.Component.processEvent(Component.java:4877)
at java.awt.Container.processEvent(Container.java:1525)
at java.awt.Component.dispatchEventImpl(Component.java:3585)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3371)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3086)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3016)
at java.awt.Container.dispatchEventImpl(Container.java:1568)
at java.awt.Component.dispatchEvent(Component.java:3426)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
[E:/oracle-cte1-child/build/win32/demo/jfc/SwingSet2]
Note that this does not happen with the promoted build 5
of Hopper. Also, it does not happen when you run the
swingset as an application (from a jar file) - only when
run as an applet (appletviewer).
This does not happen in the CTE workspace with the Oracle
focus changes, so it must be caused by another fix we put
into Hopper build 6.
- backported by
-
JDK-2108004 AccessControlException in Window.init()
- Closed
- duplicates
-
JDK-4658019 TCK-JNLP1.0.1, interactive: 4 tests fail due to changes in the java.awt.Window c
- Closed
-
JDK-4662867 javax: 1.4.0_01 regression java.awt.syncLWRequests read - fails
- Closed