8078896: Add @modules as needed to the jdk_svc tests

Reviewed-by: alanb, mchung
This commit is contained in:
Katja Kantserova 2015-05-07 09:11:49 +02:00
parent 709770f935
commit 549731dc2f
542 changed files with 1195 additions and 579 deletions
jdk/test
TEST.ROOT
com/sun/jdi
AcceptTimeout.javaAccessSpecifierTest.javaAfterThreadDeathTest.javaAllLineLocations.javaArrayRangeTest.javaBacktraceFieldTest.javaBadHandshakeTest.javaBreakpointTest.javaClassLoaderClassesTest.javaClassesByName.javaClassesByName2Test.javaCompatibleConnectors.javaConnectedVMs.javaConstantPoolInfo.javaCountEvent.javaCountFilterTest.javaDebuggerThreadTest.javaDeleteAllBkptsTest.javaDeleteEventRequestsTest.javaDoubleAgentTest.javaEarlyReturnNegativeTest.javaEarlyReturnTest.javaEnumTest.javaEventQueueDisconnectTest.javaExceptionEvents.javaExclusiveBind.javaExpiredRequestDeletionTest.javaFieldWatchpoints.javaFilterMatch.javaFilterNoMatch.javaFinalLocalsTest.javaFinalizerTest.javaFramesTest.javaGenericsTest.javaGetLocalVariables2Test.javaGetUninitializedStringValue.javaHomeTest.javaInstanceFilter.javaInstancesTest.javaInterfaceMethodsTest.javaInterruptHangTest.javaInvokeHangTest.javaInvokeTest.javaJITDebug.shJava_gTest.javaLambdaBreakpointTest.javaLambdaStepTest.javaLaunchCommandLine.javaLineNumberInfo.javaLineNumberOnBraceTest.javaListenAddress.javaLocalVariableEqual.javaLocationTest.javaMethodEntryExitEvents.javaMethodExitReturnValuesTest.javaMixedSuspendTest.shModificationWatchpoints.javaMonitorEventTest.javaMonitorFrameInfo.javaMultiBreakpointsTest.javaNativeInstanceFilter.javaNewInstanceTest.javaNoLaunchOptionTest.javaNoLocInfoTest.javaNullThreadGroupNameTest.javaOnThrowTest.javaOptionTest.javaPopAndInvokeTest.javaPopAndStepTest.javaPopAsynchronousTest.javaPopSynchronousTest.javaProcessAttachTest.javaRedefineCrossEvent.javaRedefineCrossStart.javaReferrersTest.javaRepStep.javaRequestReflectionTest.javaResumeOneThreadTest.javaRunToExit.javaSDENullTest.javaSimulResumerTest.javaSourceNameFilterTest.javaStepTest.javaSuspendNoFlagTest.javaSuspendThreadTest.javaTemplateTest.javaThreadGroupTest.javaTwoThreadsTest.javaUTF8Test.javaUnpreparedByName.javaUnpreparedClasses.javaVMDeathLastTest.javaVMDeathRequestTest.javaVarargsTest.javaVars.javaVisibleMethods.java
connect/spi

@ -20,5 +20,5 @@ exclusiveAccess.dirs=java/rmi/Naming java/util/prefs sun/management/jmxremote su
# Group definitions # Group definitions
groups=TEST.groups [closed/TEST.groups] groups=TEST.groups [closed/TEST.groups]
# Tests using jtreg 4.1 b10 features # Tests using jtreg 4.1 b11 features
requiredVersion=4.1 b10 requiredVersion=4.1 b11

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -25,6 +25,7 @@
* @bug 6198277 * @bug 6198277
* @summary Test that each ListeningConnector that supports a "timeout" argument will * @summary Test that each ListeningConnector that supports a "timeout" argument will
* timeout with TransportTimeoutException * timeout with TransportTimeoutException
* @modules jdk.jdi
*/ */
import com.sun.jdi.Bootstrap; import com.sun.jdi.Bootstrap;
import com.sun.jdi.connect.Connector; import com.sun.jdi.connect.Connector;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Tim Bell * @author Tim Bell
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g AccessSpecifierTest.java * @run compile -g AccessSpecifierTest.java
* @run driver AccessSpecifierTest * @run driver AccessSpecifierTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g AfterThreadDeathTest.java * @run compile -g AfterThreadDeathTest.java
* @run driver AfterThreadDeathTest * @run driver AfterThreadDeathTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, 2000, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* @author Gordon Hirsch * @author Gordon Hirsch
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @run compile -g RefTypes.java * @run compile -g RefTypes.java
* @run build AllLineLocations * @run build AllLineLocations

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,6 +30,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ArrayRangeTest.java * @run compile -g ArrayRangeTest.java
* @run driver ArrayRangeTest * @run driver ArrayRangeTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g BacktraceFieldTest.java * @run compile -g BacktraceFieldTest.java
* @run driver BacktraceFieldTest * @run driver BacktraceFieldTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,6 +44,8 @@ import jdk.testlibrary.ProcessTools;
* @summary Check that a bad handshake doesn't cause a debuggee to abort * @summary Check that a bad handshake doesn't cause a debuggee to abort
* @library /lib/testlibrary * @library /lib/testlibrary
* *
* @modules java.management
* jdk.jdi
* @build jdk.testlibrary.* VMConnection BadHandshakeTest Exit0 * @build jdk.testlibrary.* VMConnection BadHandshakeTest Exit0
* @run driver BadHandshakeTest * @run driver BadHandshakeTest
*/ */

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g BreakpointTest.java * @run compile -g BreakpointTest.java
* @run driver BreakpointTest * @run driver BreakpointTest
@ -44,7 +45,7 @@ import java.util.*;
// the debuggee, waits a bit, and enables the bkpt again. // the debuggee, waits a bit, and enables the bkpt again.
class BreakpointTarg { class BreakpointTarg {
public final static int BKPT_LINE = 54; public final static int BKPT_LINE = 55;
// LINE NUMBER SENSITIVE // LINE NUMBER SENSITIVE
public static long count; public static long count;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,6 +30,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ClassLoaderClassesTest.java * @run compile -g ClassLoaderClassesTest.java
* @run driver ClassLoaderClassesTest * @run driver ClassLoaderClassesTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @author Robert Field * @author Robert Field
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java * @run compile -g HelloWorld.java
* @run build ClassesByName * @run build ClassesByName

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,8 @@
* *
* @author Tim Bell (based on ClassesByName by Robert Field) * @author Tim Bell (based on ClassesByName by Robert Field)
* *
* @modules java.corba
* jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ClassesByName2Test.java * @run compile -g ClassesByName2Test.java
* @run driver ClassesByName2Test * @run driver ClassesByName2Test

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* *
* This test checks that VirtualMachineManager creates Connectors that * This test checks that VirtualMachineManager creates Connectors that
* are "compatible" those created by 1.4 or earilier releases. * are "compatible" those created by 1.4 or earilier releases.
* @modules jdk.jdi
*/ */
import com.sun.jdi.*; import com.sun.jdi.*;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
* @bug 4329140 * @bug 4329140
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InstTarg.java * @run compile -g InstTarg.java
* @run driver ConnectedVMs Kill * @run driver ConnectedVMs Kill

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection * @run build TestScaffold VMConnection
* @run compile -g ConstantPoolInfo.java * @run compile -g ConstantPoolInfo.java
* @run driver ConstantPoolInfo * @run driver ConstantPoolInfo

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetAdapter TargetListener * @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g CountEvent.java * @run compile -g CountEvent.java
* @run driver CountEvent * @run driver CountEvent

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g CountFilterTest.java * @run compile -g CountFilterTest.java
* @run driver CountFilterTest * @run driver CountFilterTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Tim Bell * @author Tim Bell
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g DebuggerThreadTest.java * @run compile -g DebuggerThreadTest.java
* @run driver DebuggerThreadTest * @run driver DebuggerThreadTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* @author jjh * @author jjh
* *
* @library .. * @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g DeleteAllBkptsTest.java * @run compile -g DeleteAllBkptsTest.java
* @run driver DeleteAllBkptsTest * @run driver DeleteAllBkptsTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g DeleteEventRequestsTest.java * @run compile -g DeleteEventRequestsTest.java
* @run driver DeleteEventRequestsTest * @run driver DeleteEventRequestsTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,6 +30,7 @@ import jdk.testlibrary.Utils;
* @summary Check that multiple -agentlib statements in command line fails * @summary Check that multiple -agentlib statements in command line fails
* *
* @library /lib/testlibrary * @library /lib/testlibrary
* @modules java.management
* @build jdk.testlibarary.* * @build jdk.testlibarary.*
* @build DoubleAgentTest Exit0 * @build DoubleAgentTest Exit0
* @run driver DoubleAgentTest * @run driver DoubleAgentTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary Unexpected ClassCastException in ThreadReference.forceEarlyReturn * @summary Unexpected ClassCastException in ThreadReference.forceEarlyReturn
* @author Jim Holmlund * @author Jim Holmlund
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g EarlyReturnNegativeTest.java * @run compile -g EarlyReturnNegativeTest.java
* @run driver EarlyReturnNegativeTest * @run driver EarlyReturnNegativeTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,6 +34,7 @@
* *
* @author Tim Bell (based on MethodExitReturnValuesTest by Jim Holmlund) * @author Tim Bell (based on MethodExitReturnValuesTest by Jim Holmlund)
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g EarlyReturnTest.java * @run compile -g EarlyReturnTest.java
* @run driver EarlyReturnTest * @run driver EarlyReturnTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g EnumTest.java * @run compile -g EnumTest.java
* @run driver EnumTest * @run driver EnumTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
* @bug 4425852 * @bug 4425852
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build VMConnection * @run build VMConnection
* @run compile -g EventQueueDisconnectTest.java * @run compile -g EventQueueDisconnectTest.java
* @run driver EventQueueDisconnectTest * @run driver EventQueueDisconnectTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* @author Robert Field * @author Robert Field
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build TestScaffold VMConnection * @run build TestScaffold VMConnection
* @run compile -g ExceptionEvents.java * @run compile -g ExceptionEvents.java
* *

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,8 @@
* at the same time. * at the same time.
* @library /lib/testlibrary * @library /lib/testlibrary
* *
* @modules java.management
* jdk.jdi
* @build jdk.testlibrary.* VMConnection ExclusiveBind HelloWorld * @build jdk.testlibrary.* VMConnection ExclusiveBind HelloWorld
* @run driver ExclusiveBind * @run driver ExclusiveBind
*/ */

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ExpiredRequestDeletionTest.java * @run compile -g ExpiredRequestDeletionTest.java
* @run driver ExpiredRequestDeletionTest * @run driver ExpiredRequestDeletionTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Tim Bell * @author Tim Bell
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FieldWatchpoints.java * @run compile -g FieldWatchpoints.java
* @run driver FieldWatchpoints * @run driver FieldWatchpoints

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* @author Robert Field/Jim Holmlund * @author Robert Field/Jim Holmlund
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java * @run compile -g HelloWorld.java
* @run driver FilterMatch * @run driver FilterMatch

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* @author Robert Field/Jim Holmlund * @author Robert Field/Jim Holmlund
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java * @run compile -g HelloWorld.java
* @run driver FilterNoMatch * @run driver FilterNoMatch

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,6 +30,7 @@
* *
* @author Tim Bell * @author Tim Bell
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FinalLocalsTest.java * @run compile -g FinalLocalsTest.java
* @run driver FinalLocalsTest * @run driver FinalLocalsTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary Test debugger operations in finalize() methods * @summary Test debugger operations in finalize() methods
* @author Gordon Hirsch (modified for HotSpot by tbell & rfield) * @author Gordon Hirsch (modified for HotSpot by tbell & rfield)
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FinalizerTest.java * @run compile -g FinalizerTest.java
* *

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FramesTest.java * @run compile -g FramesTest.java
* @run driver FramesTest * @run driver FramesTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g GenericsTest.java * @run compile -g GenericsTest.java
* @run driver GenericsTest * @run driver GenericsTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Tim Bell * @author Tim Bell
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g GetLocalVariables2Test.java * @run compile -g GetLocalVariables2Test.java
* @run driver GetLocalVariables2Test * @run driver GetLocalVariables2Test

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Staffan Larsen * @author Staffan Larsen
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g GetUninitializedStringValue.java * @run compile -g GetUninitializedStringValue.java
* @run driver GetUninitializedStringValue * @run driver GetUninitializedStringValue

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Tim Bell (based on "HomeTest.java" by Eugene I. Latkin) * @author Tim Bell (based on "HomeTest.java" by Eugene I. Latkin)
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g HomeTest.java * @run compile -g HomeTest.java
* @run driver HomeTest * @run driver HomeTest

@ -29,6 +29,7 @@
* *
* @author Robert Field/Jim Holmlund * @author Robert Field/Jim Holmlund
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetAdapter TargetListener * @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g InstanceFilter.java * @run compile -g InstanceFilter.java
* @run driver InstanceFilter * @run driver InstanceFilter

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary Add ReferenceType.getAllInstances () method to JDI. * @summary Add ReferenceType.getAllInstances () method to JDI.
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InstancesTest.java * @run compile -g InstancesTest.java
* @run driver InstancesTest * @run driver InstancesTest

@ -27,6 +27,7 @@
* @bug 8071657 * @bug 8071657
* @summary JDI: Add support for static and default methods in interfaces * @summary JDI: Add support for static and default methods in interfaces
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run build InterfaceMethodsTest * @run build InterfaceMethodsTest
* @run driver InterfaceMethodsTest * @run driver InterfaceMethodsTest

@ -1,3 +1,30 @@
/*
* Copyright (c) 2006, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* 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.
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;
import com.sun.jdi.request.*;
/** /**
* @test * @test
* @bug 6459476 * @bug 6459476
@ -5,15 +32,13 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InterruptHangTest.java * @run compile -g InterruptHangTest.java
* @run driver InterruptHangTest * @run driver InterruptHangTest
*/ */
import com.sun.jdi.*;
import com.sun.jdi.event.*;
import com.sun.jdi.request.*;
/* /**
* Debuggee has two threads. Debugger keeps stepping in * Debuggee has two threads. Debugger keeps stepping in
* the first thread. The second thread keeps interrupting the first * the first thread. The second thread keeps interrupting the first
* thread. If a long time goes by with the debugger not getting * thread. If a long time goes by with the debugger not getting

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InvokeHangTest.java * @run compile -g InvokeHangTest.java
* @run driver InvokeHangTest * @run driver InvokeHangTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* @author Robert Field * @author Robert Field
* *
* @library .. * @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InvokeTest.java * @run compile -g InvokeTest.java
* @run driver InvokeTest * @run driver InvokeTest

@ -1,7 +1,7 @@
#!/bin/ksh -p #!/bin/ksh -p
# #
# Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,7 @@
# @author Tim Bell # @author Tim Bell
# Based on test/java/awt/TEMPLATE/AutomaticShellTest.sh # Based on test/java/awt/TEMPLATE/AutomaticShellTest.sh
# #
# @modules jdk.jdi
# @run build TestScaffold VMConnection TargetListener TargetAdapter # @run build TestScaffold VMConnection TargetListener TargetAdapter
# @run compile -g JITDebug.java # @run compile -g JITDebug.java
# @run shell JITDebug.sh # @run shell JITDebug.sh

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g Java_gTest.java * @run compile -g Java_gTest.java
* @run driver Java_gTest * @run driver Java_gTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* *
* @author Staffan Larsen * @author Staffan Larsen
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LambdaBreakpointTest.java * @run compile -g LambdaBreakpointTest.java
* @run driver LambdaBreakpointTest * @run driver LambdaBreakpointTest
@ -51,7 +52,7 @@ import com.sun.jdi.event.StepEvent;
class LambdaBreakpointTestTarg { class LambdaBreakpointTestTarg {
static int[] breakpointLines = { static int[] breakpointLines = {
62, 66, 63, 64, 65, 67 63, 67, 64, 65, 66, 68
}; };
public static void main(String[] args) { public static void main(String[] args) {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* *
* @author Staffan Larsen * @author Staffan Larsen
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LambdaStepTest.java * @run compile -g LambdaStepTest.java
* @run driver LambdaStepTest * @run driver LambdaStepTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* @author Gordon Hirsch * @author Gordon Hirsch
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java * @run compile -g HelloWorld.java
* @run build LaunchCommandLine * @run build LaunchCommandLine

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary Test javac regressions in the generation of line number info * @summary Test javac regressions in the generation of line number info
* @author Gordon Hirsch * @author Gordon Hirsch
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LineNumberInfo.java ControlFlow.java * @run compile -g LineNumberInfo.java ControlFlow.java
* *

@ -18,8 +18,8 @@ import java.util.*;
/********** LINE NUMBER SENSITIVE! *****************************************************************/ /********** LINE NUMBER SENSITIVE! *****************************************************************/
class LineNumberOnBraceTarg { class LineNumberOnBraceTarg {
public final static int stopLine = 28; // THIS MUST BE THE LINE NUMBER OF THE // stopline LINE public final static int stopLine = 29; // THIS MUST BE THE LINE NUMBER OF THE // stopline LINE
public final static int stopLine2 = 34; // THIS MUST BE THE LINE NUMBER OF THE // stopline2 LINE public final static int stopLine2 = 35; // THIS MUST BE THE LINE NUMBER OF THE // stopline2 LINE
public static void main(String[] args){ public static void main(String[] args){

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
* @summary Test that startListening(Map) method of the com.sun.jdi.SocketListen * @summary Test that startListening(Map) method of the com.sun.jdi.SocketListen
* Connector returns an address that is usable for the address option on * Connector returns an address that is usable for the address option on
* remove debuggees. * remove debuggees.
* @modules jdk.jdi
*/ */
import java.net.InetAddress; import java.net.InetAddress;
import java.net.Inet4Address; import java.net.Inet4Address;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Serguei Spitsyn * @author Serguei Spitsyn
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LocalVariableEqual.java * @run compile -g LocalVariableEqual.java
* @run driver LocalVariableEqual * @run driver LocalVariableEqual

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LocationTest.java * @run compile -g LocationTest.java
* @run driver LocationTest * @run driver LocationTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary Test the bug fix for: MethodExitEvents disappear when Object-Methods are called from main * @summary Test the bug fix for: MethodExitEvents disappear when Object-Methods are called from main
* @author Tim Bell * @author Tim Bell
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MethodEntryExitEvents.java * @run compile -g MethodEntryExitEvents.java
* @run driver MethodEntryExitEvents SUSPEND_EVENT_THREAD MethodEntryExitEventsDebugee * @run driver MethodEntryExitEvents SUSPEND_EVENT_THREAD MethodEntryExitEventsDebugee

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary JDWP, JDI: Add return value to Method Exit Event * @summary JDWP, JDI: Add return value to Method Exit Event
* @author Jim Holmlund * @author Jim Holmlund
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MethodExitReturnValuesTest.java * @run compile -g MethodExitReturnValuesTest.java
* @run driver MethodExitReturnValuesTest * @run driver MethodExitReturnValuesTest

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# #
# Copyright (c) 2005, 2014 Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2005, 2015 Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
# #
# @author Jim Holmlund # @author Jim Holmlund
# #
# @modules jdk.jdi
# @run build TestScaffold VMConnection TargetListener TargetAdapter # @run build TestScaffold VMConnection TargetListener TargetAdapter
# @run shell MixedSuspendTest.sh # @run shell MixedSuspendTest.sh

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,6 +30,7 @@
* @author Robert Field (modified to JDIScaffold) * @author Robert Field (modified to JDIScaffold)
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @run compile -g ModificationWatchpoints.java * @run compile -g ModificationWatchpoints.java
* @run driver ModificationWatchpoints * @run driver ModificationWatchpoints

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MonitorEventTest.java * @run compile -g MonitorEventTest.java
* @run driver MonitorEventTest * @run driver MonitorEventTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* @summary MonitorInfo objects aren't invalidated when the owning thread is resumed * @summary MonitorInfo objects aren't invalidated when the owning thread is resumed
* @author Swamy Venkataramanappa * @author Swamy Venkataramanappa
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MonitorFrameInfo.java * @run compile -g MonitorFrameInfo.java
* @run driver MonitorFrameInfo * @run driver MonitorFrameInfo

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* *
* @author tbell, jjh * @author tbell, jjh
* *
* @modules jdk.jdi
* @build TestScaffold VMConnection TargetListener TargetAdapter * @build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MultiBreakpointsTest.java * @run compile -g MultiBreakpointsTest.java
* @run driver MultiBreakpointsTest * @run driver MultiBreakpointsTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* @author Keith McGuigan * @author Keith McGuigan
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @compile -XDignore.symbol.file NativeInstanceFilterTarg.java * @compile -XDignore.symbol.file NativeInstanceFilterTarg.java
* @run driver NativeInstanceFilter * @run driver NativeInstanceFilter

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g NewInstanceTest.java * @run compile -g NewInstanceTest.java
* @run driver NewInstanceTest * @run driver NewInstanceTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary Test for -Xrunjdwp:[onthrow,onuncaught] suboptions require launch suboption * @summary Test for -Xrunjdwp:[onthrow,onuncaught] suboptions require launch suboption
* @author Tim Bell * @author Tim Bell
* *
* @modules jdk.jdi
* @run compile -g NoLaunchOptionTest.java * @run compile -g NoLaunchOptionTest.java
* @build VMConnection * @build VMConnection
* @run driver NoLaunchOptionTest * @run driver NoLaunchOptionTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* *
* @author Serguei Spitsyn * @author Serguei Spitsyn
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g:none NoLocInfoTest.java * @run compile -g:none NoLocInfoTest.java
* @run driver NoLocInfoTest * @run driver NoLocInfoTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2015 Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
* @bug 7105883 * @bug 7105883
* @summary Ensure that JDWP doesn't crash with a null thread group name * @summary Ensure that JDWP doesn't crash with a null thread group name
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run driver NullThreadGroupNameTest * @run driver NullThreadGroupNameTest
*/ */

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary Test for -agentlib::[onthrow,launch] * @summary Test for -agentlib::[onthrow,launch]
* @author Kelly O'Hair * @author Kelly O'Hair
* *
* @modules jdk.jdi
* @run compile -g OnThrowTest.java * @run compile -g OnThrowTest.java
* @run compile -g OnThrowTarget.java * @run compile -g OnThrowTarget.java
* @run compile -g VMConnection.java * @run compile -g VMConnection.java

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary Test for misc jdwp options, just that the option is parsed * @summary Test for misc jdwp options, just that the option is parsed
* @author Kelly O'Hair (copied from Tim Bell's NoLaunchOptionTest) * @author Kelly O'Hair (copied from Tim Bell's NoLaunchOptionTest)
* *
* @modules jdk.jdi
* @run compile -g OptionTest.java * @run compile -g OptionTest.java
* @run compile -g HelloWorld.java * @run compile -g HelloWorld.java
* @run compile -g VMConnection.java * @run compile -g VMConnection.java

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -24,6 +24,7 @@
/** /**
* @test * @test
* @bug 6517249 * @bug 6517249
* @modules jdk.jdi
* @ignore 6951287 * @ignore 6951287
* @summary JDWP: Cannot do an invokeMethod after a popFrames operation * @summary JDWP: Cannot do an invokeMethod after a popFrames operation
* *

@ -8,6 +8,7 @@
* @author jjh * @author jjh
* *
* @library .. * @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g PopAndStepTest.java * @run compile -g PopAndStepTest.java
* @run driver PopAndStepTest * @run driver PopAndStepTest
@ -23,20 +24,20 @@ import java.util.*;
class PopAndStepTarg { class PopAndStepTarg {
public void B() { public void B() {
System.out.println("debuggee: in B"); System.out.println("debuggee: in B");
System.out.println("debuggee: in B, back to A"); // add line breakpoint here line 26 !!! System.out.println("debuggee: in B, back to A"); // add line breakpoint here line 27 !!!
} }
public void A() { public void A() {
System.out.println("debuggee: in A, about to call B"); // line 30 System.out.println("debuggee: in A, about to call B"); // line 31
B(); B();
System.out.println("debuggee: in A, back from B"); // line 32 System.out.println("debuggee: in A, back from B"); // line 33
throw new RuntimeException("debuggee: Got to line 33"); throw new RuntimeException("debuggee: Got to line 34");
} }
public static void main(String[] args) { public static void main(String[] args) {
System.out.println("debuggee: Howdy!"); // line 37 System.out.println("debuggee: Howdy!"); // line 38
PopAndStepTarg xxx = new PopAndStepTarg(); // line 39 PopAndStepTarg xxx = new PopAndStepTarg(); // line 40
xxx.A(); // line 40 xxx.A(); // line 41
System.out.println("debugee: Goodbye from PopAndStepTarg!"); System.out.println("debugee: Goodbye from PopAndStepTarg!");
} }
} }
@ -115,10 +116,10 @@ public class PopAndStepTest extends TestScaffold {
BreakpointEvent bpe = startToMain("PopAndStepTarg"); BreakpointEvent bpe = startToMain("PopAndStepTarg");
targetClass = bpe.location().declaringType(); targetClass = bpe.location().declaringType();
mainThread = bpe.thread(); mainThread = bpe.thread();
getDebuggeeLineNum(37); getDebuggeeLineNum(38);
println("Resuming to line 26"); println("Resuming to line 27");
bpe = resumeTo("PopAndStepTarg", 26); getDebuggeeLineNum(26); bpe = resumeTo("PopAndStepTarg", 27); getDebuggeeLineNum(27);
// The failure is this: // The failure is this:
// create step request // create step request
@ -140,22 +141,22 @@ public class PopAndStepTest extends TestScaffold {
srInto.enable(); // This fails srInto.enable(); // This fails
mainThread.popFrames(frameFor("A")); mainThread.popFrames(frameFor("A"));
//srInto.enable(); // if the enable is moved here, it passes //srInto.enable(); // if the enable is moved here, it passes
println("Popped back to line 40 in main, the call to A()"); println("Popped back to line 41 in main, the call to A()");
println("Stepping into line 30"); println("Stepping into line 31");
waitForRequestedEvent(srInto); // println waitForRequestedEvent(srInto); // println
srInto.disable(); srInto.disable();
getDebuggeeLineNum(30);
// The failure occurs here.
println("Stepping over to line 31");
stepOverLine(mainThread); // println
getDebuggeeLineNum(31); getDebuggeeLineNum(31);
// The failure occurs here.
println("Stepping over to line 32"); println("Stepping over to line 32");
stepOverLine(mainThread); // call to B() stepOverLine(mainThread); // println
getDebuggeeLineNum(32); getDebuggeeLineNum(32);
println("Stepping over to line 33");
stepOverLine(mainThread); // call to B()
getDebuggeeLineNum(33);
vm().exit(0); vm().exit(0);
if (testFailed) { if (testFailed) {

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g PopAsynchronousTest.java * @run compile -g PopAsynchronousTest.java
* @run driver PopAsynchronousTest * @run driver PopAsynchronousTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g PopSynchronousTest.java * @run compile -g PopSynchronousTest.java
* @run driver PopSynchronousTest * @run driver PopSynchronousTest

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -41,6 +41,8 @@ import com.sun.jdi.connect.IllegalConnectorArgumentsException;
* @summary Unit test for ProcessAttachingConnector * @summary Unit test for ProcessAttachingConnector
* *
* @library /lib/testlibrary * @library /lib/testlibrary
* @modules java.management
* jdk.jdi
* @build jdk.testlibrary.* ProcessAttachTest * @build jdk.testlibrary.* ProcessAttachTest
* @run driver ProcessAttachTest * @run driver ProcessAttachTest
*/ */

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,8 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules java.corba
* jdk.jdi
* @run build TestScaffold VMConnection TargetAdapter TargetListener * @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g AccessSpecifierTest.java * @run compile -g AccessSpecifierTest.java
* @run compile -g AfterThreadDeathTest.java * @run compile -g AfterThreadDeathTest.java

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g CountEvent.java * @run compile -g CountEvent.java
* @run compile -g CountFilterTest.java * @run compile -g CountFilterTest.java

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* @summary Add support for backtracking reference graph. * @summary Add support for backtracking reference graph.
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ReferrersTest.java * @run compile -g ReferrersTest.java
* @run driver ReferrersTest * @run driver ReferrersTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
* @bug 4334008 * @bug 4334008
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run compile -g RepStepTarg.java * @run compile -g RepStepTarg.java
* @run build VMConnection RepStep * @run build VMConnection RepStep
* *

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
* @bug 4425840 * @bug 4425840
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g RequestReflectionTest.java * @run compile -g RequestReflectionTest.java
* @run driver RequestReflectionTest * @run driver RequestReflectionTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ResumeOneThreadTest.java * @run compile -g ResumeOneThreadTest.java
* @run driver ResumeOneThreadTest * @run driver ResumeOneThreadTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -25,6 +25,8 @@
* @bug 4997445 * @bug 4997445
* @summary Test that with server=y, when VM runs to System.exit() no error happens * @summary Test that with server=y, when VM runs to System.exit() no error happens
* @library /lib/testlibrary * @library /lib/testlibrary
* @modules java.management
* jdk.jdi
* @build jdk.testlibrary.* VMConnection RunToExit Exit0 * @build jdk.testlibrary.* VMConnection RunToExit Exit0
* @run driver RunToExit * @run driver RunToExit
*/ */

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SDENullTest.java * @run compile -g SDENullTest.java
* @run driver SDENullTest * @run driver SDENullTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SimulResumerTest.java * @run compile -g SimulResumerTest.java
* @run driver SimulResumerTest * @run driver SimulResumerTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SourceNameFilterTest.java * @run compile -g SourceNameFilterTest.java
* @run driver SourceNameFilterTest * @run driver SourceNameFilterTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
* @bug 4270488 4787861 * @bug 4270488 4787861
* @author Gordon Hirsch * @author Gordon Hirsch
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetAdapter TargetListener * @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g MethodCalls.java * @run compile -g MethodCalls.java
* @run compile -g MethodCallsReflection.java * @run compile -g MethodCallsReflection.java

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@ import jdk.testlibrary.ProcessTools;
* @bug 4914611 * @bug 4914611
* @summary Test for JDWP: -agentlib:jdwp=suspend=n hanging * @summary Test for JDWP: -agentlib:jdwp=suspend=n hanging
* @library /lib/testlibrary * @library /lib/testlibrary
* @modules java.management
* @build jdk.testlibarary.* * @build jdk.testlibarary.*
* @compile -g HelloWorld.java * @compile -g HelloWorld.java
* @run driver SuspendNoFlagTest * @run driver SuspendNoFlagTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SuspendThreadTest.java * @run compile -g SuspendThreadTest.java
* @run driver SuspendThreadTest * @run driver SuspendThreadTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,7 @@
* *
* @author <AUTHOR> * @author <AUTHOR>
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g TemplateTest.java * @run compile -g TemplateTest.java
* @run driver TemplateTest * @run driver TemplateTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* destroyed this should not impact subsequent thread creation by * destroyed this should not impact subsequent thread creation by
* the virtual machine manager. * the virtual machine manager.
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile ThreadGroupTest.java * @run compile ThreadGroupTest.java
* @run driver ThreadGroupTest * @run driver ThreadGroupTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g TwoThreadsTest.java * @run compile -g TwoThreadsTest.java
* @run driver TwoThreadsTest * @run driver TwoThreadsTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g UTF8Test.java * @run compile -g UTF8Test.java
* @run driver UTF8Test * @run driver UTF8Test

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* @author Robert Field * @author Robert Field
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @run compile -g InnerTarg.java * @run compile -g InnerTarg.java
* @run build UnpreparedByName * @run build UnpreparedByName

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,6 +29,7 @@
* @author Robert Field * @author Robert Field
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @run compile -g InnerTarg.java * @run compile -g InnerTarg.java
* @run build UnpreparedClasses * @run build UnpreparedClasses

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g HelloWorld.java * @run compile -g HelloWorld.java
* @run build VMDeathLastTest * @run build VMDeathLastTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
* @bug 4419314 * @bug 4419314
* @author Robert Field * @author Robert Field
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g HelloWorld.java * @run compile -g HelloWorld.java
* @run build VMDeathRequestTest * @run build VMDeathRequestTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author jjh * @author jjh
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g VarargsTest.java * @run compile -g VarargsTest.java
* @run driver VarargsTest * @run driver VarargsTest

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* @author Robert Field * @author Robert Field
* *
* @library scaffold * @library scaffold
* @modules jdk.jdi
* @run build JDIScaffold VMConnection * @run build JDIScaffold VMConnection
* @run compile -g Vars.java * @run compile -g Vars.java
* @run driver Vars * @run driver Vars

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @author Staffan Larsen * @author Staffan Larsen
* *
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter * @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g VisibleMethods.java * @run compile -g VisibleMethods.java
* @run driver VisibleMethods * @run driver VisibleMethods

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -27,6 +27,7 @@
* *
* This tests launches a debuggee using a custom LaunchingConnector. * This tests launches a debuggee using a custom LaunchingConnector.
* *
* @modules jdk.jdi/com.sun.tools.jdi
* @build DebugUsingCustomConnector SimpleLaunchingConnector Foo NullTransportService * @build DebugUsingCustomConnector SimpleLaunchingConnector Foo NullTransportService
* @run main/othervm DebugUsingCustomConnector * @run main/othervm DebugUsingCustomConnector
*/ */

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,6 +30,7 @@
* to encapsulate the transport. This tests that the connectors are * to encapsulate the transport. This tests that the connectors are
* created and that they have an "address" argument. * created and that they have an "address" argument.
* *
* @modules jdk.jdi
* @build GeneratedConnectors NullTransportService * @build GeneratedConnectors NullTransportService
* @run main/othervm GeneratedConnectors * @run main/othervm GeneratedConnectors
*/ */

@ -1,5 +1,5 @@
# #
# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it

Some files were not shown because too many files have changed in this diff Show More