NoClassDefFoundError when initializing Long$LongCache

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 21
    • Component/s: hotspot
    • b03

      Please excuse for the messy fuzzy test (attached).

      java.lang.NoClassDefFoundError: Could not initialize class java.lang.Long$LongCache
              at java.base/java.lang.Long.valueOf(Long.java:1202)
              at a.<init>(Test_545.java:10)
              at Test_545.j(Test_545.java:31)
              at Test_545.main(Test_545.java:24)

      A repetition of the JDK-8048190? I can see no obvious reason to fail here. Or a clearly expressed one.

            Assignee:
            David Holmes
            Reporter:
            Evgeny Nikitin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: