RFR: 8253876: jdk/test/lib/hexdump/ASN1FormatterTest.java fails with "AssertionError: Lines expected [126] but found [202]"

Roger Riggs rriggs at openjdk.java.net
Fri Oct 2 17:43:43 UTC 2020


The HexPrinter test utility should be ignoring \r characters from the formatter.
It looks for \n and generates System.lineSeparator() at the end of each line.

With this fix, the ASN1FormatterTest can be removed from the ProblemList.

-------------

Commit messages:
 - 8253876: Unexpected CR on Windows and remove from problem list.

Changes: https://git.openjdk.java.net/jdk/pull/486/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=486&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253876
  Stats: 14 lines in 4 files changed: 4 ins; 3 del; 7 mod
  Patch: https://git.openjdk.java.net/jdk/pull/486.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/486/head:pull/486

PR: https://git.openjdk.java.net/jdk/pull/486


More information about the core-libs-dev mailing list