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

Hotspot-11 and 17 report Verifyerrors, but Hotspot-8 runs normally

XMLWordPrintable

    • x86_64
    • linux_ubuntu

      ADDITIONAL SYSTEM INFORMATION :
      Linun Ubuntu 20.04

      openjdk version "1.8.0_402"
      OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
      OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

      openjdk version "11.0.22" 2024-01-16
      OpenJDK Runtime Environment Temurin-11.0.22+7 (build 11.0.22+7)
      OpenJDK 64-Bit Server VM Temurin-11.0.22+7 (build 11.0.22+7, mixed mode)

      openjdk version "17.0.10" 2024-01-16
      OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7)
      OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing)

      A DESCRIPTION OF THE PROBLEM :
      This test case we submitted was not analyzed and simplified because the difference would disappear when we use tools to modify test case. The main behavior of the test case is that Hotspot-8 reports NoClassDefFoundError, but Hotspot-11 and 17 report VerifyError. To further determine which version of the issue is, we further execute this test case with OpenJ9 and find that OpenJ9 reports NoClassDefFoundError. So we believe that it is Hotspot-11 and 17 that have problems in the verification phase.

      Reproducer is attached as .class files.

      REGRESSION : Last worked in version 11.0.22

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      java11/bin/java ar.com.fdvs.dj.test.TestRepositoryProducts

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      NoClassDefFoundError
      ACTUAL -
      VerifyError

      FREQUENCY : always


            dholmes David Holmes
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: