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

Redundant .png files in Linux app-image cause unnecessary bloat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 17, 21, 25, 26
    • tools
    • master
    • generic
    • linux

      Same issue, like JDK-8281682, but on Linux.

      jpackage unconditionally adds launcher icons in the app image [1].

      If --icon or --linux-shortcut options are not specified, jpackage should not add .png files to the app image. They are just dead weight serving no purpose.

      [1] https://github.com/openjdk/jdk/blob/e8e2aadd9ea302b7b448d0fda9d069d3813f31c5/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxPackagingPipeline.java#L68

            asemenyuk Alexey Semenyuk
            asemenyuk Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: