7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /**
25 * @test
26 * @bug 4407397
27 * @summary Test the requesting of exception events
28 *
29 * @author Robert Field
30 *
31 * @key intermittent
32 * @modules jdk.jdi
33 * @run build TestScaffold VMConnection
34 * @run compile -g ExceptionEvents.java
35 *
36 * @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.Exception
37 * @run driver ExceptionEvents C A StackOverflowCaughtTarg null
38 * @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.Error
39 * @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.StackOverflowError
40 * @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.NullPointerException
41
42 * @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.Exception
43 * @run driver ExceptionEvents C T StackOverflowCaughtTarg null
44 * @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.Error
45 * @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.StackOverflowError
46 * @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.NullPointerException
47
48 * @run driver ExceptionEvents N N StackOverflowCaughtTarg java.lang.Exception
49 * @run driver ExceptionEvents C N StackOverflowCaughtTarg null
50 * @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.Error
51 * @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.StackOverflowError
52 * @run driver ExceptionEvents N N StackOverflowCaughtTarg java.lang.NullPointerException
|
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /**
25 * @test
26 * @bug 4407397
27 * @key intermittent
28 * @summary Test the requesting of exception events
29 * @author Robert Field
30 *
31 * @run build TestScaffold VMConnection
32 * @run compile -g ExceptionEvents.java
33 *
34 * @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.Exception
35 * @run driver ExceptionEvents C A StackOverflowCaughtTarg null
36 * @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.Error
37 * @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.StackOverflowError
38 * @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.NullPointerException
39
40 * @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.Exception
41 * @run driver ExceptionEvents C T StackOverflowCaughtTarg null
42 * @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.Error
43 * @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.StackOverflowError
44 * @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.NullPointerException
45
46 * @run driver ExceptionEvents N N StackOverflowCaughtTarg java.lang.Exception
47 * @run driver ExceptionEvents C N StackOverflowCaughtTarg null
48 * @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.Error
49 * @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.StackOverflowError
50 * @run driver ExceptionEvents N N StackOverflowCaughtTarg java.lang.NullPointerException
|