RFR (S): 8157181: Compilers accept modification of final fields outside initializer methods
zoltan.majo at oracle.com
Wed Jun 15 12:03:34 UTC 2016
On 06/14/2016 04:34 PM, Coleen Phillimore wrote:
> I would vote for pre-deprecating or removing the flag. We don't
> generally add flags for new spec enforcement unless we anticipate a
> lot of customers having problems with the new rule.
> Just make sure the error message is really good though, so that when
> people hit this new rule, they'll know what to fix.
The change I propose tries to make the error message a bit more
informative, please see the changes to linkResolver.cpp in the webrev:
I hope that is good enough.
Thank you and best regards,
>> Best regards,
>> Vladimir Ivanov
>>  https://wiki.openjdk.java.net/display/quality/Quality+Outreach
More information about the hotspot-compiler-dev