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

rmic reports misleading error message for objects that don't implement Remote

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1beta3
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description

      The errors reported when an object does not implement an interface that implements java.rmi.Remote are misleading, e.g:

      error: Stubs are only needed for classes that implement RemoteObject interfaces;
      Class example.stock.StockServer does not, remote invocation is supported by
      the stubs for class java.rmi.server.RemoteObject.

      "RemoteObject interfaces" should be "the interface java.rmi.Remote". Also the error should not report java.rmi.server.RemoteObject as supporting remote invocation because it does not. There are other messages in this same category that also need to be fixed.

        Attachments

          Activity

            People

            Assignee:
            awollratsunw Ann Wollrath (Inactive)
            Reporter:
            awollratsunw Ann Wollrath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: