Breakdown one test tomultiple test each for one method.
--------- - [X] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8382118: Refactor open/test/jdk/sun/net/www/protocol/file/DirPermissionDenied.java test Changes: https://git.openjdk.org/jdk/pull/31163/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31163&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8382118 Stats: 32 lines in 1 file changed: 5 ins; 14 del; 13 mod Patch: https://git.openjdk.org/jdk/pull/31163.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31163/head:pull/31163 PR: https://git.openjdk.org/jdk/pull/31163
