RFR(S): 8248112: array index out of bound in FileMapInfo::check_paths

Calvin Cheung calvin.cheung at oracle.com
Fri Jun 26 01:01:14 UTC 2020

JBS: https://bugs.openjdk.java.net/browse/JDK-8248112

webrev: http://cr.openjdk.java.net/~ccheung/jdk16/8248112/webrev.00/

create_path_array() ignores non-existing paths. Although the dump time and
runtime app classpath lengths are the same initially, after the call to
create_path_array(), the runtime app classpath length could become
shorter. We consider app classpath mismatch in this case.

Similar check should be applied to bootclasspath as well.

Testing: appcds tests locally on linux-x64
              tier1 and 2 tests (in progress)



More information about the hotspot-runtime-dev mailing list