852N/A * Copyright 2009 Google Inc. All Rights Reserved. 820N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 820N/A * This code is free software; you can redistribute it and/or modify it 820N/A * under the terms of the GNU General Public License version 2 only, as 820N/A * published by the Free Software Foundation. 820N/A * This code is distributed in the hope that it will be useful, but WITHOUT 820N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 820N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 820N/A * version 2 for more details (a copy is included in the LICENSE file that 820N/A * accompanied this code). 820N/A * You should have received a copy of the GNU General Public License version 820N/A * 2 along with this work; if not, write to the Free Software Foundation, 820N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1472N/A * or visit www.oracle.com if you need additional information or have any 820N/A * @summary False positive for "meet not symmetric" failure 820N/A * @run main/othervm -Xbatch -XX:CompileOnly=Test.collectIs,Test$Factory$1.getArray,Test$Factory$2.getArray Test 820N/A * C2 asserts when compiling this method. Bimorphic inlining happens at 820N/A * getArray call site. A Phi in the catch block tries to join the meet type 820N/A * from he inline site (Parent[]) with the type expected by CI (Interface[]). 820N/A * C2 throws an assert when it doesn't need to. 820N/A for (
int i =
0; i <
25000; i++) {
820N/A * Establish necessary class hierarchy