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

jimage extract to not an empty directory overwrites content of the directory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: tbd_minor
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      This is possibly not an issue. When we run 'jimage extract --dir' and specify not an empty directory jimage silently overwrites everything there. For better user experience it could warn a user that the directory is not empty and do nothing.

      Tested on jdk 9-ea+144.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dkononenko Denis Kononenko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: