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

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

    XMLWordPrintable

    Details

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

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

                Dates

                Created:
                Updated:
                Resolved: