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