OP's problem transcends reflection. If you complied against a previous version of a library and the value changes in next version, you can get burned. As for truly final finals, it's in the works. Java 26 issues a runtime warning and the behavior will be blocked in a subsequent release.
View all comments
Show parent comment
1
u/hwaite May 02 '26
OP's problem transcends reflection. If you complied against a previous version of a library and the value changes in next version, you can get burned. As for truly final finals, it's in the works. Java 26 issues a runtime warning and the behavior will be blocked in a subsequent release.