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

tools/jar tests need to tolerate unrelated warnings

    XMLWordPrintable

    Details

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

      Description

      Discovered during JDK 11 version update testing when VM obsoletion warnings are enabled.

      tools/jar/LeadingGarbage.java
      tools/jar/modularJar/Basic.java
      tools/jar/multiRelease/ApiValidatorTest.java
      tools/jar/multiRelease/Basic.java

      E.g.

      test LeadingGarbage.test_canExtract(): failure
      java.lang.RuntimeException: '\\A\\Z' missing from stderr

      at jdk.testlibrary.OutputAnalyzer.stderrShouldMatch(OutputAnalyzer.java:260)
      at LeadingGarbage.createNormalZip(LeadingGarbage.java:82)
      at LeadingGarbage.test_canExtract(LeadingGarbage.java:119)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sherman Xueming Shen
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: