RFE: Comment in javax.lang.model.Source version implies non-sealed should be a keyword

Ethan McCue ethan at mccue.dev
Wed Feb 2 05:04:41 UTC 2022


New here, so apologies If I am doing the procedure wrong.

https://github.com/openjdk/jdk/blob/master/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java#L465

This comment implies that once sealed classes would be made a non-preview
feature that `non-sealed` should be added to this predicate. I think the
current behavior is correct since it's a contextual keyword, but the
comment should probably go.

If I am right and that is the case, my understanding is that I need a
sponsor in order to make a PR to delete those lines. Is that correct?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20220202/d58a1c12/attachment.htm>


More information about the compiler-dev mailing list