RFR: 8300591: @SuppressWarnings option "lossy-conversions" missing from jdk.compiler module javadoc [v2]

Joe Darcy darcy at openjdk.org
Fri Jan 20 18:30:29 UTC 2023


On Fri, 20 Jan 2023 17:12:48 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> Hi,
>> @SuppressWarnings option "lossy-conversions" has been added to JDK 20 (see JDK-8286377), however the option description is missing in jdk.compiler module javadoc and javac man page.
>> This patch add missing javadoc decription to jdk.compiler module-info.java
>> 
>> Please review.
>> 
>> Thanks,
>> Adam
>
> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
> 
>   manpage update

Marked as reviewed by darcy (Reviewer).

src/jdk.compiler/share/classes/module-info.java line 165:

> 163:  *                                                      the next
> 164:  * <tr><th scope="row">{@code finally}              <td>{@code finally} clauses that do not terminate normally
> 165:  * <tr><th scope="row">{@code lossy-conversions}    <td>possible lossy conversions in compound assignment

In the table where there is more room to accommodate text, perhaps a longer description mentioning primitive types could be used.

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

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


More information about the compiler-dev mailing list