8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 7029048
27 * @summary Checks for LD_LIBRARY_PATH on *nixes
28 * @compile -XDignore.symbol.file ExecutionEnvironment.java Test7029048.java
29 * @run main Test7029048
30 */
31
32 /*
33 * 7029048: test for LD_LIBRARY_PATH set to different paths which may or
34 * may not contain a libjvm.so, but we test to ensure that the launcher
35 * behaves correctly in all cases.
36 */
37 import java.io.File;
38 import java.io.IOException;
39 import java.nio.file.Files;
40 import java.util.ArrayList;
41 import java.util.HashMap;
42 import java.util.List;
43 import java.util.Map;
44
45 public class Test7029048 extends TestHelper {
46
47 static int passes = 0;
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 7029048
27 * @summary Checks for LD_LIBRARY_PATH on *nixes
28 * @modules java.compiler
29 * @compile -XDignore.symbol.file ExecutionEnvironment.java Test7029048.java
30 * @run main Test7029048
31 */
32
33 /*
34 * 7029048: test for LD_LIBRARY_PATH set to different paths which may or
35 * may not contain a libjvm.so, but we test to ensure that the launcher
36 * behaves correctly in all cases.
37 */
38 import java.io.File;
39 import java.io.IOException;
40 import java.nio.file.Files;
41 import java.util.ArrayList;
42 import java.util.HashMap;
43 import java.util.List;
44 import java.util.Map;
45
46 public class Test7029048 extends TestHelper {
47
48 static int passes = 0;
|