1101N/A/*
1949N/A * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
1101N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1101N/A *
1101N/A * This code is free software; you can redistribute it and/or modify it
1101N/A * under the terms of the GNU General Public License version 2 only, as
1101N/A * published by the Free Software Foundation.
1101N/A *
1101N/A * This code is distributed in the hope that it will be useful, but WITHOUT
1101N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1101N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1101N/A * version 2 for more details (a copy is included in the LICENSE file that
1101N/A * accompanied this code).
1101N/A *
1101N/A * You should have received a copy of the GNU General Public License version
1101N/A * 2 along with this work; if not, write to the Free Software Foundation,
1101N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1101N/A *
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
1472N/A * questions.
1101N/A *
1101N/A */
1101N/A
1101N/A/*
1101N/A * @test
1101N/A * @bug 6896727
1101N/A * @summary nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys w/o COOPs
1178N/A * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:+DoEscapeAnalysis Test
1101N/A */
1101N/A
1101N/Apublic class Test {
1101N/A
1101N/A final static String testString = "abracadabra";
1101N/A public static void main(String args[]) {
1101N/A String params[][] = {
1101N/A {"control", testString}
1101N/A };
1101N/A for (int i=0; i<params.length; i++) {
1101N/A try {
1101N/A System.out.println("Params :" + testString + " and " + params[i][0] + ", " + params[i][1]);
1101N/A if (params[i][1] == null) {
1101N/A System.exit(97);
1101N/A }
1101N/A } catch (Exception e) {}
1101N/A }
1101N/A }
1101N/A}