553N/A * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 282N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 282N/A * This code is free software; you can redistribute it and/or modify it 282N/A * under the terms of the GNU General Public License version 2 only, as 282N/A * published by the Free Software Foundation. 282N/A * This code is distributed in the hope that it will be useful, but WITHOUT 282N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 282N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 282N/A * version 2 for more details (a copy is included in the LICENSE file that 282N/A * accompanied this code). 282N/A * You should have received a copy of the GNU General Public License version 282N/A * 2 along with this work; if not, write to the Free Software Foundation, 282N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 553N/A * or visit www.oracle.com if you need additional information or have any 282N/A * @summary experimental support for additional info for instructions 282N/A // for each of the options, we run javap and check for some 282N/A // marker strings in the output that generally indicate the 282N/A // presence of the expected output, without being as specific 282N/A // as a full golden file test. 282N/A "for (int i = 0; i < 10; i++) {",
282N/A "System.out.println(s + i);");
282N/A "start local 3 // java.util.List list",
282N/A "end local 3 // java.util.List list");
282N/A "start generic local 3 // java.util.List<java.lang.String> list",
282N/A "end generic local 3 // java.util.List<java.lang.String> list");
282N/A for (
int i =
0; i <
10; i++) {