Refactor java/lang/invoke tests to use JUnit instead of TestNG.
This is done by:
1. First a round of automatic conversion
2. Simplify exception handling tests
3. Replacing `assert` keyword and switching to better assertion APIs for 
equality etc.
4. Some other random cleanups, such as module status

Testing: java/lang/invoke on Linux-x64. I un-problemlisted the updated 
`java/lang/invoke/lambda/LambdaFileEncodingSerialization.java` too.

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

Commit messages:
 - Whitespace
 - Merge branch 'master' of https://github.com/openjdk/jdk into 
cleanup/invoke-junit
 - invoke move away from testng

Changes: https://git.openjdk.org/jdk/pull/28879/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28879&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373935
  Stats: 6251 lines in 127 files changed: 634 ins; 865 del; 4752 mod
  Patch: https://git.openjdk.org/jdk/pull/28879.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28879/head:pull/28879

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

Reply via email to