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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: