Details: Refactored code as requested in the Bug description. Tested and verified the test passes.
------------- Commit messages: - 8351884: Refactor bug8033699.java test code - 8351884: Refactor bug8033699.java test code Changes: https://git.openjdk.org/jdk/pull/24384/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24384&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8351884 Stats: 68 lines in 1 file changed: 31 ins; 3 del; 34 mod Patch: https://git.openjdk.org/jdk/pull/24384.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24384/head:pull/24384 PR: https://git.openjdk.org/jdk/pull/24384