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

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

XMLWordPrintable

    • 1.1beta3
    • sparc
    • solaris_2.5
    • Not verified

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: