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

javax/management/remote/mandatory/connection/RMIConnector_NPETest.java fails after removal of RMI Activation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-svc
    • Labels:
      None

      Description

      After the removal of RMI Activation (JEP 407, https://openjdk.java.net/jeps/407), the test javax/management/remote/mandatory/connection/RMIConnector_NPETest.java fails. The messages in the log are:

      ==========

      #section:build
      ----------messages:(2/91)----------
      command: build TestLibrary RMID
      reason: User specified action: run build TestLibrary RMID
      result: Not run. Test running...

      test result: Error. can't find RMID in test directory or libraries

      ==========

      The reason is that the test creates an instance of the RMID daemon, which is part of RMI Activation, and then it connects to it. RMID was removed as part of the RMI Activation removal (and so was the RMID test library class).

      From looking at the test, it doesn't appear to depend on any functionality of RMID itself; it just needs some RMI endpoint. Is that correct? If so, the test should be adjusted to create some other RMI endpoint, possibly rmiregistry, and connect to that instead of RMID.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              smarks Stuart Marks
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: