In 2019, Jorn added that all `final` fields in classes that reside in the `java.lang` packages are trusted fields in the class `ciFields.cpp`. This would allow us to remove some of the previous checks as they are already covered by the package check.
The package check is: holder->is_in_package("java/lang"))
For example, checking if he holder is java.lang.String or if it is a wrapper class.
The package check is: holder->is_in_package("java/lang"))
For example, checking if he holder is java.lang.String or if it is a wrapper class.
- caused by
-
JDK-8234049 Implementation of Memory Access API (Incubator)
-
- Resolved
-