RFR: 8356057: PrintingProcessor (-Xprint) does not print type variable bounds and type annotations for Object supertypes [v3]
Jan Lahoda
jlahoda at openjdk.org
Mon May 12 11:17:37 UTC 2025
On Mon, 5 May 2025 19:59:06 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Enhancing the test with printing type variables on methods and constructors.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java line 796:
>
>> 794: return true;
>> 795: }
>> 796: return e2.getSuperclass().getKind() != TypeKind.NONE;
>
> I think it would be helpful to include some textual description of the intended semantics here including
>
> "Omit the bound is unannotated java.lang.Object."
Done:
https://github.com/openjdk/jdk/pull/25002/commits/9bb3677511b936002a22dde7401ba01ed116a2a8
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25002#discussion_r2084450498
More information about the compiler-dev
mailing list