RFR 15 (S): 8245068: Implement Deprecation of RMI Activation

Stuart Marks stuart.marks at oracle.com
Thu May 28 20:05:33 UTC 2020


On 5/28/20 12:13 PM, Lance Andersen wrote:
> Thinking about:
>
> ---------
> @deprecated The RMI Activation mechanism has been deprecated, and it may
> + * be removed from a future version.
> ————
>
> Perhaps it might be a bit clearer to say “… from a future Java SE version”?  I 
> realize that is different from what is at: 
> https://docs.oracle.com/en/java/javase/14/docs/api/java.base/java/lang/Compiler.html, 
> but I thought it makes it clearer as to what “version” is referring to.
>
> Though that being said,  and now looking back at what I did for the CORBA and 
> Java EE module removal, I used the same wording as you are proposing,  so all 
> good… :-)

Yeah, it does seem like it's missing a noun, doesn't it? Using "Java SE" could 
work, but I note that Mark R edited the JEP 385 text and changed the places 
where I had written "Java SE" to "the Java Platform", so I think I'll run with 
that wording.

Thanks for reviewing the CSR and the release note.

s'marks

>
>>
>> I've also drafted a CSR request and a release note. Please review:
>>
>> CSR:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8245860
>
> I think the CSR is fine.  I might suggest adding a comment to justify “low” 
> for the compatibility impact for the JCK folks.
>
> I added myself as a reviewer.
>>
>> Release Note:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8246021
>
> Looks fine.
>
> Best,
>
>  Lance
>>
>> Thanks,
>>
>> s'marks
>>
>>
>> On 5/26/20 12:35 PM, Stuart Marks wrote:
>>> Hi all,
>>> Here's the implementation of the recently-posted JEP 385, deprecation of RMI 
>>> Activation for removal.
>>> I'm listing this as S ("small") since conceptually it's fairly small, though 
>>> there are rather a large number of files changed. Essentially the changes are:
>>>  - java.rmi.activation package spec: add deprecation warning
>>>  - java.rmi module spec: link to activation package spec
>>>  - java.rmi.activation public classes and interfaces: deprecate
>>>  - various other files: suppress warnings
>>>  - Activation.java: have the rmid tool emit a deprecation warning
>>>  - rmid.properties: localized warning message
>>> Webrev:
>>> http://cr.openjdk.java.net/~smarks/reviews/8245068/webrev.0/
>>> Bug ID:
>>> https://bugs.openjdk.java.net/browse/JDK-8245068
>>> JEP:
>>> http://openjdk.java.net/jeps/385
>>> Thanks,
>>> s'marks
>
> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
> <http://oracle.com/us/design/oracle-email-sig-198324.gif><http://oracle.com/us/design/oracle-email-sig-198324.gif>
> <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| 
> Principal Member of Technical Staff | +1.781.442.2037
> Oracle Java Engineering
> 1 Network Drive
> Burlington, MA 01803
> Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
>
>
>


More information about the core-libs-dev mailing list