dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 497 forks source link

[EagerAppCDS] enable classpath change by replacing given env var #596

Closed jia-wei-tang closed 1 year ago

jia-wei-tang commented 1 year ago

Summary: If user give environment vars and use -Dcom.alibaba.cds.cp.reloc.envs, cds will change the classpath by using given environment vars to transform some paths in classpath.

Test Plan: ci jtreg jdk/test/com/alibaba/quickstart/TestEnvVariableReplay.java jdk/test/com/alibaba/quickstart/TestEnvVariableDump.java

Reviewed-by: lingjun-cg, yuleil

Issue: https://github.com/dragonwell-project/dragonwell8/issues/595