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

jdeps to detect MR jar file and output a warning

    Details

    • Resolved In Build:
      b04

      Backports

        Description

        jdeps is multi-release JAR aware (JDK-8153654). jdeps in JDK 8 does not recognize multi-release JAR. It will ignore the versioned entries. However the versioned entries may be used at runtime. It would be useful to warn the user to use JDK 9 jdeps with multi-release JAR support so that it can get a correct dependencies of a given release.

          Issue Links

            Activity

            Show
            bchristi Brent Christian added a comment - Suggested webrev: http://cr.openjdk.java.net/~bchristi/8176329/webrev.04/
            Hide
            mchung Mandy Chung added a comment -
            This patch will advise the developers to use JDK 9 jdeps. This only impacts jdeps tool and no change to the runtime. The change is low risk and very localized to check an input JAR file containing "Multi-Release" attribute in the attribute.
            Show
            mchung Mandy Chung added a comment - This patch will advise the developers to use JDK 9 jdeps. This only impacts jdeps tool and no change to the runtime. The change is low risk and very localized to check an input JAR file containing "Multi-Release" attribute in the attribute.
            Hide
            mchung Mandy Chung added a comment -
            We should also update jdk8u jdeps to show the APIs that are added in JDK 9 to replace use of JDK internal APIs, as part of the enhancement backport.
            Show
            mchung Mandy Chung added a comment - We should also update jdk8u jdeps to show the APIs that are added in JDK 9 to replace use of JDK internal APIs, as part of the enhancement backport.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/f206126308bc
            User: bchristi
            Date: 2017-04-27 23:31:21 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/f206126308bc User: bchristi Date: 2017-04-27 23:31:21 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/f206126308bc
            User: robm
            Date: 2017-05-06 12:46:01 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/f206126308bc User: robm Date: 2017-05-06 12:46:01 +0000

              People

              • Assignee:
                bchristi Brent Christian
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: