Convert and tidy-up unit tests in test/jaxp/javax/xml/jaxp/unittest/stream.

It is recommended to set the diff settings in github to hide whitespace 
(cog-wheel menu).

There are a lot of cases where manual catch blocks with explicit fail are 
removed to just allow the test to fail idiomatically by throwing the exception 
normally. This causes thousands of lines to be un-indented (with no other 
change).

There are also several non-trivial changes in this PR related to badly written 
tests where, for example, catching and ignoring exceptions allows the test to 
pass under all situations.

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

Commit messages:
 - pre-review tidying
 - Convert to JUnit

Changes: https://git.openjdk.org/jdk/pull/30643/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30643&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8381882
  Stats: 5002 lines in 86 files changed: 386 ins; 2050 del; 2566 mod
  Patch: https://git.openjdk.org/jdk/pull/30643.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30643/head:pull/30643

PR: https://git.openjdk.org/jdk/pull/30643

Reply via email to