--- a/jdk/test/sun/tools/jps/TestJpsJar.java Wed May 06 16:00:15 2015 -0700
+++ b/jdk/test/sun/tools/jps/TestJpsJar.java Thu May 07 09:11:49 2015 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2015, 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
@@ -36,8 +36,10 @@
* will be started from within the test application.
* The output should contain proper values.
* @library /lib/testlibrary
+ * @modules jdk.jartool/sun.tools.jar
+ * java.management
* @build jdk.testlibrary.* JpsHelper JpsBase
- * @run driver TestJpsJar
+ * @run main/othervm TestJpsJar
*/
public class TestJpsJar {