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

tools/jar tests need to tolerate unrelated warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 11
    • 11
    • tools
    • jar
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: