Mercurial > hg > graal-compiler
comparison test/runtime/6626217/Test6626217.sh @ 1797:883a82d6d41d
6942092: Loader-constraint test is failing
Summary: Fix test string compare to match source update
Reviewed-by: dcubed, phh
author | acorn |
---|---|
date | Fri, 10 Sep 2010 12:36:47 -0400 |
parents | 495caa35b1b5 |
children | 037973617842 |
comparison
equal
deleted
inserted
replaced
1774:ea175c1b79ce | 1797:883a82d6d41d |
---|---|
1 # | 1 # |
2 # Copyright 2009 Sun Microsystems, Inc. All rights reserved. | 2 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | 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 # | |
5 | 23 |
6 # | 24 |
7 # @test @(#)Test6626217.sh | 25 # @test @(#)Test6626217.sh |
8 # @bug 6626217 | 26 # @bug 6626217 |
9 # @summary Loader-constraint table allows arrays instead of only the base-classes | 27 # @summary Loader-constraint table allows arrays instead of only the base-classes |
10 # @run shell Test6626217.sh | 28 # @run shell Test6626217.sh |
11 # | 29 # |
94 ${MV} many_loader.class many_loader.impl2 | 112 ${MV} many_loader.class many_loader.impl2 |
95 ${MV} many_loader.impl1 many_loader.class | 113 ${MV} many_loader.impl1 many_loader.class |
96 ${RM} many_loader.java | 114 ${RM} many_loader.java |
97 | 115 |
98 ${JAVA} ${BIT_FLAG} -Xverify -Xint -cp . bug_21227 >test.out 2>&1 | 116 ${JAVA} ${BIT_FLAG} -Xverify -Xint -cp . bug_21227 >test.out 2>&1 |
99 grep "violates loader constraints" test.out | 117 grep "loader constraint" test.out |
100 exit $? | 118 exit $? |
101 | 119 |