RFR(s): 8044626 & 8165649 RMI spec changes for modularization

Alan Bateman Alan.Bateman at oracle.com
Wed Feb 1 08:33:17 UTC 2017


On 01/02/2017 00:22, Stuart Marks wrote:

>
> +    *
> +    * <ul><li>If the class to be activated and the special activation 
> contructor are both public,
> +    * the class must reside in a package that is exported or open to the
> +    * {@code java.rmi} module.
I think it would be better to just say "exported" rather than "exported 
or open" and have it link to Module#isExported(String,Module).


> +    *
> +    * <li>If either the class to be activated or the special 
> activation constructor
> +    * is non-public, the class must reside in a package that is open 
> to the
> +    * {@code java.rmi} module.
> +    * </ul>
and for completeness, have "open" link to Module#isOpen(String,Module).

Otherwise looks good to me.

-Alan


More information about the core-libs-dev mailing list