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

TestFloatsOnStackDeopt.java throws java.lang.LinkageError: loader <bootstrap> attempted duplicate class definition for java.lang.invoke.BoundMethodHandle$Species_LLL

    Details

    • Subcomponent:
    • Resolved In Build:
      b15
    • CPU:
      x86_64

      Backports

        Description

        Test: compiler/runtime/TestFloatsOnStackDeopt.java

        #section:main
        ----------messages:(4/376)----------
        command: main -XX:+DeoptimizeALot -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions compiler.runtime.TestFloatsOnStackDeopt
        reason: User specified action: run main/othervm -XX:+DeoptimizeALot -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions compiler.runtime.TestFloatsOnStackDeopt
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 0.718
        ----------configuration:(0/0)----------
        ----------System.out:(0/0)----------
        ----------System.err:(23/2071)----------
        PASSED
        java.lang.LinkageError: loader <bootstrap> attempted duplicate class definition for java.lang.invoke.BoundMethodHandle$Species_LLL.
        at java.base/jdk.internal.misc.Unsafe.defineClass0(Native Method)
        at java.base/jdk.internal.misc.Unsafe.defineClass(Unsafe.java:1192)
        at java.base/java.lang.invoke.ClassSpecializer$Factory.generateConcreteSpeciesCode(ClassSpecializer.java:593)
        at java.base/java.lang.invoke.ClassSpecializer$Factory.loadSpecies(ClassSpecializer.java:490)
        at java.base/java.lang.invoke.ClassSpecializer.findSpecies(ClassSpecializer.java:194)
        at java.base/java.lang.invoke.BoundMethodHandle$SpeciesData.extendWith(BoundMethodHandle.java:352)
        at java.base/java.lang.invoke.LambdaFormEditor.newSpeciesData(LambdaFormEditor.java:388)
        at java.base/java.lang.invoke.LambdaFormEditor.makeArgumentCombinationForm(LambdaFormEditor.java:721)
        at java.base/java.lang.invoke.LambdaFormEditor.foldArgumentsForm(LambdaFormEditor.java:844)
        at java.base/java.lang.invoke.MethodHandles.foldArguments(MethodHandles.java:4315)
        at java.base/java.lang.invoke.StringConcatFactory$MethodHandleInlineCopyStrategy.generate(StringConcatFactory.java:1548)
        at java.base/java.lang.invoke.StringConcatFactory.generate(StringConcatFactory.java:756)
        at java.base/java.lang.invoke.StringConcatFactory.doStringConcat(StringConcatFactory.java:665)
        at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:581)
        at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:99)
        at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:307)
        at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:258)
        at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:248)
        at compiler.runtime.TestFloatsOnStackDeopt$1.run(TestFloatsOnStackDeopt.java:59)
        STATUS:Passed.
        STATUS:Failed.`main' threw exception: java.lang.LinkageError: loader <bootstrap> attempted duplicate class definition for java.lang.invoke.BoundMethodHandle$Species_LLL.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bulasevich Boris Ulasevich
                  Reporter:
                  skonchad Sandeep Konchady
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: