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

Test AotInvokeInterface2AotTest.java failed with duplicate classes for name Lcompiler/calls/common/CallsBase;

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 11
    • hotspot

      Test compiler/aot/calls/fromAot/AotInvokeInterface2AotTest.java failed with following error:
       stdout: [Exception in thread "main" java.lang.AssertionError: duplicate classes for name Lcompiler/calls/common/CallsBase;
      at jdk.aot/jdk.tools.jaotc.AOTCompiledClass.getAOTKlassData(AOTCompiledClass.java:341)
      at jdk.aot/jdk.tools.jaotc.AOTCompiledClass.addFingerprintKlassData(AOTCompiledClass.java:371)
      at jdk.aot/jdk.tools.jaotc.CompiledMethodInfo.addDependentKlassData(CompiledMethodInfo.java:295)
      at jdk.aot/jdk.tools.jaotc.AOTCompiledClass.addAOTKlassData(AOTCompiledClass.java:360)
      at jdk.aot/jdk.tools.jaotc.DataBuilder.prepareData(DataBuilder.java:141)
      at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:188)
      at jdk.aot/jdk.tools.jaotc.Main.run(Main.java:101)
      at jdk.aot/jdk.tools.jaotc.Main.main(Main.java:80)
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:396)
      at compiler.aot.AotCompiler.main(AotCompiler.java:79)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:832)

            thartmann Tobias Hartmann
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: