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

jar validation should validate the Automatic-Module-Name manifest entry

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
      jar

      Description

      Some jar files on maven central contain illegal Automatic-Module-Name entries in their manifests: https://github.com/sormuras/modules/tree/main/doc/suspicious

      Jar validation could validate that the Automatic-Module-Name in a jar manifest is a legal name, according to the specification: https://docs.oracle.com/javase/specs/jls/se17/html/jls-7.html#jls-7.7

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: