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

Change VM.initializeFromArchive() to return a boolean

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 12
    • hotspot

      Currently VM.initializeFromArchive() has no return value.

        public static native void initializeFromArchive(Class<?> c);

      It might be useful to change it to return a boolean:
        True: if initialization from the archive is successful
        False: Not initialized from the archive (archived values are not mapped in the current process; there is an error during initialization from the archive; etc)

      Suggested by Claes.

            ccheung Calvin Cheung
            jiangli Jiangli Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: