1132N/A * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. 841N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 841N/A * This code is free software; you can redistribute it and/or modify it 841N/A * under the terms of the GNU General Public License version 2 only, as 841N/A * published by the Free Software Foundation. 841N/A * This code is distributed in the hope that it will be useful, but WITHOUT 841N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 841N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 841N/A * version 2 for more details (a copy is included in the LICENSE file that 841N/A * accompanied this code). 841N/A * You should have received a copy of the GNU General Public License version 841N/A * 2 along with this work; if not, write to the Free Software Foundation, 841N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 841N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 841N/A * or visit www.oracle.com if you need additional information or have any 841N/A * @summary Automatically generate info about how compiler resource keys are used 841N/A * @build Example ArgTypeCompilerFactory MessageFile MessageInfo 1132N/A * See CR 7127924 for info on why othervm is used. 841N/A * on information derived from running examples. 841N/A * -examples dir location of examples directory 841N/A * -check just check message file 841N/A * -ensureNewlines ensure newline after each entry 841N/A * -fixIndent fix indentation of continuation lines 841N/A * -verbose verbose output 841N/A * -replace replace comments instead of merging comments 841N/A // use standard jtreg scratch directory: the current directory 841N/A /* VERY IMPORTANT NOTE. In jtreg mode, tmpDir is set to the 841N/A * jtreg scratch directory, which is the current directory. 841N/A * In case someone is faking jtreg mode, make sure to only 841N/A * clean tmpDir when it is reasonable to do so. 841N/A error(
"must set output file for these options");
841N/A error(
"Can't find message for " + k +
" in message file");
841N/A * Get the complete set of examples to be checked. 841N/A * Get the contents of the "not-yet" list. 841N/A * Read the contents of a file. 841N/A * Clean the contents of a directory.