<AWT Dev> RFR: JDK-8189198: Add "forRemoval = true" to Applet APIs [v3]

Sergey Bylokhov serb at openjdk.java.net
Fri Nov 13 23:29:59 UTC 2020


On Fri, 13 Nov 2020 18:20:37 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Andy Herrick has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   JDK-8189198: Add "forRemoval = true" to Applet APIs
>
> src/java.desktop/share/classes/java/applet/package-info.java line 40:
> 
>> 38:  * <p>
>> 39:  * Deprecated.
>> 40:  * This package has been deprecated and may be removed in a future version of the Java Platform.
> 
> That should be `@deprecated This package ...`. See [java/rmi/activation/package-info.java#L41](https://github.com/openjdk/jdk/blob/master/src/java.rmi/share/classes/java/rmi/activation/package-info.java#L41).

The deprecation description should point to the new API which might be used instead of the deprecated ones. So the text "deprecated without replacement" was intentionally added, it will be good to preserve it.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1127


More information about the awt-dev mailing list