RetransformBigClass.sh revision 4555
4555N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 4555N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4555N/A# This code is free software; you can redistribute it and/or modify it 4555N/A# under the terms of the GNU General Public License version 2 only, as 4555N/A# published by the Free Software Foundation. 4555N/A# This code is distributed in the hope that it will be useful, but WITHOUT 4555N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 4555N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 4555N/A# version 2 for more details (a copy is included in the LICENSE file that 4555N/A# You should have received a copy of the GNU General Public License version 4555N/A# 2 along with this work; if not, write to the Free Software Foundation, 4555N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 4555N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 4555N/A# @ignore until the fix for 7122253 (from HotSpot) is in a promoted build 4555N/A# @summary Retransform a big class. 4555N/A# @author Daniel D. Daugherty 4555N/A# @run shell MakeJAR4.sh RetransformBigClassAgent SimpleIdentityTransformer 'Can-Retransform-Classes: true' 4555N/A# @run build BigClass RetransformBigClassApp 4555N/A echo "TESTJAVA not set. Test cannot execute. Failed." 4555N/A echo "TESTSRC not set. Test cannot execute. Failed." 4555N/Aif [
"${TESTCLASSES}" =
"" ]
4555N/A echo "TESTCLASSES not set. Test cannot execute. Failed." 4555N/A echo "PASS: RetransformBigClassApp exited with status of 0." 4555N/A echo "FAIL: RetransformBigClassApp exited with status of $result" 4555N/A echo "PASS: did NOT find '$MESG' in the test output"