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

[testbug] Fix pattern matching in jstat tests.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: tools
    • Labels:
      None
    • Resolved In Build:
      b19

      Backports

        Description

        gcCauseOutput1.awk:
        The pattern scans 11 numbers, while the output contains 13. Also, more '-' are possible then checked.

        The other awk scripts need to check more patterns where '-' can appear.

        We have a machine with user.country=de where jstat prints ',' instead of '.' in numbers. Explicitly
        start with user.country=en as already done for user.language=en.

        Refactor the common flags to a variable in utils.sh.



          Attachments

            Issue Links

              Activity

                People

                Assignee:
                goetz Goetz Lindenmaier
                Reporter:
                goetz Goetz Lindenmaier
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: