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

JFrame.setDefaultCloseOperation is prohibited in jtreg

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • 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)

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

              Created:
              Updated:
              Resolved: