Fri, 10 Sep 2010 12:36:47 -0400
6942092: Loader-constraint test is failing
Summary: Fix test string compare to match source update
Reviewed-by: dcubed, phh
test/runtime/6626217/Test6626217.sh | file | annotate | diff | comparison | revisions |
1.1 --- a/test/runtime/6626217/Test6626217.sh Wed Sep 08 08:34:57 2010 -0700 1.2 +++ b/test/runtime/6626217/Test6626217.sh Fri Sep 10 12:36:47 2010 -0400 1.3 @@ -1,9 +1,27 @@ 1.4 -# 1.5 -# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 1.6 -# SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 1.7 -# 1.8 +# 1.9 +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. 1.10 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.11 +# 1.12 +# This code is free software; you can redistribute it and/or modify it 1.13 +# under the terms of the GNU General Public License version 2 only, as 1.14 +# published by the Free Software Foundation. 1.15 +# 1.16 +# This code is distributed in the hope that it will be useful, but WITHOUT 1.17 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.18 +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.19 +# version 2 for more details (a copy is included in the LICENSE file that 1.20 +# accompanied this code). 1.21 +# 1.22 +# You should have received a copy of the GNU General Public License version 1.23 +# 2 along with this work; if not, write to the Free Software Foundation, 1.24 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.25 +# 1.26 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1.27 +# or visit www.oracle.com if you need additional information or have any 1.28 +# questions. 1.29 +# 1.30 1.31 -# 1.32 + 1.33 # @test @(#)Test6626217.sh 1.34 # @bug 6626217 1.35 # @summary Loader-constraint table allows arrays instead of only the base-classes 1.36 @@ -96,6 +114,6 @@ 1.37 ${RM} many_loader.java 1.38 1.39 ${JAVA} ${BIT_FLAG} -Xverify -Xint -cp . bug_21227 >test.out 2>&1 1.40 -grep "violates loader constraints" test.out 1.41 +grep "loader constraint" test.out 1.42 exit $? 1.43