rmic produces bad code if remote interface implemented twice in class hierarchy

XMLWordPrintable

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

      If a remote interface is implemented by more than one class in a class hierarchy from which stubs/skeletons are generated, rmic will produce illegal java code. Here is an example:

      interface Echo extends java.rmi.Remote { ... }
      class EchoImpl extends java.rmi.server.UnicastRemoteObject implements Echo {...}
      class SubEchoImpl extends EchoImpl implements Echo { ... }

      rmic will generated illegal java code for SubEchoImpl. The resulting stub code will implement the interface Echo twice for the same class.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: