dragonwell-project / dragonwell8

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

[Misc] Add vendor specific java tool options: DRAGONWELL_JAVA_TOOL_OP… #448

Closed lingjun-cg closed 1 year ago

lingjun-cg commented 1 year ago

…TIONS

Summary: The environment variable "DRAGONWELL_JAVA_TOOL_OPTIONS" is the same as "JAVA_TOOL_OPTIONS".The "DRAGONWELL_JAVA_TOOL_OPTIONS_JDK_ONLY" set to "true" means both "DRAGONWELL_JAVA_TOOL_OPTIONS" and "JAVA_TOOL_OPTIONS" not pick up on JDK built in tools(jps,jstat.,etc) and "java -version".

Reviewed-by: D-D-H, zhengxiaolinX

Issue: https://github.com/alibaba/dragonwell8/issues/330

Test Plan: TestVendorVMOptions.java