On Wed, 30 Nov 2022 16:34:52 GMT, Alan Bateman <al...@openjdk.org> wrote:

> One other thing to add is that we should survey the existing tests to make 
> sure that there are tests to ensure IAE is thrown for both static and 
> instance fields when they are final.

I think a good way to find such tests would be to remove the !isFinal() check 
and see if any tests fail.

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

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

Reply via email to