RFR: 8267887: RMIConnector_NPETest.java fails after removal of RMI Activation (JDK-8267123)
Kevin Walls
kevinw at openjdk.org
Fri Jul 5 14:27:22 UTC 2024
The test test/jdk/javax/management/remote/mandatory/connection/RMIConnector_NPETest.java should be removed.
This test was added when 6984520 was fixed in 6u25. It has been problemlisted since JDK-8267123 removed RMI Activation (it does not use RMI Activation, it just wanted something "RMI" to connect with).
Looking at the change it tested, the code is no longer the same, and is no longer at risk of this NPE.
The original NPE fix was to check that jxmServerviceURL was not null before calling methods on it, but the current RMIConnector.java does not make those same calls.
It is best to remove the test and its problemlist entry.
-------------
Commit messages:
- 8267887: RMIConnector_NPETest.java fails after removal of RMI Activation (JDK-8267123)
Changes: https://git.openjdk.org/jdk/pull/20054/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20054&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8267887
Stats: 79 lines in 2 files changed: 0 ins; 79 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/20054.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20054/head:pull/20054
PR: https://git.openjdk.org/jdk/pull/20054
More information about the serviceability-dev
mailing list