test/script/basic/JDK-8008554.js

Tue, 15 Jan 2019 10:36:25 +0000

author
aefimov
date
Tue, 15 Jan 2019 10:36:25 +0000
changeset 2462
e9169a96a3d1
parent 962
ac62e33a99b0
child 1205
4112748288bb
permissions
-rw-r--r--

Added tag jdk8u202-ga for changeset 7aeae6eb6236

lagergren@110 1 /*
lagergren@110 2 * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
lagergren@110 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
attila@962 4 *
lagergren@110 5 * This code is free software; you can redistribute it and/or modify it
lagergren@110 6 * under the terms of the GNU General Public License version 2 only, as
lagergren@110 7 * published by the Free Software Foundation.
attila@962 8 *
lagergren@110 9 * This code is distributed in the hope that it will be useful, but WITHOUT
lagergren@110 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
lagergren@110 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
lagergren@110 12 * version 2 for more details (a copy is included in the LICENSE file that
lagergren@110 13 * accompanied this code).
attila@962 14 *
lagergren@110 15 * You should have received a copy of the GNU General Public License version
lagergren@110 16 * 2 along with this work; if not, write to the Free Software Foundation,
lagergren@110 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
attila@962 18 *
lagergren@110 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
lagergren@110 20 * or visit www.oracle.com if you need additional information or have any
lagergren@110 21 * questions.
lagergren@110 22 */
lagergren@110 23
lagergren@110 24
lagergren@110 25 /**
lagergren@110 26 * JDK-8008554: Try loading another output free test in this dir both as file and as url
lagergren@110 27 *
lagergren@110 28 * @test
lagergren@110 29 * @run
lagergren@110 30 */
lagergren@110 31
lagergren@110 32 var dir = __DIR__;
lagergren@110 33 var file = __FILE__.replace("JDK-8008554", "NASHORN-99");
lagergren@110 34 load(file);
jlaskey@276 35 file = "file:///" + __DIR__ + "NASHORN-99.js";
lagergren@110 36 load(file);

mercurial