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

XMLWordPrintable

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

      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)

            Assignee:
            Igor Veresov
            Reporter:
            Vaibhav Choudhary (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: