< prev index next >
test/runtime/modules/PatchModule/PatchModuleMain.java
Print this page
*** 19,30 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! // This loads the class affected by the -Xpatch option. For the test to pass
! // it must load the class from the -Xpatch directory, not the jimage file.
! public class XpatchMain {
public static void main(String[] args) throws Exception {
Class.forName(args[0]);
}
}
--- 19,30 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! // This loads the class affected by the --patch-module option. For the test to pass
! // it must load the class from the --patch-module directory, not the jimage file.
! public class PatchModuleMain {
public static void main(String[] args) throws Exception {
Class.forName(args[0]);
}
}
< prev index next >