8176176: fix @modules in jdk_svc tests

Reviewed-by: shurailine, sspitsyn
This commit is contained in:
Igor Ignatyev 2017-03-15 22:48:59 -07:00
parent ad15c7bbe4
commit 062caf2df9
444 changed files with 1258 additions and 1401 deletions

View File

@ -24,8 +24,7 @@
/* @test
* @bug 6198277
* @summary Test that each ListeningConnector that supports a "timeout" argument will
* timeout with TransportTimeoutException
* @modules jdk.jdi
* timeout with TransportTimeoutException
*/
import com.sun.jdi.Bootstrap;
import com.sun.jdi.connect.Connector;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4359628
* @summary Test fix for JDI: methods Accessible.is...() lie about array types
* @test
* @bug 4359628
* @summary Test fix for JDI: methods Accessible.is...() lie about array types
* @author Tim Bell
*
* @author Tim Bell
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g AccessSpecifierTest.java
* @run driver AccessSpecifierTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g AccessSpecifierTest.java
* @run driver AccessSpecifierTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4364671
* @summary Creating a StepRequest on a nonexistant thread fails
* @test
* @bug 4364671
* @summary Creating a StepRequest on a nonexistant thread fails
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g AfterThreadDeathTest.java
* @run driver AfterThreadDeathTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g AfterThreadDeathTest.java
* @run driver AfterThreadDeathTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,16 @@
*/
/**
* @test
* @bug 4248728
* @summary Test ReferenceType.allLineLocations
* @author Gordon Hirsch
* @test
* @bug 4248728
* @summary Test ReferenceType.allLineLocations
* @author Gordon Hirsch
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @run compile -g RefTypes.java
* @run build AllLineLocations
* @run build JDIScaffold VMConnection
* @run compile -g RefTypes.java
* @run build AllLineLocations
*
* @run driver AllLineLocations RefTypes
* @run driver AllLineLocations RefTypes
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,18 +22,16 @@
*/
/**
* @test
* @bug 4439631
* @bug 4448721
* @bug 4448603
* @summary Test access to ranges within ArrayReferences
* @test
* @bug 4439631
* @bug 4448721
* @bug 4448603
* @summary Test access to ranges within ArrayReferences
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ArrayRangeTest.java
* @run driver ArrayRangeTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ArrayRangeTest.java
* @run driver ArrayRangeTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4446677
* @bug 8158237
* @summary debuggee used to crash when debugging under jbuilder
* @test
* @bug 4446677
* @bug 8158237
* @summary debuggee used to crash when debugging under jbuilder
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g BacktraceFieldTest.java
* @run driver BacktraceFieldTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g BacktraceFieldTest.java
* @run driver BacktraceFieldTest
*/
/*

View File

@ -27,10 +27,8 @@
* @summary Test ClassLoaderReference.visibleClasses() which is
* a direct pass-through of the JVMDI function GetClassLoaderClasses
* for inclusion of primitive arrays.
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ClassLoaderClassesTest.java
* @run driver ClassLoaderClassesTest

View File

@ -24,16 +24,14 @@
/**
* @test
* @bug 4287992
* @summary ClassesByName verifies that all the classes in the
* loaded class list can be found with classesByName..
* @author Robert Field
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java
* @run build ClassesByName
*
* @summary ClassesByName verifies that all the classes in the
* loaded class list can be found with classesByName..
*
* @run driver ClassesByName HelloWorld
*/
import com.sun.jdi.*;

View File

@ -22,16 +22,17 @@
*/
/**
* @test
* @bug 4406439 4925740
* @summary ClassesByName2 verifies that all the classes in the loaded class list can be found with classesByName..
* @test
* @bug 4406439 4925740
* @summary ClassesByName2 verifies that all the classes in the loaded class list can be found with classesByName..
* @author Tim Bell (based on ClassesByName by Robert Field)
*
* @author Tim Bell (based on ClassesByName by Robert Field)
* @modules jdk.jdi
* java.desktop
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ClassesByName2Test.java
* @run driver ClassesByName2Test
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ClassesByName2Test.java
* @run driver ClassesByName2Test
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -27,7 +27,6 @@
*
* This test checks that VirtualMachineManager creates Connectors that
* are "compatible" those created by 1.4 or earilier releases.
* @modules jdk.jdi
*/
import com.sun.jdi.*;

View File

@ -22,20 +22,18 @@
*/
/**
* @test
* @bug 4329140
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InstTarg.java
* @run driver ConnectedVMs Kill
* @run driver ConnectedVMs Resume-to-exit
* @run driver ConnectedVMs dispose()
* @run driver ConnectedVMs exit()
*
* @test
* @bug 4329140
* @summary ConnectedVMs checks the method
* VirtualMachineManager.connectedVirtualMachines()
* @author Robert Field
*
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InstTarg.java
* @run driver ConnectedVMs Kill
* @run driver ConnectedVMs Resume-to-exit
* @run driver ConnectedVMs dispose()
* @run driver ConnectedVMs exit()
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 5024104
* @summary Test ReferenceType.majorVersion(), minorVersion, constantPoolCount and ConstantPool apis.
* @test
* @bug 5024104
* @summary Test ReferenceType.majorVersion(), minorVersion, constantPoolCount and ConstantPool apis.
* @author Swamy Venkataramanappa
*
* @author Swamy Venkataramanappa
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection
* @run compile -g ConstantPoolInfo.java
* @run driver ConstantPoolInfo
* @run build TestScaffold VMConnection
* @run compile -g ConstantPoolInfo.java
* @run driver ConstantPoolInfo
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,16 @@
*/
/*
* @test
* @bug 6822627
* @summary Test that ReferenceType.constantPool does not produce an NPE
* @test
* @bug 6822627
* @summary Test that ReferenceType.constantPool does not produce an NPE
* @author Egor Ushakov
*
* @author Egor Ushakov
* @modules jdk.jdi/com.sun.tools.jdi:+open
*
* @modules jdk.jdi/com.sun.tools.jdi:+open
* @run build TestScaffold VMConnection
* @run compile -g ConstantPoolInfoGC.java
* @run main/othervm ConstantPoolInfoGC
* @run build TestScaffold VMConnection
* @run compile -g ConstantPoolInfoGC.java
* @run main/othervm ConstantPoolInfoGC
*/
import com.sun.jdi.ReferenceType;

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4315352
* @summary disabling EventRequest expired with addCountFilter() throws
* InternalException.
* @test
* @bug 4315352
* @summary disabling EventRequest expired with addCountFilter() throws
* InternalException.
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g CountEvent.java
* @run driver CountEvent
* @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g CountEvent.java
* @run driver CountEvent
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4321339
* @summary Check correct processing of filters after a count filter
* @test
* @bug 4321339
* @summary Check correct processing of filters after a count filter
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g CountFilterTest.java
* @run driver CountFilterTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g CountFilterTest.java
* @run driver CountFilterTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4513488
* @summary Test for JDI: Internal JDI helper threads should setDaemon(true)
* @test
* @bug 4513488
* @summary Test for JDI: Internal JDI helper threads should setDaemon(true)
* @author Tim Bell
*
* @author Tim Bell
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g DebuggerThreadTest.java
* @run driver DebuggerThreadTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g DebuggerThreadTest.java
* @run driver DebuggerThreadTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,16 @@
*/
/**
* @test
* @bug 4528948
* @summary Unable to finish a debugging in NetBeans IDE
* @test
* @bug 4528948
* @summary Unable to finish a debugging in NetBeans IDE
* @author jjh
*
* @author jjh
* @library ..
*
* @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g DeleteAllBkptsTest.java
* @run driver DeleteAllBkptsTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g DeleteAllBkptsTest.java
* @run driver DeleteAllBkptsTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4331872
* @summary erm.deleteEventRequests(erm.breakpointRequests()) throws exception
* @test
* @bug 4331872
* @summary erm.deleteEventRequests(erm.breakpointRequests()) throws exception
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g DeleteEventRequestsTest.java
* @run driver DeleteEventRequestsTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g DeleteEventRequestsTest.java
* @run driver DeleteEventRequestsTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,15 +22,14 @@
*/
/**
* @test
* @bug 6431735
* @summary Unexpected ClassCastException in ThreadReference.forceEarlyReturn
* @author Jim Holmlund
* @test
* @bug 6431735
* @summary Unexpected ClassCastException in ThreadReference.forceEarlyReturn
* @author Jim Holmlund
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g EarlyReturnNegativeTest.java
* @run driver EarlyReturnNegativeTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g EarlyReturnNegativeTest.java
* @run driver EarlyReturnNegativeTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,22 +22,21 @@
*/
/*
* @test
* @bug 6175634
* @summary Allow early return from methods
* @test
* @bug 6175634
* @summary Allow early return from methods
*
* @bug 6431720
* @summary Unexpected InvalidTypeException when call ThreadReference.forceEarlyReturn with VoidValue
* @bug 6431720
* @summary Unexpected InvalidTypeException when call ThreadReference.forceEarlyReturn with VoidValue
*
* @bug 6432855
* @summary Need a way to create JDI VoidValue for use in ThreadReference.forceEarlyReturn
* @bug 6432855
* @summary Need a way to create JDI VoidValue for use in ThreadReference.forceEarlyReturn
*
* @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 compile -g EarlyReturnTest.java
* @run driver EarlyReturnTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g EarlyReturnTest.java
* @run driver EarlyReturnTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4728816
* @summary JPDA: Add support for enums
* @test
* @bug 4728816
* @summary JPDA: Add support for enums
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g EnumTest.java
* @run driver EnumTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g EnumTest.java
* @run driver EnumTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,21 +22,20 @@
*/
/**
* @test
* @bug 4425852
* @author Robert Field
* @test
* @bug 4425852
* @author Robert Field
*
* @modules jdk.jdi
* @run build VMConnection
* @run compile -g EventQueueDisconnectTest.java
* @run driver EventQueueDisconnectTest
*
* @summary EventQueueDisconnectTest checks to see that
* VMDisconnectedException is never thrown before VMDisconnectEvent.
* @summary EventQueueDisconnectTest checks to see that
* VMDisconnectedException is never thrown before VMDisconnectEvent.
*
* Failure mode for this test is throwing VMDisconnectedException
* on vm.eventQueue().remove();
* Does not use a scaffold since we don't want that hiding the exception.
*
* @run build VMConnection
* @run compile -g EventQueueDisconnectTest.java
* @run driver EventQueueDisconnectTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,43 +22,41 @@
*/
/**
* @test
* @bug 4407397
* @summary Test the requesting of exception events
* @test
* @bug 4407397
* @key intermittent
* @summary Test the requesting of exception events
* @author Robert Field
*
* @author Robert Field
* @run build TestScaffold VMConnection
* @run compile -g ExceptionEvents.java
*
* @key intermittent
* @modules jdk.jdi
* @run build TestScaffold VMConnection
* @run compile -g ExceptionEvents.java
*
* @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents C A StackOverflowCaughtTarg null
* @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents C A StackOverflowCaughtTarg null
* @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents C T StackOverflowCaughtTarg null
* @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents C T StackOverflowCaughtTarg null
* @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N N StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents C N StackOverflowCaughtTarg null
* @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents N N StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N N StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents C N StackOverflowCaughtTarg null
* @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents N N StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N A StackOverflowUncaughtTarg java.lang.Exception
* @run driver ExceptionEvents U A StackOverflowUncaughtTarg null
* @run driver ExceptionEvents U A StackOverflowUncaughtTarg java.lang.Error
* @run driver ExceptionEvents U A StackOverflowUncaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents N A StackOverflowUncaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N A StackOverflowUncaughtTarg java.lang.Exception
* @run driver ExceptionEvents U A StackOverflowUncaughtTarg null
* @run driver ExceptionEvents U A StackOverflowUncaughtTarg java.lang.Error
* @run driver ExceptionEvents U A StackOverflowUncaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents N A StackOverflowUncaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N T StackOverflowUncaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N N StackOverflowUncaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N T StackOverflowUncaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents N N StackOverflowUncaughtTarg java.lang.NullPointerException
*/
import com.sun.jdi.*;

View File

@ -22,17 +22,16 @@
*/
/**
* @test
* @bug 4453310
* @summary Test the deletion of event requests that are expired
* by virtue of addCountFilter.
* @test
* @bug 4453310
* @summary Test the deletion of event requests that are expired
* by virtue of addCountFilter.
*
* @author Robert Field
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ExpiredRequestDeletionTest.java
* @run driver ExpiredRequestDeletionTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ExpiredRequestDeletionTest.java
* @run driver ExpiredRequestDeletionTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4408582
* @summary Test fix for: JDWP: WatchpointEvents outside of class filtered out
* @test
* @bug 4408582
* @summary Test fix for: JDWP: WatchpointEvents outside of class filtered out
* @author Tim Bell
*
* @author Tim Bell
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FieldWatchpoints.java
* @run driver FieldWatchpoints
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FieldWatchpoints.java
* @run driver FieldWatchpoints
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4331522
* @summary addClassFilter("Foo") acts like "Foo*"
* @test
* @bug 4331522
* @summary addClassFilter("Foo") acts like "Foo*"
* @author Robert Field/Jim Holmlund
*
* @author Robert Field/Jim Holmlund
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java
* @run driver FilterMatch
* @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java
* @run driver FilterMatch
*/
/* Look at patternMatch in JDK file:

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4331522
* @summary addClassFilter("Foo") acts like "Foo*"
* @test
* @bug 4331522
* @summary addClassFilter("Foo") acts like "Foo*"
* @author Robert Field/Jim Holmlund
*
* @author Robert Field/Jim Holmlund
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java
* @run driver FilterNoMatch
* @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java
* @run driver FilterNoMatch
*/
/* This tests the patternMatch function in JDK file:

View File

@ -22,18 +22,16 @@
*/
/**
* @test
* @bug 4326648 4768329
* @summary Test to verify that table entries are generated for all final
* locals when a class is built for debug, even if they could be
* inlined otherwise.
* @test
* @bug 4326648 4768329
* @summary Test to verify that table entries are generated for all final
* locals when a class is built for debug, even if they could be
* inlined otherwise.
* @author Tim Bell
*
* @author Tim Bell
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FinalLocalsTest.java
* @run driver FinalLocalsTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FinalLocalsTest.java
* @run driver FinalLocalsTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,15 @@
*/
/**
* @test
* @bug 4272800 4274208 4392010
* @summary Test debugger operations in finalize() methods
* @author Gordon Hirsch (modified for HotSpot by tbell & rfield)
* @test
* @bug 4272800 4274208 4392010
* @summary Test debugger operations in finalize() methods
* @author Gordon Hirsch (modified for HotSpot by tbell & rfield)
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FinalizerTest.java
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FinalizerTest.java
*
* @run driver FinalizerTest
* @run driver FinalizerTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4434232
* @summary Test ThreadReference.frames(int,int)
* @test
* @bug 4434232
* @summary Test ThreadReference.frames(int,int)
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FramesTest.java
* @run driver FramesTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g FramesTest.java
* @run driver FramesTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4421040
* @summary JPDA: Add support for JSR-014 Generics
* @test
* @bug 4421040
* @summary JPDA: Add support for JSR-014 Generics
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g GenericsTest.java
* @run driver GenericsTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g GenericsTest.java
* @run driver GenericsTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4349534 4690242 4695338
* @summary regression - bad LocalVariableTable attribute when no initialization needed
* @test
* @bug 4349534 4690242 4695338
* @summary regression - bad LocalVariableTable attribute when no initialization needed
* @author Tim Bell
*
* @author Tim Bell
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g GetLocalVariables2Test.java
* @run driver GetLocalVariables2Test
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g GetLocalVariables2Test.java
* @run driver GetLocalVariables2Test
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 8021897
* @summary Test getting the value for an uninitialized String object
* @test
* @bug 8021897
* @summary Test getting the value for an uninitialized String object
* @author Staffan Larsen
*
* @author Staffan Larsen
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g GetUninitializedStringValue.java
* @run driver GetUninitializedStringValue
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g GetUninitializedStringValue.java
* @run driver GetUninitializedStringValue
*/
import com.sun.jdi.ReferenceType;
import com.sun.jdi.StackFrame;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4446294
* @summary JDI spec/impl: default "home" for CommandLineLaunch isn't java.home
* @test
* @bug 4446294
* @summary JDI spec/impl: default "home" for CommandLineLaunch isn't java.home
* @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 compile -g HomeTest.java
* @run driver HomeTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g HomeTest.java
* @run driver HomeTest
*/
import com.sun.jdi.*;
import com.sun.jdi.connect.*;

View File

@ -21,13 +21,15 @@
# questions.
#
# @test
# @bug 6287579
# @summary SubClasses of ListResourceBundle should fix getContents()
# @author Tim Bell
#
# @run shell ImmutableResourceTest.sh
# @test
# @bug 6287579
# @summary SubClasses of ListResourceBundle should fix getContents()
# @author Tim Bell
#
# @modules jdk.jdi/com.sun.tools.example.debug.tty
#
# @run shell ImmutableResourceTest.sh
#
# Beginning of subroutines:

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4312961
* @summary Verify that an instance filter on a MethodEntryRequest works
* properly.
* @test
* @bug 4312961
* @summary Verify that an instance filter on a MethodEntryRequest works
* properly.
* @author Robert Field/Jim Holmlund
*
* @author Robert Field/Jim Holmlund
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g InstanceFilter.java
* @run driver InstanceFilter
* @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g InstanceFilter.java
* @run driver InstanceFilter
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,15 +22,14 @@
*/
/**
* @test
* @bug 5024119
* @summary Add ReferenceType.getAllInstances () method to JDI.
* @author jjh
* @test
* @bug 5024119
* @summary Add ReferenceType.getAllInstances () method to JDI.
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InstancesTest.java
* @run driver InstancesTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InstancesTest.java
* @run driver InstancesTest
*/
/*

View File

@ -22,16 +22,15 @@
*/
/**
* @test
* @bug 8031195
* @bug 8071657
* @bug 8165827
* @summary JDI: Add support for static, private and default methods in interfaces
* @test
* @bug 8031195
* @bug 8071657
* @bug 8165827
* @summary JDI: Add support for static, private and default methods in interfaces
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run build InterfaceMethodsTest
* @run driver InterfaceMethodsTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run build InterfaceMethodsTest
* @run driver InterfaceMethodsTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -26,16 +26,14 @@ import com.sun.jdi.event.*;
import com.sun.jdi.request.*;
/**
* @test
* @bug 6459476
* @summary Debuggee is blocked, looks like running
* @test
* @bug 6459476
* @summary Debuggee is blocked, looks like running
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InterruptHangTest.java
* @run driver InterruptHangTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InterruptHangTest.java
* @run driver InterruptHangTest
*/
/**

View File

@ -22,17 +22,18 @@
*/
/**
* @test
* @bug 6293795
* @summary Backend hangs when invokeMethod is called from a JDI eventHandler
* @test
* @bug 6293795
* @summary Backend hangs when invokeMethod is called from a JDI eventHandler
* @author jjh
*
* @author jjh
* @library /test/lib
* @modules java.management
* jdk.jdi
*
* @modules jdk.jdi
* @library /test/lib
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InvokeHangTest.java
* @run driver InvokeHangTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InvokeHangTest.java
* @run driver InvokeHangTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,16 @@
*/
/**
* @test
* @bug 4451941 4527072
* @summary Test argument types for invoke
* @test
* @bug 4451941 4527072
* @summary Test argument types for invoke
* @author Robert Field
*
* @author Robert Field
* @library ..
*
* @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InvokeTest.java
* @run driver InvokeTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g InvokeTest.java
* @run driver InvokeTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -24,17 +24,16 @@
#
#
# @test JITDebug.sh 1.7 03/09/05
# @bug 4291701 4376819 4422312 4522770 4913748
# @summary Test JIT debugging - assure that launching on
# uncaught exception works
# @author Tim Bell
# Based on test/java/awt/TEMPLATE/AutomaticShellTest.sh
# @test JITDebug.sh 1.7 03/09/05
# @bug 4291701 4376819 4422312 4522770 4913748
# @summary Test JIT debugging - assure that launching on
# uncaught exception works
# @author Tim Bell
# Based on test/java/awt/TEMPLATE/AutomaticShellTest.sh
#
# @modules jdk.jdi
# @run build TestScaffold VMConnection TargetListener TargetAdapter
# @run compile -g JITDebug.java
# @run shell JITDebug.sh
# @run build TestScaffold VMConnection TargetListener TargetAdapter
# @run compile -g JITDebug.java
# @run shell JITDebug.sh
# Beginning of subroutines:
status=1

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4500906 4433599 4740097
* @summary vmexec= debug java fails for SunCommandLineLauncher
* @test
* @bug 4500906 4433599 4740097
* @summary vmexec= debug java fails for SunCommandLineLauncher
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g Java_gTest.java
* @run driver Java_gTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g Java_gTest.java
* @run driver Java_gTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,15 +22,13 @@
*/
/**
* @test
* @summary Test stepping through lambdas
* @test
* @summary Test stepping through lambdas
* @author Staffan Larsen
*
* @author Staffan Larsen
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LambdaStepTest.java
* @run driver LambdaStepTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LambdaStepTest.java
* @run driver LambdaStepTest
*/
import com.sun.jdi.LocalVariable;
import com.sun.jdi.ObjectReference;

View File

@ -22,17 +22,16 @@
*/
/**
* @test
* @bug 4245011
* @summary Test launcher command line construction
* @author Gordon Hirsch
* @test
* @bug 4245011
* @summary Test launcher command line construction
* @author Gordon Hirsch
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java
* @run build LaunchCommandLine
* @run build JDIScaffold VMConnection
* @run compile -g HelloWorld.java
* @run build LaunchCommandLine
*
* @run driver LaunchCommandLine
* @run driver LaunchCommandLine
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -27,7 +27,6 @@
* @summary Test javac regressions in the generation of line number info
* @author Gordon Hirsch
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -XDstringConcat=inline -g LineNumberInfo.java ControlFlow.java
*

View File

@ -26,7 +26,6 @@
* @summary Test that startListening(Map) method of the com.sun.jdi.SocketListen
* Connector returns an address that is usable for the address option on
* remove debuggees.
* @modules jdk.jdi
*/
import java.net.InetAddress;
import java.net.Inet4Address;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4916263
* @summary Test
* @test
* @bug 4916263
* @summary Test
* @author Serguei Spitsyn
*
* @author Serguei Spitsyn
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LocalVariableEqual.java
* @run driver LocalVariableEqual
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LocalVariableEqual.java
* @run driver LocalVariableEqual
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4419453
* @summary Test that Method.location() returns the right values
* @test
* @bug 4419453
* @summary Test that Method.location() returns the right values
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LocationTest.java
* @run driver LocationTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g LocationTest.java
* @run driver LocationTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,16 @@
*/
/**
* @test
* @bug 4409241 4432820
* @summary Test the bug fix for: MethodExitEvents disappear when Object-Methods are called from main
* @author Tim Bell
* @test
* @bug 4409241 4432820
* @summary Test the bug fix for: MethodExitEvents disappear when Object-Methods are called from main
* @author Tim Bell
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MethodEntryExitEvents.java
* @run driver MethodEntryExitEvents SUSPEND_EVENT_THREAD MethodEntryExitEventsDebugee
* @run driver MethodEntryExitEvents SUSPEND_NONE MethodEntryExitEventsDebugee
* @run driver MethodEntryExitEvents SUSPEND_ALL MethodEntryExitEventsDebugee
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MethodEntryExitEvents.java
* @run driver MethodEntryExitEvents SUSPEND_EVENT_THREAD MethodEntryExitEventsDebugee
* @run driver MethodEntryExitEvents SUSPEND_NONE MethodEntryExitEventsDebugee
* @run driver MethodEntryExitEvents SUSPEND_ALL MethodEntryExitEventsDebugee
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,15 +22,14 @@
*/
/**
* @test
* @bug 4195445 6204179
* @summary JDWP, JDI: Add return value to Method Exit Event
* @author Jim Holmlund
* @test
* @bug 4195445 6204179
* @summary JDWP, JDI: Add return value to Method Exit Event
* @author Jim Holmlund
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MethodExitReturnValuesTest.java
* @run driver MethodExitReturnValuesTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MethodExitReturnValuesTest.java
* @run driver MethodExitReturnValuesTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -23,16 +23,14 @@
# questions.
#
# @test
# @bug 6224859
# @summary JDWP: Mixing application suspends and debugger suspends can cause hangs
#
# @author Jim Holmlund
#
# @key intermittent
# @modules jdk.jdi
# @run build TestScaffold VMConnection TargetListener TargetAdapter
# @run shell MixedSuspendTest.sh
# @test
# @bug 6224859
# @key intermittent
# @summary JDWP: Mixing application suspends and debugger suspends can cause hangs
# @author Jim Holmlund
#
# @run build TestScaffold VMConnection TargetListener TargetAdapter
# @run shell MixedSuspendTest.sh
classname=MixedSuspendTarg
@ -84,7 +82,7 @@ public class $classname extends Thread {
int i = 0;
}
}
System.out.println("Debuggee: end of thread");
}
@ -113,7 +111,7 @@ mysetup()
for ii in . $TESTSRC $TESTSRC/.. ; do
if [ -r "$ii/ShellScaffold.sh" ] ; then
. $ii/ShellScaffold.sh
. $ii/ShellScaffold.sh
break
fi
done

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4409582
* @summary Test all info returned by modification watchpoints
* @test
* @bug 4409582
* @summary Test all info returned by modification watchpoints
* @author Daniel Prusa (or someone in the FFJ group)
* @author Robert Field (modified to JDIScaffold)
*
* @author Daniel Prusa (or someone in the FFJ group)
* @author Robert Field (modified to JDIScaffold)
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @run compile -g ModificationWatchpoints.java
* @run driver ModificationWatchpoints
* @run build JDIScaffold VMConnection
* @run compile -g ModificationWatchpoints.java
* @run driver ModificationWatchpoints
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,14 +22,13 @@
*/
/**
* @test
* @bug 8049365
* @summary Tests the JDI and JDWP update for modules
* @test
* @bug 8049365
* @summary Tests the JDI and JDWP update for modules
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ModulesTest.java
* @run driver ModulesTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ModulesTest.java
* @run driver ModulesTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4401399
* @summary Simple basic test of jdi Monitor request and event.
* @test
* @bug 4401399
* @summary Simple basic test of jdi Monitor request and event.
* @author Swamy Venkataramanappa
*
* @author Swamy Venkataramanappa
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MonitorEventTest.java
* @run driver MonitorEventTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MonitorEventTest.java
* @run driver MonitorEventTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,16 @@
*/
/**
* @test
* @bug 6230699
* @summary Test ThreadReference.ownedMonitorsAndFrames()
* @bug 6701700
* @summary MonitorInfo objects aren't invalidated when the owning thread is resumed
* @author Swamy Venkataramanappa
* @test
* @bug 6230699
* @summary Test ThreadReference.ownedMonitorsAndFrames()
* @bug 6701700
* @summary MonitorInfo objects aren't invalidated when the owning thread is resumed
* @author Swamy Venkataramanappa
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MonitorFrameInfo.java
* @run driver MonitorFrameInfo
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MonitorFrameInfo.java
* @run driver MonitorFrameInfo
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -23,16 +23,14 @@
/**
* @test
* @bug 4359247
* @summary Breakpoints on multiple threads have problems.
* @test
* @bug 4359247
* @summary Breakpoints on multiple threads have problems.
* @author tbell, jjh
*
* @author tbell, jjh
*
* @modules jdk.jdi
* @build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MultiBreakpointsTest.java
* @run driver MultiBreakpointsTest
* @build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g MultiBreakpointsTest.java
* @run driver MultiBreakpointsTest
*/
/*

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 6426034
* @summary Instance filter doesn't filter event if it occurs in native method
* @test
* @bug 6426034
* @summary Instance filter doesn't filter event if it occurs in native method
* @author Keith McGuigan
*
* @author Keith McGuigan
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @compile -XDignore.symbol.file NativeInstanceFilterTarg.java
* @run driver NativeInstanceFilter
* @run build JDIScaffold VMConnection
* @compile -XDignore.symbol.file NativeInstanceFilterTarg.java
* @run driver NativeInstanceFilter
*/
/*

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4419450
* @summary Test newInstance() for arrays - currently covers
* only reference type arrays (see bug #4450091).
* @test
* @bug 4419450
* @summary Test newInstance() for arrays - currently covers
* only reference type arrays (see bug #4450091).
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g NewInstanceTest.java
* @run driver NewInstanceTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g NewInstanceTest.java
* @run driver NewInstanceTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -30,8 +30,9 @@ import jdk.testlibrary.ProcessTools;
* @bug 4554734 4724714
* @summary Test for -Xrunjdwp:[onthrow,onuncaught] suboptions require launch suboption
* @author Tim Bell
*
* @library /lib/testlibrary
* @modules jdk.jdi
*
* @run compile -g NoLaunchOptionTest.java
* @build jdk.testlibrary.* VMConnection
* @run driver NoLaunchOptionTest

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4642611
* @summary Test that method.allLineLocations() should
* throw AbsentInformationException exception
* @test
* @bug 4642611
* @summary Test that method.allLineLocations() should
* throw AbsentInformationException exception
* @author Serguei Spitsyn
*
* @author Serguei Spitsyn
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g:none NoLocInfoTest.java
* @run driver NoLocInfoTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g:none NoLocInfoTest.java
* @run driver NoLocInfoTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,13 +22,12 @@
*/
/**
* @test
* @bug 7105883
* @summary Ensure that JDWP doesn't crash with a null thread group name
* @test
* @bug 7105883
* @summary Ensure that JDWP doesn't crash with a null thread group name
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run driver NullThreadGroupNameTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run driver NullThreadGroupNameTest
*/
import com.sun.jdi.*;
import com.sun.jdi.connect.*;

View File

@ -22,16 +22,15 @@
*/
/*
* @test OnThrowTest.java
* @bug 6263814
* @summary Test for -agentlib::[onthrow,launch]
* @author Kelly O'Hair
* @test OnThrowTest.java
* @bug 6263814
* @summary Test for -agentlib::[onthrow,launch]
* @author Kelly O'Hair
*
* @modules jdk.jdi
* @run compile -g OnThrowTest.java
* @run compile -g OnThrowTarget.java
* @run compile -g VMConnection.java
* @run driver OnThrowTest
* @run compile -g OnThrowTest.java
* @run compile -g OnThrowTarget.java
* @run compile -g VMConnection.java
* @run driver OnThrowTest
*/
import java.io.File;

View File

@ -22,16 +22,15 @@
*/
/*
* @test OptionTest
* @bug 5095072
* @summary Test for misc jdwp options, just that the option is parsed
* @author Kelly O'Hair (copied from Tim Bell's NoLaunchOptionTest)
* @test OptionTest
* @bug 5095072
* @summary Test for misc jdwp options, just that the option is parsed
* @author Kelly O'Hair (copied from Tim Bell's NoLaunchOptionTest)
*
* @modules jdk.jdi
* @run compile -g OptionTest.java
* @run compile -g HelloWorld.java
* @run compile -g VMConnection.java
* @run driver OptionTest
* @run compile -g OptionTest.java
* @run compile -g HelloWorld.java
* @run compile -g VMConnection.java
* @run driver OptionTest
*/
import java.net.ServerSocket;

View File

@ -22,17 +22,16 @@
*/
/**
* @test
* @bug 6517249
* @modules jdk.jdi
* @ignore 6951287
* @summary JDWP: Cannot do an invokeMethod after a popFrames operation
* @test
* @bug 6517249
* @summary JDWP: Cannot do an invokeMethod after a popFrames operation
* @author jjh
*
* @author jjh
* @ignore 6951287
*
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g PopAndInvokeTest.java
* @run driver PopAndInvokeTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g PopAndInvokeTest.java
* @run driver PopAndInvokeTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4467564
* @summary Test the popping of frames in an asynchronous context
* (that is, when suspended by the debugger at random points)
* @test
* @bug 4467564
* @summary Test the popping of frames in an asynchronous context
* (that is, when suspended by the debugger at random points)
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g PopAsynchronousTest.java
* @run driver PopAsynchronousTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g PopAsynchronousTest.java
* @run driver PopAsynchronousTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4467564
* @summary Test the popping of frames in synchronous context
* (that is, when stopped at an event)
* @test
* @bug 4467564
* @summary Test the popping of frames in synchronous context
* (that is, when stopped at an event)
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g PopSynchronousTest.java
* @run driver PopSynchronousTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g PopSynchronousTest.java
* @run driver PopSynchronousTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,52 +22,52 @@
*/
/**
* @test
* @bug 4628726
* @summary Test class redefinition at each event cross tested with other tests
* @test
* @bug 4628726
* @summary Test class redefinition at each event cross tested with other tests
* @author Robert Field
*
* @author Robert Field
* @modules java.corba
* jdk.jdi
*
* @modules java.corba
* jdk.jdi
* @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g AccessSpecifierTest.java
* @run compile -g AfterThreadDeathTest.java
* @run compile -g ArrayRangeTest.java
* @run compile -g BacktraceFieldTest.java
* @run compile -g ClassesByName2Test.java
* @run compile -g DebuggerThreadTest.java
* @run compile -g DeleteEventRequestsTest.java
* @run compile -g ExceptionEvents.java
* @run compile -g ExpiredRequestDeletionTest.java
* @run compile -g FieldWatchpoints.java
* @run build InstanceFilter
* @run compile -g LocationTest.java
* @run compile -g NewInstanceTest.java
* @run compile -g PopSynchronousTest.java
* @run compile -g RepStepTarg.java
* @run compile -g RequestReflectionTest.java
* @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g AccessSpecifierTest.java
* @run compile -g AfterThreadDeathTest.java
* @run compile -g ArrayRangeTest.java
* @run compile -g BacktraceFieldTest.java
* @run compile -g ClassesByName2Test.java
* @run compile -g DebuggerThreadTest.java
* @run compile -g DeleteEventRequestsTest.java
* @run compile -g ExceptionEvents.java
* @run compile -g ExpiredRequestDeletionTest.java
* @run compile -g FieldWatchpoints.java
* @run build InstanceFilter
* @run compile -g LocationTest.java
* @run compile -g NewInstanceTest.java
* @run compile -g PopSynchronousTest.java
* @run compile -g RepStepTarg.java
* @run compile -g RequestReflectionTest.java
*
* @run driver AccessSpecifierTest -redefstart -redefevent
* @run driver AfterThreadDeathTest -redefstart -redefevent
* @run driver ArrayRangeTest -redefstart -redefevent
* @run driver BacktraceFieldTest -redefstart -redefevent
* @run driver ClassesByName2Test -redefstart -redefevent
* @run driver DebuggerThreadTest -redefstart -redefevent
* @run driver DeleteEventRequestsTest -redefstart -redefevent
* @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents -redefstart -redefevent C A StackOverflowCaughtTarg null
* @run driver ExceptionEvents -redefstart -redefevent C A StackOverflowCaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents -redefstart -redefevent C T StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents -redefstart -redefevent N T StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents -redefstart -redefevent N N StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents -redefstart -redefevent C N StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowUncaughtTarg java.lang.Exception
* @run driver ExpiredRequestDeletionTest -redefstart -redefevent
* @run driver FieldWatchpoints -redefstart -redefevent
* @run driver InstanceFilter -redefstart -redefevent
* @run driver LocationTest -redefstart -redefevent
* @run driver NewInstanceTest -redefstart -redefevent
* @run driver RequestReflectionTest -redefstart -redefevent
* @run driver AccessSpecifierTest -redefstart -redefevent
* @run driver AfterThreadDeathTest -redefstart -redefevent
* @run driver ArrayRangeTest -redefstart -redefevent
* @run driver BacktraceFieldTest -redefstart -redefevent
* @run driver ClassesByName2Test -redefstart -redefevent
* @run driver DebuggerThreadTest -redefstart -redefevent
* @run driver DeleteEventRequestsTest -redefstart -redefevent
* @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents -redefstart -redefevent C A StackOverflowCaughtTarg null
* @run driver ExceptionEvents -redefstart -redefevent C A StackOverflowCaughtTarg java.lang.StackOverflowError
* @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents -redefstart -redefevent C T StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents -redefstart -redefevent N T StackOverflowCaughtTarg java.lang.NullPointerException
* @run driver ExceptionEvents -redefstart -redefevent N N StackOverflowCaughtTarg java.lang.Exception
* @run driver ExceptionEvents -redefstart -redefevent C N StackOverflowCaughtTarg java.lang.Error
* @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowUncaughtTarg java.lang.Exception
* @run driver ExpiredRequestDeletionTest -redefstart -redefevent
* @run driver FieldWatchpoints -redefstart -redefevent
* @run driver InstanceFilter -redefstart -redefevent
* @run driver LocationTest -redefstart -redefevent
* @run driver NewInstanceTest -redefstart -redefevent
* @run driver RequestReflectionTest -redefstart -redefevent
*/

View File

@ -22,29 +22,28 @@
*/
/**
* @test
* @bug 4628726
* @summary Test class redefinition at start only (they use breakpoint
* or resumeTo()) cross tested with other tests.
* ExceptionEvents/StackOverflowUncaughtTarg are here because they hit
* an unrelated crash in event testing.
* @test
* @bug 4628726
* @summary Test class redefinition at start only (they use breakpoint
* or resumeTo()) cross tested with other tests.
* ExceptionEvents/StackOverflowUncaughtTarg are here because they hit
* an unrelated crash in event testing.
*
* @author Robert Field
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g CountEvent.java
* @run compile -g CountFilterTest.java
* @run compile -g FramesTest.java
* @run compile -g InvokeTest.java
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g CountEvent.java
* @run compile -g CountFilterTest.java
* @run compile -g FramesTest.java
* @run compile -g InvokeTest.java
*
* @run driver CountEvent -redefstart
* @run driver CountFilterTest -redefstart
* @run driver FramesTest -redefstart
* @run driver InvokeTest -redefstart
* @run driver CountEvent -redefstart
* @run driver CountFilterTest -redefstart
* @run driver FramesTest -redefstart
* @run driver InvokeTest -redefstart
*
* @run driver ExceptionEvents -redefstart U A StackOverflowUncaughtTarg null
* @run driver ExceptionEvents -redefstart U A StackOverflowUncaughtTarg java.lang.Error
* @run driver ExceptionEvents -redefstart U A StackOverflowUncaughtTarg java.lang.StackOverflowError
* @run driver PopSynchronousTest -redefstart
* @run driver ExceptionEvents -redefstart U A StackOverflowUncaughtTarg null
* @run driver ExceptionEvents -redefstart U A StackOverflowUncaughtTarg java.lang.Error
* @run driver ExceptionEvents -redefstart U A StackOverflowUncaughtTarg java.lang.StackOverflowError
* @run driver PopSynchronousTest -redefstart
*/

View File

@ -22,15 +22,14 @@
*/
/**
* @test
* @bug 5089849
* @summary Add support for backtracking reference graph.
* @author jjh
* @test
* @bug 5089849
* @summary Add support for backtracking reference graph.
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ReferrersTest.java
* @run driver ReferrersTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ReferrersTest.java
* @run driver ReferrersTest
*/
/*

View File

@ -22,18 +22,16 @@
*/
/**
* @test
* @bug 4334008
* @author Robert Field
*
* @modules jdk.jdi
* @run compile -g RepStepTarg.java
* @run build VMConnection RepStep
*
* @run driver RepStep
*
* @test
* @bug 4334008
* @summary RepStep detects missed step events due to lack of
* frame pop events (in back-end).
* @author Robert Field
*
* @run compile -g RepStepTarg.java
* @run build VMConnection RepStep
*
* @run driver RepStep
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4425840
* @author Robert Field
* @test
* @bug 4425840
* @summary RequestReflectionTest checks to see that reflective
* accessors on EventRequests return what they are given.
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g RequestReflectionTest.java
* @run driver RequestReflectionTest
*
* @summary RequestReflectionTest checks to see that reflective
* accessors on EventRequests return what they are given.
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g RequestReflectionTest.java
* @run driver RequestReflectionTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 6700889
* @summary Thread resume invalidates all stack frames, even from other threads
* @test
* @bug 6700889
* @summary Thread resume invalidates all stack frames, even from other threads
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ResumeOneThreadTest.java
* @run driver ResumeOneThreadTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g ResumeOneThreadTest.java
* @run driver ResumeOneThreadTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,15 @@
*/
/**
* @test
* @bug 4621289
* @summary vm.setDefaultStratum(null) causes a Null Ptr exception
* @test
* @bug 4621289
* @summary vm.setDefaultStratum(null) causes a Null Ptr exception
*
* @author jjh
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SDENullTest.java
* @run driver SDENullTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SDENullTest.java
* @run driver SDENullTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 6751643
* @summary ThreadReference.ownedMonitors() can return null
* @test
* @bug 6751643
* @key intermittent
* @summary ThreadReference.ownedMonitors() can return null
* @author jjh
*
* @author jjh
*
* @key intermittent
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SimulResumerTest.java
* @run driver SimulResumerTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SimulResumerTest.java
* @run driver SimulResumerTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,18 +22,16 @@
*/
/**
* @test
* @bug 4836939 6646613
* @summary JDI add addSourceNameFilter to ClassPrepareRequest
* @test
* @bug 4836939 6646613
* @summary JDI add addSourceNameFilter to ClassPrepareRequest
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SourceNameFilterTest.java
* @run driver SourceNameFilterTest
* @run compile -g:none SourceNameFilterTest.java
* @run driver SourceNameFilterTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SourceNameFilterTest.java
* @run driver SourceNameFilterTest
* @run compile -g:none SourceNameFilterTest.java
* @run driver SourceNameFilterTest
*/
// The compile -g:none suppresses the lineNumber table to trigger bug 6646613.

View File

@ -22,16 +22,15 @@
*/
/**
* @test
* @bug 4270488 4787861
* @author Gordon Hirsch
* @test
* @bug 4270488 4787861
* @author Gordon Hirsch
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g MethodCalls.java
* @run compile -g MethodCallsReflection.java
* @run compile -g ControlFlow.java
* @run build StepTest
* @run build TestScaffold VMConnection TargetAdapter TargetListener
* @run compile -g MethodCalls.java
* @run compile -g MethodCallsReflection.java
* @run compile -g ControlFlow.java
* @run build StepTest
*
* @summary StepTest starts at a method named "go()" in the debuggee and
* repetitively steps. It will do a step into until the maximum
@ -46,21 +45,21 @@
* for the debuggee files- MethodCalls.java, ...
* See LineNumberInfo.java for more info.
*
* +--- maximum stack depth in debuggee
* | +--- step granularity: "line" or "min"
* | | +---Expected number of steps
* | | | +--- Debuggee command Line
* V V V V Workaround-----+
* V
* @run driver StepTest 2 line 2 MethodCalls
* @run driver StepTest 3 line 14 MethodCalls
* +--- maximum stack depth in debuggee
* | +--- step granularity: "line" or "min"
* | | +---Expected number of steps
* | | | +--- Debuggee command Line
* V V V V Workaround-----+
* V
* @run driver StepTest 2 line 2 MethodCalls
* @run driver StepTest 3 line 14 MethodCalls
*
* @run driver StepTest 2 line 18 MethodCallsReflection 12
* @run driver StepTest 2 line 18 MethodCallsReflection 12
*
* @run driver StepTest 2 min 4 MethodCalls
* @run driver StepTest 3 min 43 MethodCalls
* @run driver StepTest 2 min 4 MethodCalls
* @run driver StepTest 3 min 43 MethodCalls
*
* @run driver StepTest 2 line 65 ControlFlow 64
* @run driver StepTest 2 line 65 ControlFlow 64
*/
/*

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 6485605
* @summary com.sun.jdi.InternalException: Inconsistent suspend policy in internal event handler
* @test
* @bug 6485605
* @summary com.sun.jdi.InternalException: Inconsistent suspend policy in internal event handler
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SuspendThreadTest.java
* @run driver SuspendThreadTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g SuspendThreadTest.java
* @run driver SuspendThreadTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -0,0 +1,2 @@
modules = jdk.jdi

View File

@ -25,16 +25,14 @@
// TEMPLATE: change bug number and fill out <SUMMARY> and <AUTHOR>
// TEMPLATE: delete TEMPLATE lines
/**
* @test
* @bug 0000000
* @summary <SUMMARY>
* @test
* @bug 0000000
* @summary <SUMMARY>
* @author <AUTHOR>
*
* @author <AUTHOR>
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g TemplateTest.java
* @run driver TemplateTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g TemplateTest.java
* @run driver TemplateTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,15 @@
*/
/**
* @test
* @bug 4893530
* @summary If JDI is initially started from a thread group that is subsequently
* destroyed this should not impact subsequent thread creation by
* the virtual machine manager.
* @test
* @bug 4893530
* @summary If JDI is initially started from a thread group that is subsequently
* destroyed this should not impact subsequent thread creation by
* the virtual machine manager.
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile ThreadGroupTest.java
* @run driver ThreadGroupTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile ThreadGroupTest.java
* @run driver ThreadGroupTest
*/
import com.sun.jdi.*;
import com.sun.jdi.connect.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 6296125
* @summary JDI: Disabling an EventRequest can cause a multi-threaded debuggee to hang
* @test
* @bug 6296125
* @summary JDI: Disabling an EventRequest can cause a multi-threaded debuggee to hang
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g TwoThreadsTest.java
* @run driver TwoThreadsTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g TwoThreadsTest.java
* @run driver TwoThreadsTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 5033550
* @summary JDWP back end uses modified UTF-8
* @test
* @bug 5033550
* @summary JDWP back end uses modified UTF-8
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g UTF8Test.java
* @run driver UTF8Test
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g UTF8Test.java
* @run driver UTF8Test
*/
/*

View File

@ -22,18 +22,17 @@
*/
/**
* @test
* @bug 4368402
* @summary UnpreparedByName verifies that unprepared classes
* won't be returned by classesByName.
* @author Robert Field
* @test
* @bug 4368402
* @summary UnpreparedByName verifies that unprepared classes
* won't be returned by classesByName.
* @author Robert Field
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @run compile -g InnerTarg.java
* @run build UnpreparedByName
* @run build JDIScaffold VMConnection
* @run compile -g InnerTarg.java
* @run build UnpreparedByName
*
* @run driver UnpreparedByName InnerTarg
* @run driver UnpreparedByName InnerTarg
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,18 +22,17 @@
*/
/**
* @test
* @bug 4368402
* @summary UnpreparedClasses verifies that all the classes in the
* loaded class list are prepared classes.
* @author Robert Field
* @test
* @bug 4368402
* @summary UnpreparedClasses verifies that all the classes in the
* loaded class list are prepared classes.
* @author Robert Field
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @run compile -g InnerTarg.java
* @run build UnpreparedClasses
* @run build JDIScaffold VMConnection
* @run compile -g InnerTarg.java
* @run build UnpreparedClasses
*
* @run driver UnpreparedClasses InnerTarg
* @run driver UnpreparedClasses InnerTarg
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,17 +22,15 @@
*/
/**
* @test
* @bug 4420844 4449394
* @summary Checks that no events are sent after VMDeath, and test vm.canBeModified
* @test
* @bug 4420844 4449394
* @summary Checks that no events are sent after VMDeath, and test vm.canBeModified
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g HelloWorld.java
* @run build VMDeathLastTest
* @run driver VMDeathLastTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g HelloWorld.java
* @run build VMDeathLastTest
* @run driver VMDeathLastTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,22 +22,20 @@
*/
/**
* @test
* @bug 4419314
* @author Robert Field
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g HelloWorld.java
* @run build VMDeathRequestTest
* @run driver VMDeathRequestTest
*
* @test
* @bug 4419314
* @summary VMDeathRequestTest checks to see that
* VMDisconnectedException is never thrown before VMDisconnectEvent.
*
* Failure mode for this test is throwing VMDisconnectedException
* on vm.eventQueue().remove();
* Does not use a scaffold since we don't want that hiding the exception.
* @author Robert Field
*
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g HelloWorld.java
* @run build VMDeathRequestTest
* @run driver VMDeathRequestTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @bug 4870984
* @summary JPDA: Add support for RFE 4856541 - varargs
* @test
* @bug 4870984
* @summary JPDA: Add support for RFE 4856541 - varargs
* @author jjh
*
* @author jjh
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g VarargsTest.java
* @run driver VarargsTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g VarargsTest.java
* @run driver VarargsTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,15 +22,13 @@
*/
/**
* @test
* @summary Test Method.variables() and the like.
* @test
* @summary Test Method.variables() and the like.
* @author Robert Field
*
* @author Robert Field
*
* @modules jdk.jdi
* @run build JDIScaffold VMConnection
* @run compile -g Vars.java
* @run driver Vars
* @run build JDIScaffold VMConnection
* @run compile -g Vars.java
* @run driver Vars
*/
import com.sun.jdi.*;

View File

@ -22,16 +22,14 @@
*/
/**
* @test
* @summary Test ReferenceType.visibleMethods
* @bug 8028430
* @test
* @summary Test ReferenceType.visibleMethods
* @bug 8028430
* @author Staffan Larsen
*
* @author Staffan Larsen
*
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g VisibleMethods.java
* @run driver VisibleMethods
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g VisibleMethods.java
* @run driver VisibleMethods
*/
import com.sun.jdi.Method;
import com.sun.jdi.ReferenceType;

View File

@ -30,7 +30,6 @@
* to encapsulate the transport. This tests that the connectors are
* created and that they have an "address" argument.
*
* @modules jdk.jdi/com.sun.tools.jdi
* @build GeneratedConnectors NullTransportService SimpleLaunchingConnector
* @run main/othervm GeneratedConnectors
*/

View File

@ -22,20 +22,20 @@
*/
/**
* @test
* @bug 4287595
* @bug 4462989
* @bug 4531511
* @summary Test class redefinition
* @test
* @bug 4287595
* @bug 4462989
* @bug 4531511
* @summary Test class redefinition
*
* @author Robert Field
* @author Robert Field
*
* @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g RedefineTest.java
* @run shell RedefineSetUp.sh
* @run driver RedefineTest
* @library ..
*
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g RedefineTest.java
* @run shell RedefineSetUp.sh
* @run driver RedefineTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -22,19 +22,18 @@
*/
/**
* @test
* @bug 4628726
* @summary Test class redefinition - method data line numbers and local vars,
* @test
* @bug 4628726
* @summary Test class redefinition - method data line numbers and local vars,
* @author Robert Field
*
* @author Robert Field
* @library ..
*
* @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g RedefineTest.java
* @run shell RedefineSetUp.sh
* @run driver RedefineTest -repeat 3
* @run driver RedefineTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter
* @run compile -g RedefineTest.java
* @run shell RedefineSetUp.sh
* @run driver RedefineTest -repeat 3
* @run driver RedefineTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -1,31 +1,30 @@
/**
* @test
* @bug 4836939
* @summary JDI add addSourceNameFilter to ClassPrepareRequest
* @test
* @bug 4836939
* @key intermittent
* @summary JDI add addSourceNameFilter to ClassPrepareRequest
* @author Robert Field / Jim Holmlund
*
* @author Robert Field / Jim Holmlund
* @library ..
*
* @key intermittent
* @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE
* @run compile FilterMangleTest.java
* @run compile -g onion/pickle/Mangle.java
* @run driver FilterMangleTest
* @run driver FilterMangleTest SDE-pMangle.java*
* @run driver FilterMangleTest SDE-pMangle.jav*
* @run driver FilterMangleTest SDE-pMangle.j*
* @run driver FilterMangleTest SDE-p*Mangle.java
* @run driver FilterMangleTest SDE-p*angle.java
* @run driver FilterMangleTest SDE-p*java
* @run driver FilterMangleTest SDE-pMangle.xyz
* @run driver FilterMangleTest SDE-pIncl.rats*
* @run driver FilterMangleTest SDE-pIncl.rat*
* @run driver FilterMangleTest SDE-p*angle.rats
* @run driver FilterMangleTest SDE-f*Incl.rat
* @run driver FilterMangleTest SDE-ffred
* @run driver FilterMangleTest SDE-f*ratsx
* @run driver FilterMangleTest SDE-fMangle.javax*
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE
* @run compile FilterMangleTest.java
* @run compile -g onion/pickle/Mangle.java
* @run driver FilterMangleTest
* @run driver FilterMangleTest SDE-pMangle.java*
* @run driver FilterMangleTest SDE-pMangle.jav*
* @run driver FilterMangleTest SDE-pMangle.j*
* @run driver FilterMangleTest SDE-p*Mangle.java
* @run driver FilterMangleTest SDE-p*angle.java
* @run driver FilterMangleTest SDE-p*java
* @run driver FilterMangleTest SDE-pMangle.xyz
* @run driver FilterMangleTest SDE-pIncl.rats*
* @run driver FilterMangleTest SDE-pIncl.rat*
* @run driver FilterMangleTest SDE-p*angle.rats
* @run driver FilterMangleTest SDE-f*Incl.rat
* @run driver FilterMangleTest SDE-ffred
* @run driver FilterMangleTest SDE-f*ratsx
* @run driver FilterMangleTest SDE-fMangle.javax*
*/
/*

View File

@ -1,21 +1,20 @@
/**
* @test
* @bug 4390869
* @bug 4460328
* @summary Test Stepping in the new SourceDebugExtension facility
* @test
* @bug 4390869
* @bug 4460328
* @summary Test Stepping in the new SourceDebugExtension facility
* @author Robert Field
*
* @author Robert Field
* @library ..
*
* @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE
* @run compile MangleStepTest.java
* @run compile -g onion/pickle/Mangle.java
* @run driver MangleStepTest unset
* @run driver MangleStepTest Java
* @run driver MangleStepTest XYZ
* @run driver MangleStepTest Rats
* @run driver MangleStepTest bogus
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE
* @run compile MangleStepTest.java
* @run compile -g onion/pickle/Mangle.java
* @run driver MangleStepTest unset
* @run driver MangleStepTest Java
* @run driver MangleStepTest XYZ
* @run driver MangleStepTest Rats
* @run driver MangleStepTest bogus
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -1,17 +1,16 @@
/**
* @test
* @bug 4390869
* @bug 4460328
* @summary Test the new SourceDebugExtension facility
* @test
* @bug 4390869
* @bug 4460328
* @summary Test the new SourceDebugExtension facility
* @author Robert Field
*
* @author Robert Field
* @library ..
*
* @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE
* @run compile MangleTest.java
* @run compile -g onion/pickle/Mangle.java
* @run driver MangleTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE
* @run compile MangleTest.java
* @run compile -g onion/pickle/Mangle.java
* @run driver MangleTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -1,17 +1,16 @@
/**
* @test
* @bug 4390869
* @bug 4460328
* @summary Test the new SourceDebugExtension facility
* @test
* @bug 4390869
* @bug 4460328
* @summary Test the new SourceDebugExtension facility
* @author Robert Field
*
* @author Robert Field
* @library ..
*
* @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE
* @run compile SourceDebugExtensionTest.java
* @run compile -g SourceDebugExtensionTarg.java
* @run driver SourceDebugExtensionTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE
* @run compile SourceDebugExtensionTest.java
* @run compile -g SourceDebugExtensionTarg.java
* @run driver SourceDebugExtensionTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -1,17 +1,16 @@
/**
* @test
* @bug 4390869
* @bug 4460328
* @summary Test the new SourceDebugExtension facility
* @test
* @bug 4390869
* @bug 4460328
* @summary Test the new SourceDebugExtension facility
* @author Robert Field
*
* @author Robert Field
* @library ..
*
* @library ..
* @modules jdk.jdi
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE HelloWorld
* @run compile TemperatureTableTest.java
* @run compile -g TemperatureTableServlet.java
* @run driver TemperatureTableTest
* @run build TestScaffold VMConnection TargetListener TargetAdapter InstallSDE HelloWorld
* @run compile TemperatureTableTest.java
* @run compile -g TemperatureTableServlet.java
* @run driver TemperatureTableTest
*/
import com.sun.jdi.*;
import com.sun.jdi.event.*;

View File

@ -27,7 +27,6 @@
* @summary Basic Test for the DiagnosticCommandMBean
* @author Frederic Parain, Shanliang JIANG
*
* @modules jdk.management
* @run main/othervm DcmdMBeanDoubleInvocationTest
*/

View File

@ -27,7 +27,6 @@
* @summary Basic Test for the DiagnosticCommandMBean
* @author Frederic Parain, Shanliang JIANG
*
* @modules jdk.management
* @run main/othervm DcmdMBeanInvocationTest
*/

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