1 /* 2 * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 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 4628726 27 * @summary Test class redefinition at each event cross tested with other tests 28 * @author Robert Field 29 * 30 * @run build TestScaffold VMConnection TargetAdapter TargetListener 31 * @run compile -g AccessSpecifierTest.java 32 * @run compile -g AfterThreadDeathTest.java 33 * @run compile -g ArrayRangeTest.java 34 * @run compile -g BacktraceFieldTest.java 35 * @run compile -g ClassesByName2Test.java 36 * @run compile -g DebuggerThreadTest.java 37 * @run compile -g DeleteEventRequestsTest.java 38 * @run compile -g ExceptionEvents.java 39 * @run compile -g ExpiredRequestDeletionTest.java 40 * @run compile -g FieldWatchpoints.java 41 * @run build InstanceFilter 42 * @run compile -g LocationTest.java 43 * @run compile -g NewInstanceTest.java 44 * @run compile -g PopSynchronousTest.java 45 * @run compile -g RepStepTarg.java 46 * @run compile -g RequestReflectionTest.java 47 * 48 * @run driver AccessSpecifierTest -redefstart -redefevent 49 * @run driver AfterThreadDeathTest -redefstart -redefevent 50 * @run driver ArrayRangeTest -redefstart -redefevent 51 * @run driver BacktraceFieldTest -redefstart -redefevent 52 * @run driver ClassesByName2Test -redefstart -redefevent 53 * @run driver DebuggerThreadTest -redefstart -redefevent 54 * @run driver DeleteEventRequestsTest -redefstart -redefevent 55 * @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowCaughtTarg java.lang.Exception 56 * @run driver ExceptionEvents -redefstart -redefevent C A StackOverflowCaughtTarg null 57 * @run driver ExceptionEvents -redefstart -redefevent C A StackOverflowCaughtTarg java.lang.StackOverflowError 58 * @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowCaughtTarg java.lang.NullPointerException 59 * @run driver ExceptionEvents -redefstart -redefevent C T StackOverflowCaughtTarg java.lang.Error 60 * @run driver ExceptionEvents -redefstart -redefevent N T StackOverflowCaughtTarg java.lang.NullPointerException 61 * @run driver ExceptionEvents -redefstart -redefevent N N StackOverflowCaughtTarg java.lang.Exception 62 * @run driver ExceptionEvents -redefstart -redefevent C N StackOverflowCaughtTarg java.lang.Error 63 * @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowUncaughtTarg java.lang.Exception 64 * @run driver ExpiredRequestDeletionTest -redefstart -redefevent 65 * @run driver FieldWatchpoints -redefstart -redefevent 66 * @run driver InstanceFilter -redefstart -redefevent 67 * @run driver LocationTest -redefstart -redefevent 68 * @run driver NewInstanceTest -redefstart -redefevent 69 * @run driver RequestReflectionTest -redefstart -redefevent 70 */ 71