--- old/test/java/lang/reflect/Proxy/ProxyTest.java 2016-06-06 15:05:09.000000000 -0700 +++ new/test/java/lang/reflect/Proxy/ProxyTest.java 2016-06-06 15:05:09.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,7 +26,7 @@ import java.util.Arrays; import java.util.List; -import static jdk.testlibrary.ProcessTools.executeTestJava; +import static jdk.testlibrary.ProcessTools.*; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; @@ -70,9 +70,9 @@ */ @Test public void runTest() throws Exception { - int exitValue = executeTestJava("-cp", CPATH_DIR.toString(), + int exitValue = executeProcess(createJavaProcessBuilder("-cp", CPATH_DIR.toString(), "-mp", MODS_DIR.toString(), - "-m", "test/jdk.test.Main") + "-m", "test/jdk.test.Main")) .outputTo(System.out) .errorTo(System.out) .getExitValue();