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

Xlint:requires-automatic should not warn if manifest contains Automatic-Module-Name

    Details

    • Subcomponent:
    • CPU:
      x86

      Description

      A DESCRIPTION OF THE REQUEST :
      Actual behavior: The Xlint:requires-automatic warning complains when Java 9 projects depend on pre-Java9 projects, even if the latter define a "Automatic-Module-Name" value in MANIFEST.MF.

      Expected behavior: No warning should be issued for JAR files that contains "Automatic-Module-Name" value in MANIFEST.MF

      JUSTIFICATION :
      JAR files containing "Automatic-Module-Name" lack the primary danger of automatic modules: the fact that the module name may change once it adopts Java 9 (adds module-info.java).


        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: