git: openjdk/jdk: 8300857: State return value for Types.asElement(NoType) explicitly

Joe Darcy darcy at openjdk.org
Thu Jan 26 02:16:02 UTC 2023


Changeset: b5a4744f
Author:    Joe Darcy <darcy at openjdk.org>
Date:      2023-01-26 02:14:07 +0000
URL:       https://git.openjdk.org/jdk/commit/b5a4744f9019f76664738029f13b4d4f651d20d6

8300857: State return value for Types.asElement(NoType) explicitly

Reviewed-by: jjg

! src/java.compiler/share/classes/javax/lang/model/util/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacTypes.java
+ test/langtools/tools/javac/processing/model/util/types/TestAsElement.java



More information about the jdk-changes mailing list