Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: jtreg5.1
    • Component/s: tools
    • Labels:
      None

      Description

      In JDK-8238932 it was noted that one of the test groups was incorrectly defined:

      tier1_gc_1 = \
        :gc_epsilon \
        gc/g1/ \
        -gc/g1/ihop/TestIHOPErgo.java
        -gc/g1/TestTimelyCompaction.java

      Note specifically that there's a missing backslash on the second to last line. This means the last line will effectively define a test group with a rather interesting name ("-gc/g1/TestTimelyCompaction.java").

      It would be good to investigate what can be done to improve jtreg to catch this type of error. For example, perhaps it's possible to validate the test group names to check that they don't contain unexpected characters ('-', '/', etc.)?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjg Jonathan Gibbons
                Reporter:
                mikael Mikael Vidstedt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: