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

tools/jar tests need to tolerate unrelated warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • tools
    • jar
    • b05

      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)

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

              Created:
              Updated:
              Resolved: