RFR: 8319651: Several network tests ignore vm flags when start java process
Darragh Clarke
dclarke at openjdk.org
Fri Feb 9 11:43:22 UTC 2024
Currently these tests ignore vm flags, In most cases I've updated them to use `ProcessTools.createTestJavaProcessBuilder` this usually required some cleanup also.
`test/jdk/java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java` and `test/jdk/java/net/URLConnection/6212146/TestDriver.java` have been set to use `@require vm.flagless` because they both use `sh` commands.
I've ran these changes against tiers 1-3 and everything seems stable
-------------
Commit messages:
- merge master into branch
- fixed library use and copyright
- merge master into branch
- update tests to use process tools or ignore flags
Changes: https://git.openjdk.org/jdk/pull/17787/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17787&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8319651
Stats: 122 lines in 14 files changed: 27 ins; 35 del; 60 mod
Patch: https://git.openjdk.org/jdk/pull/17787.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17787/head:pull/17787
PR: https://git.openjdk.org/jdk/pull/17787
More information about the security-dev
mailing list