Mon, 28 Jan 2013 21:29:05 +0530
8007004: nashorn script engine should not use thread context class loader as script 'application loader'
Reviewed-by: attila, hannesw
jlaskey@3 | 1 | rem |
jlaskey@7 | 2 | rem Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
jlaskey@3 | 3 | rem DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jlaskey@3 | 4 | rem |
jlaskey@3 | 5 | rem This code is free software; you can redistribute it and/or modify it |
jlaskey@3 | 6 | rem under the terms of the GNU General Public License version 2 only, as |
jlaskey@3 | 7 | rem published by the Free Software Foundation. Oracle designates this |
jlaskey@3 | 8 | rem particular file as subject to the "Classpath" exception as provided |
jlaskey@3 | 9 | rem by Oracle in the LICENSE file that accompanied this code. |
jlaskey@3 | 10 | rem |
jlaskey@3 | 11 | rem This code is distributed in the hope that it will be useful, but WITHOUT |
jlaskey@3 | 12 | rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jlaskey@3 | 13 | rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jlaskey@3 | 14 | rem version 2 for more details (a copy is included in the LICENSE file that |
jlaskey@3 | 15 | rem accompanied this code). |
jlaskey@3 | 16 | rem |
jlaskey@3 | 17 | rem You should have received a copy of the GNU General Public License version |
jlaskey@3 | 18 | rem 2 along with this work; if not, write to the Free Software Foundation, |
jlaskey@3 | 19 | rem Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jlaskey@3 | 20 | rem |
jlaskey@3 | 21 | rem Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
jlaskey@3 | 22 | rem or visit www.oracle.com if you need additional information or have any |
jlaskey@3 | 23 | rem questions. |
jlaskey@3 | 24 | rem |
jlaskey@3 | 25 | @echo off |
jlaskey@3 | 26 | |
jlaskey@3 | 27 | jrunscript -J-Xms2G -J-Xmx2G -J-XX:-TieredCompilation -J-server -J-esa -J-ea -J-Djava.ext.dirs=%~dp0\..\dist -J-XX:+HeapDumpOnOutOfMemoryError -J-Dnashorn.debug=true -J-Djava.lang.invoke.MethodHandle.DEBUG_NAMES=false -l nashorn |