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

[TEST_BUG] closed/javax/swing/Security/6378709/FakeEvent.java failed since jdk8b108

    XMLWordPrintable

Details

    • b108
    • 8
    • b08
    • generic
    • generic

    Backports

      Description

        test closed/javax/swing/Security/6378709/FakeEvent.java failed since jdk8b108, reproduced on windows, macos, it passed with jdk8b107, jdk7u40b43

        test expects SecurityException but caught the following:
        java.security.AccessControlException: access denied ("java.awt.AWTPermission" "accessEventQueue")
                at java.security.AccessControlContext.checkPermission(AccessControlContext.java:453)
                at java.security.AccessController.checkPermission(AccessController.java:844)
                at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
                at java.awt.Toolkit.getSystemEventQueue(Toolkit.java:1706)
                at FakeEvent$3.run(FakeEvent.java:72)
                at java.lang.Thread.run(Thread.java:724)

        the failure perhaps caused by fix for JDK-8008981, diff is http://hg.openjdk.java.net/jdk8/awt/jdk/rev/336784cd60c3:
        there was change in getSystemEventQueue() method which is used in test
        in this case bug is in test, please confirm

        Attachments

          Issue Links

            Activity

              People

                pchelko Petr Pchelko (Inactive)
                vakulova Vera Akulova (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: