This PR proposes to improve the performance of the `TestSegmentOffset`  by 
removing throwing exceptions (which is slow under certain configurations). 
Furthermore, the PR proposes to convert the test framework from testng to junit.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Improve TestSegmentOffset and convert to junit

Changes: https://git.openjdk.org/jdk/pull/30833/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30833&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8378901
  Stats: 26 lines in 1 file changed: 7 ins; 2 del; 17 mod
  Patch: https://git.openjdk.org/jdk/pull/30833.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30833/head:pull/30833

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

Reply via email to