< prev index next >

test/java/lang/instrument/VerifyLocalVariableTableOnRetransformTest.sh

Print this page




  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 
  26 # @test
  27 # @bug 7064927
  28 # @summary Verify LocalVariableTable (LVT) exists when passed to
  29 # transform() on a retransform operation.
  30 # @author Daniel D. Daugherty
  31 #
  32 # @modules java.instrument
  33 # @run build VerifyLocalVariableTableOnRetransformTest
  34 # @run compile -g DummyClassWithLVT.java
  35 # @run shell MakeJAR.sh retransformAgent
  36 # @run shell VerifyLocalVariableTableOnRetransformTest.sh
  37 
  38 
  39 if [ "${TESTJAVA}" = "" ]
  40 then
  41   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  42   exit 1
  43 fi
  44 
  45 if [ "${TESTSRC}" = "" ]
  46 then
  47   echo "TESTSRC not set.  Test cannot execute.  Failed."
  48   exit 1
  49 fi
  50 
  51 if [ "${TESTCLASSES}" = "" ]
  52 then




  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 
  26 # @test
  27 # @bug 7064927
  28 # @summary Verify LocalVariableTable (LVT) exists when passed to
  29 # transform() on a retransform operation.
  30 # @author Daniel D. Daugherty
  31 #

  32 # @run build VerifyLocalVariableTableOnRetransformTest
  33 # @run compile -g DummyClassWithLVT.java
  34 # @run shell MakeJAR.sh retransformAgent
  35 # @run shell VerifyLocalVariableTableOnRetransformTest.sh
  36 
  37 
  38 if [ "${TESTJAVA}" = "" ]
  39 then
  40   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  41   exit 1
  42 fi
  43 
  44 if [ "${TESTSRC}" = "" ]
  45 then
  46   echo "TESTSRC not set.  Test cannot execute.  Failed."
  47   exit 1
  48 fi
  49 
  50 if [ "${TESTCLASSES}" = "" ]
  51 then


< prev index next >