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

[AOT] Issue with static initializer - java.lang.NoClassDefFoundError: Could not initialize class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 10, 11, 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:

      Description

      Test Suite : JCK
      Test Case: lang/EXCP/excp013/excp01304/excp01304_rt
      (Added standalone test in comment section)

      Expected Behavior : Test should pass and print nothing
      Actual Behavior: Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class ClassStatVar
      at excp01304.run(excp01304.java:31)
      at excp01304.main(excp01304.java:21)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iveresov Igor Veresov
                Reporter:
                vaibhav Vaibhav Choudhary
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: