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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: