RFR: 8254274: Development to add 'lint' warning for @ValueBased classes

Remi Forax forax at univ-mlv.fr
Mon Oct 26 15:53:52 UTC 2020


----- Mail original -----
> De: "Srikanth Adayapalam" <sadayapalam at openjdk.java.net>
> À: "valhalla-dev" <valhalla-dev at openjdk.java.net>
> Envoyé: Lundi 26 Octobre 2020 12:11:23
> Objet: Re: RFR: 8254274: Development to add 'lint' warning for @ValueBased classes

> On Mon, 26 Oct 2020 11:01:59 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org>
> wrote:
> 
>> New javac lint mode (-Xlint:synchronize) to warn about client side as well JDK
>> internal attempts to synchronize on instances of value based classes
> 
> A few questions for reviewers:
> 
> (1) Do we want the lint mode to be on my default ? Presently it is off and has
> to be expressly opted into.

yes !
It should be enable by default.

Not enough people are using -Xlint:all in the wild.

[...]

Rémi



More information about the valhalla-dev mailing list