nashorn/src/jdk.scripting.nashorn/share/classes/module-info.java
author sundar
Fri, 06 May 2016 20:27:20 +0530
changeset 37833 ae7b3314b209
parent 36517 41a1c20eb619
child 42380 180839e7d68a
permissions -rw-r--r--
8150731: Nashorn JSObject linker should be exposed as a service provider Reviewed-by: jlaskey, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
36517
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     1
/*
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     2
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     4
 *
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    10
 *
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    15
 * accompanied this code).
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    16
 *
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    20
 *
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    23
 * questions.
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    24
 */
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    25
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    26
module jdk.scripting.nashorn {
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    27
    requires java.logging;
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    28
    requires public java.scripting;
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    29
    requires jdk.dynalink;
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    30
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    31
    exports jdk.nashorn.api.scripting;
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    32
    exports jdk.nashorn.api.tree;
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    33
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    34
    exports jdk.nashorn.internal.runtime to
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    35
        jdk.scripting.nashorn.shell;
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    36
    exports jdk.nashorn.internal.objects to
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    37
        jdk.scripting.nashorn.shell;
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    38
    exports jdk.nashorn.tools to
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    39
        jdk.scripting.nashorn.shell;
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    40
37833
ae7b3314b209 8150731: Nashorn JSObject linker should be exposed as a service provider
sundar
parents: 36517
diff changeset
    41
    provides javax.script.ScriptEngineFactory
ae7b3314b209 8150731: Nashorn JSObject linker should be exposed as a service provider
sundar
parents: 36517
diff changeset
    42
        with jdk.nashorn.api.scripting.NashornScriptEngineFactory;
ae7b3314b209 8150731: Nashorn JSObject linker should be exposed as a service provider
sundar
parents: 36517
diff changeset
    43
ae7b3314b209 8150731: Nashorn JSObject linker should be exposed as a service provider
sundar
parents: 36517
diff changeset
    44
    provides jdk.dynalink.linker.GuardingDynamicLinkerExporter
ae7b3314b209 8150731: Nashorn JSObject linker should be exposed as a service provider
sundar
parents: 36517
diff changeset
    45
        with jdk.nashorn.api.linker.NashornLinkerExporter;
36517
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    46
}
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    47