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

[TESTBUG] Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java misleading error message

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 10
    • hotspot
    • b01
    • generic
    • generic

      There are 3 possible issues here:

      - the error message shows the user explicit GC, even in cases where the test itself is run with a different implicit GC (see JDK-8194054)

      - the error message shows java exit as a signed int (ex. -1073740940), where a hex value (C0000374) might be also useful.

      - the error message should include a full output from the failed process

      All this would make the error reporting more robust and would hopefully not lead to misleading assumptions

            gziemski Gerard Ziemski
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: