JFrame.setDefaultCloseOperation is prohibited in jtreg

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: client-libs
    • None

      The test fails with the following stacktrace:

      Caused by: java.lang.SecurityException: System.exit() forbidden by JT Harness
      at com.sun.javatest.JavaTestSecurityManager.checkExit(JavaTestSecurityManager.java:117)
      at javax.swing.JFrame.setDefaultCloseOperation(java.desktop@9-ea/JFrame.java:390)
      at com.sun.swingset3.demos.progressbar.ProgressBarDemo.main(ProgressBarDemo.java:67)

        There are no Sub-Tasks for this issue.

            Assignee:
            Alexander Kuznetcov (Inactive)
            Reporter:
            Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: