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

JVM could not be initialized when class data sharing is enabled and compressed strings are used

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        Error during JVM initialization occurred when class data sharing and compressed strings are used simultaneously:
        >java -XX:+UseCompressedStrings -Xshare:dump
        ...
        >java -XX:+UseCompressedStrings -Xshare:on -version
        Error occurred during initialization of VM
        java.lang.ExceptionInInitializerError
                at java.lang.Runtime.loadLibrary0(Runtime.java:819)
                at java.lang.System.loadLibrary(System.java:1028)
                at java.lang.System.initializeSystemClass(System.java:1086)
        Caused by: java.lang.NullPointerException
                at java.io.UnixFileSystem.<init>(UnixFileSystem.java:21)
                at java.io.FileSystem.getFileSystem(Native Method)
                at java.io.File.<clinit>(File.java:127)
                at java.lang.Runtime.loadLibrary0(Runtime.java:819)
                at java.lang.System.loadLibrary(System.java:1028)
                at java.lang.System.initializeSystemClass(System.java:1086)

        Issue introduced in jdk 6u23p-b03. It was found during jdk 6u35-b03 testing.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aeriksso Andreas Eriksson (Inactive)
                  Reporter:
                  fzhinkin Filipp Zhinkin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: