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

Installed application contains unnessary app/mods folder

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      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


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                herrick Andy Herrick
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: