RFR: 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields [v25]

Joe Darcy darcy at openjdk.java.net
Thu Oct 21 01:14:11 UTC 2021


On Wed, 20 Oct 2021 12:30:33 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 80 commits:
>> 
>>  - Merge branch 'master' into JDK-8202056
>>  - Do not warn for prence of serialVersionUID in interfaces.
>>  - Sharpen type of method parameters to javac type.
>>  - Merge branch 'master' into JDK-8202056
>>  - Add support for warning on component type of an array.
>>  - Merge branch 'master' into JDK-8202056
>>  - Merge branch 'master' into JDK-8202056
>>  - Merge branch 'master' into JDK-8202056
>>  - Initial library updates for array component type check.
>>  - Improve declared types to remove cast.
>>  - ... and 70 more: https://git.openjdk.java.net/jdk/compare/c24fb852...4750141d
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java line 32:
> 
>> 30: 
>> 31: import javax.lang.model.element.ElementKind;
>> 32: import javax.lang.model.element.Element;
> 
> Nit: these new imports are probably unused.

Cleaned up imports in subsequent push; thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/5709


More information about the compiler-dev mailing list