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

[MVT] ValueTypeHolder::unreflectWithers fails with ClassFormatError: Illegal method name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: core-libs
    • Labels:

      Description

      Caused by: java.lang.IllegalStateException: java.lang.ClassFormatError: Illegal method name "compiler.valhalla.valuetypes.ValueCapableClass2_unreflectWithers" in class compiler/valhalla/valuetypes/ValueCapableClass2_unreflectWithers
      at java.base/jdk.experimental.value.MethodHandleBuilder.loadCode(MethodHandleBuilder.java:104)
      at java.base/jdk.experimental.value.MethodHandleBuilder.loadCode(MethodHandleBuilder.java:71)
      at java.base/jdk.experimental.value.MethodHandleBuilder.loadCode(MethodHandleBuilder.java:67)
      at java.base/valhalla.shady.ValueTypeHolder.getOrLoad(ValueTypeHolder.java:499)
      at java.base/valhalla.shady.ValueTypeHolder.unreflectWithers(ValueTypeHolder.java:357)
      at jdk.incubator.mvt/jdk.incubator.mvt.ValueType.unreflectWithers(ValueType.java:152)
      at compiler.valhalla.valuetypes.ValueCapableClass2.<clinit>(ValueCapableClass2.java:45)
      ... 7 more

        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: