RFR: 8026427: deprecate obsolete APIs from java.rmi

Stuart Marks stuart.marks at oracle.com
Tue Oct 22 19:53:45 UTC 2013


On 10/22/13 5:18 AM, Alan Bateman wrote:
> On 22/10/2013 03:07, Stuart Marks wrote:
>> Hi all,
>>
>> Please review this small spec change to deprecate some obsolete RMI APIs,
>> along with a bit of associated cleanup. There are no functional changes in
>> this changeset.
>>
>> Bug:
>>
>>     https://bugs.openjdk.java.net/browse/JDK-8026427
>>
>> Webrev:
>>
>>     http://cr.openjdk.java.net/~smarks/reviews/8026427/webrev.0/
> The deprecations look okay although not clear where they are on the toxicity scale.

They're not toxic, but they add unnecessary surface area and a bit of confusion.

> Just a small comment on this part of the @implNote:
>
>   "Applets run under the protection of their browser's security manager, so
> there is no need for applets to set a security manager."
>
> I'm not sure that "browser's security manager" is technically right here, it
> might be better to say something like "Applets typically run in a container that
> has a security manager set".

Yes, good point, I'll take this opportunity to reword it.

Thanks.

s'marks




More information about the core-libs-dev mailing list