RFR: JDK-8293343 sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.java failed with "Agent communication error: java.io.EOFException"
Bill Huang
duke at openjdk.org
Fri Sep 9 16:18:17 UTC 2022
This task provides a fix for java.io.EOFException on RmiSslNoKeyStoreTest and RmiBootstrapTest.
The EOFException is only seen when tests are run in concurrent mode. It could be caused by a bug in prepareTestFiles() which creates a race condition that RmiBootstrapTest/RmiSslNoKeyStoreTest changes the file permissions while the other one reading the same files.
In addition, tests are failing intermittently for SocketException with agentvm mode.
-------------
Commit messages:
- Removed RmiBootstrapTest and RmiSslNoKeyStoreTest from ProblemList.
- Made tests run in othervm mode.
- Fixed prepareTestFile() to return property files in the test folder.
Changes: https://git.openjdk.org/jdk/pull/10224/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10224&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8293343
Stats: 6 lines in 4 files changed: 0 ins; 2 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/10224.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10224/head:pull/10224
PR: https://git.openjdk.org/jdk/pull/10224
More information about the serviceability-dev
mailing list