RFR: JDK-8296287: Improve documentation for Types.directSupertypes()

Joe Darcy darcy at openjdk.org
Fri Nov 4 16:16:10 UTC 2022


On Fri, 4 Nov 2022 10:13:39 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> test/langtools/tools/javac/processing/model/util/types/TestDirectSupertypeObject.java line 48:
>> 
>>> 46:         if (!roundEnv.processingOver()) {
>>> 47:             TypeMirror objectType  = requireNonNull(eltUtils.getTypeElement("java.lang.Object")).asType();
>>> 48:             var ojectSupertypes = typeUtils.directSupertypes(objectType);
>> 
>> Nit: `objectSupertypes` -> `objectSupertypes`.
>
> _ojectSupertypes_

Thanks; will fix before pushing.

-------------

PR: https://git.openjdk.org/jdk/pull/10977


More information about the compiler-dev mailing list