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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: