RFR: JDK-8300857: State return value for Types.asElement(NoType) explicitly
Pavel Rappo
prappo at openjdk.org
Tue Jan 24 10:25:05 UTC 2023
On Tue, 24 Jan 2023 05:38:36 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> Just sending out the proposed API changes for now, will add tests later.
>
> Please also review the corresponding CSR [JDK-8300951](https://bugs.openjdk.org/browse/JDK-8300951).
Thanks for doing this. It looks good. However, I'll leave it to compiler experts to formally approve the PR and review the CSR.
src/java.compiler/share/classes/javax/lang/model/util/Types.java line 58:
> 56: * <li>{@linkplain TypeKind#MODULE module pseudo-types}
> 57: * <li>{@linkplain TypeKind#NONE "none" pseudo-types}
> 58: * <li>{@linkplain TypeKind#NULL null types}
Was that extra whitespace between NULL and null intended?
-------------
PR: https://git.openjdk.org/jdk/pull/12159
More information about the compiler-dev
mailing list