-
Bug
-
Resolution: Fixed
-
P4
-
5.0, 6, 7, 8
-
b04
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8313172 | 8u401 | Abhishek N | P4 | Resolved | Fixed | b01 |
There are a couple tests in the RMI test suite that simply check the usage message of the rmiregistry and rmid commands:
java/rmi/registry/checkusage/CheckUsage.java
java/rmi/activation/checkusage/CheckUsage.java
All these do is check that the usage message includes the -J option, for passing arguments to the JVM.
These tests are mostly useless and are in fact a maintenance burden. They have suffered from race conditions
in the past; see JDK-7187882 and possiblyJDK-4211054.
In addition, the tests have problems when run in a non-US locale, since the strings
they search for are localized! See this email thread:
http://mail.openjdk.java.net/pipermail/i18n-dev/2013-October/001200.html
We would be better off simply removing these tests.
java/rmi/registry/checkusage/CheckUsage.java
java/rmi/activation/checkusage/CheckUsage.java
All these do is check that the usage message includes the -J option, for passing arguments to the JVM.
These tests are mostly useless and are in fact a maintenance burden. They have suffered from race conditions
in the past; see JDK-7187882 and possibly
In addition, the tests have problems when run in a non-US locale, since the strings
they search for are localized! See this email thread:
http://mail.openjdk.java.net/pipermail/i18n-dev/2013-October/001200.html
We would be better off simply removing these tests.
- backported by
-
JDK-8313172 TEST_BUG: RMI CheckUsage tests should be deleted
- Resolved
- relates to
-
JDK-4151966 rmiregistry error message obsure; internationalize rmiregistry
- Resolved
-
JDK-4259564 rmid's usage message is incomplete and inconsistent with other tools
- Resolved