On Tue, 24 Nov 2020 18:43:02 GMT, Mandy Chung <[email protected]> wrote:

> This adds API note in `Package::isSealed` javadoc to clarify package sealing 
> vs sealed class or interface.   Since it's spec clarification, CSR is not 
> strictly needed.

Marked as reviewed by alanb (Reviewer).

src/java.base/share/classes/java/lang/Package.java line 248:

> 246:      * See the {@link Package Package} class specification for details
> 247:      * how a {@code Package} is defined as sealed package.
> 248:      *

The API note and link to the section in the JAR file spec is good.

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

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

Reply via email to