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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • core-libs

      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

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

              Created:
              Updated:
              Resolved: