10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /**
25 * @test
26 * @bug 5024119
27 * @summary Add ReferenceType.getAllInstances () method to JDI.
28 * @author jjh
29 *
30 * @modules jdk.jdi
31 * @run build TestScaffold VMConnection TargetListener TargetAdapter
32 * @run compile -g InstancesTest.java
33 * @run driver InstancesTest
34 */
35
36 /*
37 * To run this test do this:
38 * runregress -no InstancesTest <cmd line options>
39 *
40 * where <cmd line options> are the options to be used to
41 * launch the debuggee, with the classname prefixed with @@.
42 * For example, this would run java2d demo as the debuggee:
43 * runregress -no InstancesTest -classpath
44 * $jdkDir/demo/jfc/Java2D/Java2Demo.jar \
45 * -client @@java2d.Java2Demo
46 *
47 * In this mode, the specified debuggee is launched in debug mode,
48 * the debugger waits 20 secs, and then connects to the debuggee, suspends
49 * it, and 'debugs' it.
50 *
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /**
25 * @test
26 * @bug 5024119
27 * @summary Add ReferenceType.getAllInstances () method to JDI.
28 * @author jjh
29 *
30 * @run build TestScaffold VMConnection TargetListener TargetAdapter
31 * @run compile -g InstancesTest.java
32 * @run driver InstancesTest
33 */
34
35 /*
36 * To run this test do this:
37 * runregress -no InstancesTest <cmd line options>
38 *
39 * where <cmd line options> are the options to be used to
40 * launch the debuggee, with the classname prefixed with @@.
41 * For example, this would run java2d demo as the debuggee:
42 * runregress -no InstancesTest -classpath
43 * $jdkDir/demo/jfc/Java2D/Java2Demo.jar \
44 * -client @@java2d.Java2Demo
45 *
46 * In this mode, the specified debuggee is launched in debug mode,
47 * the debugger waits 20 secs, and then connects to the debuggee, suspends
48 * it, and 'debugs' it.
49 *
|