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

rmic should check arguments in remote methods

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Won't Fix
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: