RFR: 8353835: Implement JEP 500: Prepare to Make Final Mean Final

Vladimir Ivanov vlivanov at openjdk.org
Tue Sep 23 14:42:19 UTC 2025


On Tue, 23 Sep 2025 05:34:00 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Otherwise how can these fields be considered as "trusted finals"??

FTR `System.in` et al are not considered as trusted finals. There's a special logic in `ciField::initialize_from()` to disable corresponding optimizations, so the fields aren't treated as constants.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25115#discussion_r2372557412


More information about the core-libs-dev mailing list