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

java/lang/invoke/MethodTypeSecurityManager.java fails with "should never leak JDK internal class" in case AOTClassLinking enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • internal
    • repo-leyden
    • hotspot

      java/lang/invoke/MethodTypeSecurityManager.java fails with "should never leak JDK internal class" when running with AOT cache built with AOTClassLinking enabled.


      Steps to reproduce:
      > TESTED_JAVA/bin/java -XX:AOTMode=create -XX:AOTConfiguration=TESTED_JAVA/lib/classlist -XX:+AOTClassLinking -XX:AOTCache=app.aot

      > jib.sh make -- run-test TEST="java/lang/invoke/MethodTypeSecurityManager.java"
        TEST_VM_OPTS="-XX:AOTCache=FULL_PATH/app.aot"
       
      No issue in case AOTClassLinking is disabled during the cache creation.

            iklam Ioi Lam
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: