RFR: 8256993: Clarify Package::isSealed javadoc about package sealing vs sealed class or interface
Alan Bateman
alanb at openjdk.java.net
Tue Nov 24 19:10:57 UTC 2020
On Tue, 24 Nov 2020 18:43:02 GMT, Mandy Chung <mchung at openjdk.org> 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
More information about the core-libs-dev
mailing list