RFR: 8339735: Remove references to Applet in core-libs/security APIs

Alan Bateman alanb at openjdk.org
Wed Sep 18 06:56:07 UTC 2024


On Tue, 17 Sep 2024 23:14:16 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this PR which removes occurrences of 'applet' within the corelibs specification. Applet has been deprecated since JDK9, and may be a confusing term for new Java developers, so it should be removed from the documentation.
> 
> Primarily, usages where 'applet' is used interchangeably with 'application' are removed.
> This change does not include removal of usages in a historical sense. For example, something such as 
> 
> 
>  * @apiNote
>  * Thread groups provided a way in early Java releases to group threads and provide
>  * a form of <i>job control</i> for threads. Thread groups supported the isolation
>  * of applets and defined methods intended for diagnostic purposes. It should be
>  * rare for new applications to create ThreadGroups and interact with this API.
> 
> 
> in _src/java.base/share/classes/java/lang/ThreadGroup.java_. 
> Please see the JBS issue comments for further reasoning on why other occurrences were not removed.

src/java.base/share/classes/java/nio/charset/spi/CharsetProvider.java line 39:

> 37:  * implementation classes.  Charset providers may be installed in an instance
> 38:  * of the Java platform as extensions.  Providers may also be made available by
> 39:  * adding them to the application class path or by some other

They can also be deployed on the application module path, maybe need a separate JBS issue to clarify that part of the spec, and add a test.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21046#discussion_r1764498846


More information about the core-libs-dev mailing list