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

The error handling for -X options should be improved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • hs17
    • hotspot
    • None
    • x86
    • generic

      The option parser does not report about errors for some incorrect options. It just silently skip them.
      Here are examples:
      java -Xcomp-Xms100G
         ^^^ both options are ignored

      java -Xcomprgerger
      ^^^ no errors is reported, -Xcomp is off

      Such behaviour could cuase unevident problems especiallly when jvm is launched from some scripts.

            Unassigned Unassigned
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: