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

rmic should check arguments in remote methods

XMLWordPrintable

    • sparc
    • solaris_2.5

      rmic should check that arguments and returns are correct for remote methods.

      ok (interface extends java.rmi.Remote)
         - any remote interface is ok.

      bad (class implements java.rmi.Remote)
         - no class that implements Remote, should always be an interface that extends
           Remote. This should cover both returning the impl whether it extends
           UnicastRemoteObject or not.

      ok (Class that doesn't implement java.rmi.Remote)
         - classes passed by copy, i.e., not remote objects

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: