RFR: 8256867: Classes with empty PermittedSubclasses attribute cannot be extended [v2]
Harold Seigel
hseigel at openjdk.java.net
Tue Dec 8 14:53:13 UTC 2020
On Tue, 8 Dec 2020 14:37:52 GMT, Chris Hegarty <chegar at openjdk.org> wrote:
>> Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8256867: Classes with empty PermittedSubclasses attribute cannot be extended
>
> src/java.base/share/classes/java/lang/Class.java line 4399:
>
>> 4397: * that is {@link #isSealed()} returns {@code false}, then this method returns {@code null}.
>> 4398: * Conversely, if {@link #isSealed()} returns {@code true}, then this method
>> 4399: * returns a non-null value."
>
> Trivially, the trailing quote can be removed.
Thanks Chris! I'll remove the trailing quote.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1675
More information about the core-libs-dev
mailing list