RFR: 8357653: Inner classes of type parameters emitted as raw types in signatures [v15]

Aggelos Biboudis abimpoudis at openjdk.org
Fri Jul 11 13:39:59 UTC 2025


On Fri, 11 Jul 2025 13:25:07 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add examples
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java line 2287:
> 
>> 2285:     /// previous type in the sequence.
>> 2286:     ///
>> 2287:     /// Example: The type application `B<?>` is implicitly qualified and the
> 
> I love this examples additions, some nit comments:
> 
> - there is no B<?> in the example below, I guess it is missing?
> - there is a repetition: to discover to discover

Yeap, either `B` or `B<?>` demonstrate the same behavior (in different areas of the code). But for the sake of the example a simple type expression `B` is ok. Thanks for catching it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25451#discussion_r2200773039


More information about the compiler-dev mailing list