RFR: 8320002: Remove obsolete CDS check in Reflection::verify_class_access()
Calvin Cheung
ccheung at openjdk.org
Wed Jan 3 05:42:36 UTC 2024
On Wed, 3 Jan 2024 00:55:43 GMT, David Holmes <dholmes at openjdk.org> wrote:
> This would seem to introduce a change in behaviour. During dumping we may now get an access exception when previously access was assumed to be okay.
During static dump, if an exception is encountered, it would just log a CDS warning message and continue processing the next entry in the classlist. For example, the [code](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/cds/classListParser.cpp#L123-L143) in classListParser.cpp.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17232#issuecomment-1874874206
More information about the hotspot-runtime-dev
mailing list