--- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ClassFilterTest.java Tue Sep 12 19:03:39 2017 +0200
+++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ClassFilterTest.java Tue Sep 12 19:03:56 2017 +0200
@@ -39,7 +39,7 @@
@SuppressWarnings("javadoc")
public class ClassFilterTest {
private static final String NASHORN_CODE_CACHE = "nashorn.persistent.code.cache";
- private static final String CLASSFILTER_CODE_CACHE = "build/classfilter_nashorn_code_cache";
+ private static final String CLASSFILTER_CODE_CACHE = System.getProperty("build.dir", "build") + "/classfilter_nashorn_code_cache";
// @Test
// This test takes too much time for basic "ant clean test" run.