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

command-line processing of -Xfoo options is too lax

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: hs17, 1.2.2
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic

      Description

      HotSpot ignores extra characters (junk) at the end of -X command-line options that do not expect an argument (or 'tail'). For example, -Xcomp, -Xcompileeverything, -Xcompletelyignoredtheextrajunk are all treated the same as -Xcomp. This caused real-world confusion when someone tried to use the option -Xcompressedrefs.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jcoomes John Coomes
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: