RFR: 8356057: PrintingProcessor (-Xprint) does not print type variable bounds and type annotations for Object supertypes [v2]

Jan Lahoda jlahoda at openjdk.org
Mon May 5 15:02:34 UTC 2025


On Fri, 2 May 2025 19:49:58 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Reflecting review feedback: using isImportantType instead of isUnimportantObjectType.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java line 536:
> 
>> 534:                     tpe.getBounds()
>> 535:                        .stream()
>> 536:                        .filter(type -> !isUnimportantObjectType(type))
> 
> Perhaps the changes would be easier to ready if the method as "isImportantObjectType()"?

Thanks, done under:
https://github.com/openjdk/jdk/pull/25002/commits/e78e88a6a3f0967d12f3f19a989f5e8e033eb724

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25002#discussion_r2073621768


More information about the compiler-dev mailing list