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

Installed application contains unnessary app/mods folder

XMLWordPrintable

    • x86_64
    • windows_10

      A DESCRIPTION OF THE PROBLEM :
      The installed application (using `jpackage` for a modularized app) has a folder `app/mods` containing a bunch of jar files and the merged module jar file. These should be obsolete as the code in already included in the `runtime/lib/modules` file. Indeed, the application runs fine if `mods` is deleted or renamed.

      Thus, the `mods` folder bloats the distributed installer as well as the installed application by unnessary files.

      This issue is also discussed here: https://github.com/beryx/badass-jlink-plugin/issues/51

      REGRESSION : Last worked in version 14

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Create modularized application
      2. Create installer using `jpackage`
      3. Install

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No `app/mods` folder containing unnessary files.

      FREQUENCY : always


            herrick Andy Herrick (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: