←back to thread

207 points mfiguiere | 1 comments | | HN request time: 0.2s | source
Show context
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 #
1. 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?