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

TestOptionsWithRanges test only ever uses the default collector

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 9
    • 9
    • hotspot
    • None
    • b109

    Description

      The test in runtime/CommandLine/OptionsValidation/TestOptionsWithRanges checks ranges of command line options. It ever only does so with the default collector, ignoring any collectors set on the command line.

      This is problematic, because this means that functionality that is only implemented for collectors other than the default collector is never even tested. Bugs like JDK-8144573 that are only found by accident with the current scheme, and show that this leads to a highly reduced test coverage.

      Attachments

        Issue Links

          Activity

            People

              ddmitriev Dmitry Dmitriev
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: