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

Improve error message in case of missing jsa shared archive

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25, 26
    • hotspot
    • None
    • generic
    • generic

      In case we use -Xshare:on with additional flags (regarding coh or coops) and we have the corresponding jsa archive not present,
      we get this message/error :

      Error occurred during initialization of VM
      Unable to use shared archive.

      Maybe the error message could be a little improved, e.g. telling what jsa file is not present or even how to generate it?
      For example

      Error occurred during initialization of VM
      Unable to use jsa shared archive, classes_nocoops_coh.jsa is not present.

            Unassigned Unassigned
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: