test/nashorn/src/jdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java
changeset 47217 72e3ae9a25eb
parent 47216 71c04702a3d5
equal deleted inserted replaced
47216:71c04702a3d5 47217:72e3ae9a25eb
   388             "        map.address       = 'address'; \n" +
   388             "        map.address       = 'address'; \n" +
   389             "        object = {}; \n" +
   389             "        object = {}; \n" +
   390             "        return object; \n" +
   390             "        return object; \n" +
   391             "    })(); \n" +
   391             "    })(); \n" +
   392             "}()); ";
   392             "}()); ";
   393     final static String codeCache = "build/nashorn_code_cache";
   393     final static String codeCache = System.getProperty("build.dir", "build") + "/nashorn_code_cache";
   394     final static String oldUserDir = System.getProperty("user.dir");
   394     final static String oldUserDir = System.getProperty("user.dir");
   395 
   395 
   396     private static final String[] ENGINE_OPTIONS_OPT   = new String[]{"--persistent-code-cache", "--optimistic-types=true"};
   396     private static final String[] ENGINE_OPTIONS_OPT   = new String[]{"--persistent-code-cache", "--optimistic-types=true"};
   397     private static final String[] ENGINE_OPTIONS_NOOPT = new String[]{"--persistent-code-cache", "--optimistic-types=false"};
   397     private static final String[] ENGINE_OPTIONS_NOOPT = new String[]{"--persistent-code-cache", "--optimistic-types=false"};
   398 
   398