RFR: 8303475: potential null pointer dereference in filemap.cpp

Calvin Cheung ccheung at openjdk.org
Fri Apr 28 16:06:58 UTC 2023


On Fri, 28 Apr 2023 04:53:14 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Please review this small patch which adds an assert in `SharedClassPathEntry::copy_from()` to ensure the input arg `SharedClassPathEntry* ent` is non null. This suppresses a warning from an internal static analysis tool.
>> 
>> Passed tiers 1 and 3 testing.
>
> Fine and trivial.

Thanks @dholmes-ora for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/13708#issuecomment-1527754461


More information about the hotspot-runtime-dev mailing list