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

Copying from runtime image to application image should not follow symlinks

    XMLWordPrintable

Details

    • b22
    • generic
    • generic

    Description

      ADDITIONAL SYSTEM INFORMATION :
      Linux and Mac OS X

      A DESCRIPTION OF THE PROBLEM :
      When building an application image from an existing runtime image using the --runtime-image option, jpackage copies recursively the runtime without the option NOFOLLOW_LINKS.
      If the runtime includes additional native libraries, it's common that symbolic links are needed to accommodate version constraints (like libx.so.1 -> libx.so.1.2).
      So we end up with multiple copies of the same library in the final application package.

      Please consider adding NOFOLLOW_LINKS when copying a runtime.



      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              almatvee Alexander Matveev
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: