module-info.java revision 1829:dbe6b239d681
1237433Skib/*
2237433Skib * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
3237433Skib * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4237433Skib *
5237433Skib * This code is free software; you can redistribute it and/or modify it
6237433Skib * under the terms of the GNU General Public License version 2 only, as
7237433Skib * published by the Free Software Foundation.  Oracle designates this
8237433Skib * particular file as subject to the "Classpath" exception as provided
9237433Skib * by Oracle in the LICENSE file that accompanied this code.
10237433Skib *
11237433Skib * This code is distributed in the hope that it will be useful, but WITHOUT
12237433Skib * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13237433Skib * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14237433Skib * version 2 for more details (a copy is included in the LICENSE file that
15237433Skib * accompanied this code).
16237433Skib *
17237433Skib * You should have received a copy of the GNU General Public License version
18237433Skib * 2 along with this work; if not, write to the Free Software Foundation,
19237433Skib * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20237433Skib *
21237433Skib * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22237433Skib * or visit www.oracle.com if you need additional information or have any
23237433Skib * questions.
24237433Skib */
25237433Skib
26237433Skib/**
27237433Skib * Nashorn
28237433Skib */
29237433Skibmodule jdk.scripting.nashorn {
30237433Skib    requires java.logging;
31237433Skib    requires transitive java.scripting;
32237433Skib    requires jdk.dynalink;
33237433Skib
34237433Skib    exports jdk.nashorn.api.scripting;
35    exports jdk.nashorn.api.tree;
36
37    exports jdk.nashorn.internal.runtime to
38        jdk.scripting.nashorn.shell;
39    exports jdk.nashorn.internal.objects to
40        jdk.scripting.nashorn.shell;
41    exports jdk.nashorn.tools to
42        jdk.scripting.nashorn.shell;
43
44    provides javax.script.ScriptEngineFactory
45        with jdk.nashorn.api.scripting.NashornScriptEngineFactory;
46
47    provides jdk.dynalink.linker.GuardingDynamicLinkerExporter
48        with jdk.nashorn.api.linker.NashornLinkerExporter;
49}
50
51