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

jpackage includes unnessary jar files in Java/mods

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      A DESCRIPTION OF THE PROBLEM :
      After running jpackage, the application image contains a Java/mods directory, which includes separate jar files and the merged module file. However, all these jars are already merged inside the "modules" file residing in the libs directory of the runtime image produced by jlink. In fact, the application continious to work if the Java/mods folder is deleted.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run jpackage on a modularized application

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No unnecessary files in Java/mods folder

      FREQUENCY : always


        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: