RFR: 7902638: TestResult may count lines incorrectly

Dmitry Bessonov dbessono at openjdk.java.net
Tue Apr 21 11:50:10 UTC 2020


This is the fix for https://bugs.openjdk.java.net/browse/CODETOOLS-7902638
Changed behavior to handle not only "\n" as line ending but "\r" and "\r\n" as well.
Updated regression tests that were matching the current behavior and so started to fail.

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

Commit messages:
 - 7902638: TestResult may count lines incorrectly

Changes: https://git.openjdk.java.net/jtharness/pull/1/files
 Webrev: https://webrevs.openjdk.java.net/jtharness/1/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902638
  Stats: 104 lines in 2 files changed: 85 ins; 0 del; 19 mod
  Patch: https://git.openjdk.java.net/jtharness/pull/1.diff
  Fetch: git fetch https://git.openjdk.java.net/jtharness pull/1/head:pull/1

PR: https://git.openjdk.java.net/jtharness/pull/1


More information about the jtharness-dev mailing list