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

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 8
    • Component/s: 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!

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

              Created:
              Updated:
              Resolved: