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

Jar -p and -m doesn't detect conflicting Profile attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 8
    • tools
    • jar
    • 8


      If both -m and -p are specified, the profile name given on the command-line silently overwrite a Profile attribute in the provided manifest. This might be by design, but it's inconsistent with how the
      -e and -m options combine, to produce the following error:

      'e' flag and manifest with the 'Main-Class' attribute cannot be specified
      together!

            alanb Alan Bateman
            strarup Peter Jensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: