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 * @modules jdk.jdi
32 * @run build TestScaffold VMConnection
33 * @run compile -g ExceptionEvents.java
34 *
35 * @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.Exception
36 * @run driver ExceptionEvents C A StackOverflowCaughtTarg null
37 * @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.Error
38 * @run driver ExceptionEvents C A StackOverflowCaughtTarg java.lang.StackOverflowError
39 * @run driver ExceptionEvents N A StackOverflowCaughtTarg java.lang.NullPointerException
40
41 * @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.Exception
42 * @run driver ExceptionEvents C T StackOverflowCaughtTarg null
43 * @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.Error
44 * @run driver ExceptionEvents C T StackOverflowCaughtTarg java.lang.StackOverflowError
45 * @run driver ExceptionEvents N T StackOverflowCaughtTarg java.lang.NullPointerException
46
47 * @run driver ExceptionEvents N N StackOverflowCaughtTarg java.lang.Exception
48 * @run driver ExceptionEvents C N StackOverflowCaughtTarg null
49 * @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.Error
50 * @run driver ExceptionEvents C N StackOverflowCaughtTarg java.lang.StackOverflowError
|
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
|