1 /*
   2  * Copyright (c) 2002, 2015, 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  * @modules java.corba
  31  *          jdk.jdi
  32  *
  33  * @run build TestScaffold VMConnection TargetAdapter TargetListener
  34  * @run compile -g AccessSpecifierTest.java
  35  * @run compile -g AfterThreadDeathTest.java
  36  * @run compile -g ArrayRangeTest.java
  37  * @run compile -g BacktraceFieldTest.java
  38  * @run compile -g ClassesByName2Test.java
  39  * @run compile -g DebuggerThreadTest.java
  40  * @run compile -g DeleteEventRequestsTest.java
  41  * @run compile -g ExceptionEvents.java
  42  * @run compile -g ExpiredRequestDeletionTest.java
  43  * @run compile -g FieldWatchpoints.java
  44  * @run build InstanceFilter
  45  * @run compile -g LocationTest.java
  46  * @run compile -g NewInstanceTest.java
  47  * @run compile -g PopSynchronousTest.java
  48  * @run compile -g RepStepTarg.java
  49  * @run compile -g RequestReflectionTest.java
  50  *
  51  * @run driver AccessSpecifierTest -redefstart -redefevent
  52  * @run driver AfterThreadDeathTest -redefstart -redefevent
  53  * @run driver ArrayRangeTest -redefstart -redefevent
  54  * @run driver BacktraceFieldTest -redefstart -redefevent
  55  * @run driver ClassesByName2Test -redefstart -redefevent
  56  * @run driver DebuggerThreadTest -redefstart -redefevent
  57  * @run driver DeleteEventRequestsTest -redefstart -redefevent
  58  * @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowCaughtTarg java.lang.Exception
  59  * @run driver ExceptionEvents -redefstart -redefevent C A StackOverflowCaughtTarg null
  60  * @run driver ExceptionEvents -redefstart -redefevent C A StackOverflowCaughtTarg java.lang.StackOverflowError
  61  * @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowCaughtTarg java.lang.NullPointerException
  62  * @run driver ExceptionEvents -redefstart -redefevent C T StackOverflowCaughtTarg java.lang.Error
  63  * @run driver ExceptionEvents -redefstart -redefevent N T StackOverflowCaughtTarg java.lang.NullPointerException
  64  * @run driver ExceptionEvents -redefstart -redefevent N N StackOverflowCaughtTarg java.lang.Exception
  65  * @run driver ExceptionEvents -redefstart -redefevent C N StackOverflowCaughtTarg java.lang.Error
  66  * @run driver ExceptionEvents -redefstart -redefevent N A StackOverflowUncaughtTarg java.lang.Exception
  67  * @run driver ExpiredRequestDeletionTest -redefstart -redefevent
  68  * @run driver FieldWatchpoints -redefstart -redefevent
  69  * @run driver InstanceFilter -redefstart -redefevent
  70  * @run driver LocationTest -redefstart -redefevent
  71  * @run driver NewInstanceTest -redefstart -redefevent
  72  * @run driver RequestReflectionTest -redefstart -redefevent
  73  */