RFR: 8246778: Compiler implementation for Sealed Classes (Second Preview) [v3]

Mandy Chung mchung at openjdk.java.net
Thu Dec 3 17:26:57 UTC 2020

On Thu, 3 Dec 2020 16:07:28 GMT, Lois Foltan <lfoltan at openjdk.org> wrote:

>> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>>   Improving Class.getPermittedSubclasses to filter out permitted classes that are not a subtype of the current class, and other adjustments per the review feedback.
> I have reviewed the hotspot changes and they look good.
> Thanks,
> Lois

> After a discussion with Harold, I've reverted the patch where Class.getPermittedSubclasses returns null. Harold will do that separatelly under JDK-8256867, unless there are objections.

No objection.   Keeping `Class::getPermittedSubclasses` as specified in the CSR is right thing to do so that this work can be integrated and resolve JDK-8256867 separately.


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

More information about the compiler-dev mailing list