[External] : Re: Final variable initialization problem with exhaustive switch
Pedro Lamarão
pedro.lamarao at prodist.com.br
Wed Dec 1 16:42:27 UTC 2021
Em qua., 1 de dez. de 2021 às 13:31, Brian Goetz <brian.goetz at oracle.com>
escreveu:
> As has been mentioned (not just on this thread), we have the option to
> issue warnings for the cases where we cannot change the behavior of
> constructs with existing meaning. We may do this, in the future, but if
> Bearded Dimitris is not complaining now, if we move too aggressively, he
> surely will. So we're taking it one step at a time.
>
This check is already available via quality checking tools like SpotBugs.
If one considers non-total switches as a defect, one can enforce this today.
--
Pedro Lamarão
More information about the amber-dev
mailing list