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

rmic doesn't generate methods for interfaces of extended implementations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1
    • 1.1
    • core-libs
    • 1.1
    • sparc
    • solaris_2.4
    • Not verified

      The rmic stub compiler doesn't generate correct code in the case where
      one remote implementation extends another remote implementation.
      The remote methods from the extended class do not appear in the stub.

      The program below show this problem. It assumes the javaTest harness
      is available and that stubs have been generated by running rmic, i.e.

      % javac -d . ImplExtendsImpl.java
      % rmic -d . tests.api.java.rmi.rmic.Bimpl
      % java tests.api.java.rmi.rmic.ImplExtendsImpl

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: