Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris

      Description

      jdk1.6.0 b50, S10u1 b13, x86 and sparc, Mozilla 20050705.

      reproduce steps:
      1. start mozilla
      2. load the SwingSet2 from url: http://baseman.prc/jdk-applet-demo/1.4.2/demos/jfc/SwingSet2/SwingSet2.html
      3. click the tab JTable Demo
      4. click the print button on this page
      5. get a security warning dialog
      6. click Cancel button at the first time, get the following exception in Java Console (see below)

      7. click the print button again to get the Security Warning dialog
      8. click Ok button the Security Warning dialog pops up again.
      9. now click cancel button the Security Warning dialog pops up again
      10. click the Cancel button again, the print dialog pops up

      Exception in thread "AWT-EventQueue-2" java.lang.SecurityException: checkPrintJobAccess
      at sun.plugin.security.ActivatorSecurityManager.showPrintDialog(ActivatorSecurityManager.java:137)
      at sun.plugin.security.ActivatorSecurityManager$CheckPrint_1_2.run(ActivatorSecurityManager.java:106)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin.security.ActivatorSecurityManager$CheckPrint_1_2.<init>(ActivatorSecurityManager.java:103)
      at sun.plugin.security.ActivatorSecurityManager.checkPrintJobAccess(ActivatorSecurityManager.java:97)
      at java.awt.print.PrinterJob.getPrinterJob(PrinterJob.java:57)
      at javax.swing.JTable.print(JTable.java:5963)
      at javax.swing.JTable.print(JTable.java:5852)
      at javax.swing.JTable.print(JTable.java:5807)
      at TableDemo.printTable(TableDemo.java:633)
      at TableDemo.access$000(TableDemo.java:68)
      at TableDemo$14.actionPerformed(TableDemo.java:316)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1818)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2139)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:377)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:232)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      at java.awt.Component.processMouseEvent(Component.java:5912)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      at java.awt.Component.processEvent(Component.java:5677)
      at java.awt.Container.processEvent(Container.java:1960)
      at java.awt.Component.dispatchEventImpl(Component.java:4351)
      at java.awt.Container.dispatchEventImpl(Container.java:2018)
      at java.awt.Component.dispatchEvent(Component.java:4185)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4222)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3886)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3816)
      at java.awt.Container.dispatchEventImpl(Container.java:2004)
      at java.awt.Component.dispatchEvent(Component.java:4185)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

        Attachments

          Activity

            People

            • Assignee:
              herrick Andy Herrick
              Reporter:
              qqcheng Qing-Hua Cheng (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: