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

Revert 8224256 and add back java/security/SecureClassLoader/DefineClass.java test

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b23
    • Verification:
      Verified

      Description

      Test java/security/SecureClassLoader/DefineClass.java is failing after JDK-8224256

      ----------System.err:(14/874)----------
      java.lang.Exception: Granted permissions not correct
      at DefineClass.checkPerms(DefineClass.java:201)
      at DefineClass.main(DefineClass.java:166)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: java.lang.Exception: Granted permissions not correct
      JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aeubanks Arthur Eubanks
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: