←back to thread

207 points mfiguiere | 2 comments | | HN request time: 0.445s | source
1. keybored ◴[] No.43539387[source]
I don’t see a way to opt-in to a hard error if this happens somewhere in the guts of the code (third-party probably).
replies(1): >>43540057 #
2. steveklabnik ◴[] No.43540057[source]
> --illegal-final-final-mutation=deny will result in Field::set throwing an IllegalAccessException for every illegal final field mutation.

Seems like this way?