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

Improve error message in case of missing jsa shared archive

XMLWordPrintable

    • b16
    • 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.

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

                Created:
                Updated:
                Resolved: