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

Need errno info when CDS archive creation fails

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b52

      Backports

        Description

        When creation of the CDS archive fails in FileMapInfo::open_for_write(), the error message just says "Unable to create shared archive file <archive-file>".

        It would be helpful to add the errno reason for the failure, like is done in FileMapInfo::open_for_read().

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                hseigel Harold Seigel
                Reporter:
                hseigel Harold Seigel
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: