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

1.3.1_29b01 SwingApplet Demo SecurityException: null AccessControlContext

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b02
    • CPU:
      x86, sparc
    • OS:
      solaris, windows_xp
    • Verification:
      Verified

      Description

      When running 1.3.1_29b01 SwingApplet Demo using appletviewer the following exception is thrown. This does not occur in 1.3.1_28b04.

      java.lang.SecurityException: null AccessControlContext
              at javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:656
      )
              at javax.swing.UIDefaults.get(UIDefaults.java:146)
              at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:41)
              at javax.swing.UIDefaults.getBorder(UIDefaults.java:265)
              at javax.swing.UIManager.getBorder(UIManager.java:481)
              at javax.swing.LookAndFeel.installBorder(LookAndFeel.java:102)
              at javax.swing.plaf.basic.BasicButtonUI.installDefaults(BasicButtonUI.ja
      va:123)
              at com.sun.java.swing.plaf.windows.WindowsButtonUI.installDefaults(Windo
      wsButtonUI.java:60)
              at javax.swing.plaf.basic.BasicButtonUI.installUI(BasicButtonUI.java:58)

              at javax.swing.JComponent.setUI(JComponent.java:317)
              at javax.swing.AbstractButton.setUI(AbstractButton.java:1305)
              at javax.swing.JButton.updateUI(JButton.java:113)
              at javax.swing.AbstractButton.init(AbstractButton.java:1600)
              at javax.swing.JButton.<init>(JButton.java:103)
              at javax.swing.JButton.<init>(JButton.java:78)
              at SwingApplet.init(SwingApplet.java:35)
              at sun.applet.AppletPanel.run(AppletPanel.java:341)
              at java.lang.Thread.run(Thread.java:527)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                karunakar Karunakar Gajjala (Inactive)
                Reporter:
                thshaw Thomas Shaw (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: