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

NoClassDefFoundError when initializing Long$LongCache

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 21
    • hotspot
    • b03

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dholmes David Holmes
              enikitin Evgeny Nikitin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: