Details
Description
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.
Attachments
Issue Links
- 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
-