mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-12 08:53:12 +00:00
8053908: jdeps is not PATH on Mac, results in ant clean test failure on Mac
Reviewed-by: hannesw, jlaskey
This commit is contained in:
parent
d8c8841e2a
commit
a55d1b4b75
@ -46,8 +46,11 @@ if (! nashornJar.isAbsolute()) {
|
||||
nashornJar = new File(".", nashornJar);
|
||||
}
|
||||
|
||||
var javahome = System.getProperty("java.home");
|
||||
var jdepsPath = javahome + "/../bin/jdeps".replaceAll(/\//g, File.separater);
|
||||
|
||||
// run jdep on nashorn.jar - only summary but print profile info
|
||||
`jdeps -s -P ${nashornJar.absolutePath}`
|
||||
`${jdepsPath} -s -P ${nashornJar.absolutePath}`
|
||||
|
||||
// check for "(compact1)" in output from jdep tool
|
||||
if (! /(compact1)/.test($OUT)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user