RFR: 8241151: Incorrect lint warning for no definition of serialVersionUID in a record [v2]

PROgrm_JARvis github.com+7693005+JarvisCraft at openjdk.java.net
Tue Sep 29 00:08:04 UTC 2020


On Mon, 28 Sep 2020 21:00:08 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> Co-authored-by: Bernard Blaser <bsrbnd at gmail.com>
>> Co-authored-by: Vicente Romero <vicente.romero at oracle.com>
>
> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
> 
>   adding bug number to test and updating code as per review comments

test/langtools/tools/javac/records/RecordCompilationTests.java line 151:

> 149:
> 150:     public RecordCompilationTests() {
> 151:         useAP = System.getProperty("useAP", "false").equals("true");

Can't `Boolean.getBoolean("useAP")` be used here instead?

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

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


More information about the compiler-dev mailing list