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

[TESTBUG] serviceability/dcmd/compiler/CodelistTest.java fails with java.lang.ClassNotFoundException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • 9
    • 9
    • hotspot

    Description

      The test fails while call Class.forName on an anonymous class created by Unsafe.defineAnonymousClass():

      Caused by: java.lang.ClassNotFoundException: java.lang.invoke.LambdaForm$DMH/1167277235
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:288)
      at MethodIdentifierParser.getMethod(MethodIdentifierParser.java:56)
      at CodelistTest.run(CodelistTest.java:104)
      ... 30 more

      The test should ignore such classes.

      Attachments

        Issue Links

          Activity

            People

              thartmann Tobias Hartmann
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: