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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 13
    • 13
    • security-libs
    • b23
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: