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

TEST_BUG: RMI CheckUsage tests should be deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 5.0, 6, 7, 8
    • core-libs
    • b04

    Backports

      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

                smarks Stuart Marks
                smarks Stuart Marks
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: