4248N/A * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 2668N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2668N/A * This code is free software; you can redistribute it and/or modify it 2668N/A * under the terms of the GNU General Public License version 2 only, as 2668N/A * published by the Free Software Foundation. 2668N/A * This code is distributed in the hope that it will be useful, but WITHOUT 2668N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 2668N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 2668N/A * version 2 for more details (a copy is included in the LICENSE file that 2668N/A * You should have received a copy of the GNU General Public License version 2668N/A * 2 along with this work; if not, write to the Free Software Foundation, 2668N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2668N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2668N/A * or visit www.oracle.com if you need additional information or have any 2668N/A * @test CommandLineTests.sh 2668N/A * @bug 6521334 6965836 6965836 2668N/A * options as well as a couple of command line options. We also test 2668N/A * the packing and unpacking mechanism using the Java APIs. This also 2668N/A * simulates pack200 the install workspace, noting that this is a simulation 2668N/A * and can only test jars that are guaranteed to be available, also the 2668N/A * configuration may not be in sync with the installer workspace. 2668N/A // init test area with a copy of the sdk 2668N/A // Hopefully, this should be kept in sync with what the installer does. 2668N/A // Fail the build, if new or unknown attributes are introduced. 2668N/A // BugId: 6328502, These files will be passed-through as-is. 2668N/A continue;
// need not worry about tools.jar for JRE 2668N/A // make a backup copy for re-use 2668N/A // NOTE: commented until 6965836 is fixed 2668N/A // cmdsList.add("--code-attribute=StackMapTable=strip"); 2668N/A // invoke javac to test the tools.jar