test/script/basic/JDK-8008554.js

Wed, 18 Jun 2014 12:35:42 -0700

author
katleman
date
Wed, 18 Jun 2014 12:35:42 -0700
changeset 863
6e9c4e34bc61
parent 276
1d5a8f1f416e
child 952
6d5471a497fb
child 962
ac62e33a99b0
permissions
-rw-r--r--

Added tag jdk8u20-b19 for changeset b047df215de4

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.
lagergren@110 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.
lagergren@110 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).
lagergren@110 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.
lagergren@110 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