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

Hotspot16 reports LinkError, but Hotspot8 is normal

XMLWordPrintable

    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      Microsoft Windows 10 Professional
      10.0.19044 Build 19044
      AMD Ryzen 5 5600G with Radeon Graphics 3.90 GHz
      Memory 32 GB

      openjdk version "1.8.0_345"
      OpenJDK Runtime Environment (Temurin)(build 1.8.0_345-b01)
      OpenJDK 64-Bit Server VM (Temurin)(build 25.345-b01, mixed mode)

      openjdk version "16.0.2" 2021-07-20
      OpenJDK Runtime Environment Temurin-16.0.2+7 (build 16.0.2+7)
      OpenJDK 64-Bit Server VM Temurin-16.0.2+7 (build 16.0.2+7, mixed mode, sharing)

      A DESCRIPTION OF THE PROBLEM :
      Using compiler.calls.common.InvokeDynamicPatcher in our submitted test case, Hotspot16 reports LinkError, but Hotspot8 is normal when executing the test case.

      我们已经把相关的内容上传到谷歌云盘,请通过下面的URL查看(https://drive.google.com/file/d/17HRHXsduiVI6vWOGY3nSBco8h_rTBT32/view?usp=sharing

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      java -cp . compiler.calls.common.InvokeDynamicPatcher


      ACTUAL -
      java.lang.IllegalAccessError: superclass access check failed: class compiler.calls.common.InvokeDynamicPatcher (in unnamed module @0x7a81197d) cannot access class jdk.internal.org.objectweb.asm.ClassVisitor (in module java.base) because module java.base does not export jdk.internal.org.objectweb.asm to unnamed module @0x7a81197d

            sswsharm swati sharma (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: