Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8027810

TEST_BUG: RMI CheckUsage tests should be deleted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0, 6, 7, 8
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b04

      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 possibly JDK-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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smarks Stuart Marks
                Reporter:
                smarks Stuart Marks
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: