src/jdk.scripting.nashorn.shell/share/classes/module-info.java
author iklam
Wed, 17 Oct 2018 15:57:10 -0700
changeset 52319 625f6c742392
parent 50878 fb7800b66c92
child 54950 46ae54c3026d
permissions -rw-r--r--
8212200: assert when shared java.lang.Object is redefined by JVMTI agent Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
36517
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
     1
/*
45950
720bc0f5ba9d 8180727: Use jdk.editpad to replace jdk.nashorn.tools.jjs.EditPad duplicated class
sdama
parents: 45670
diff changeset
     2
 * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
36517
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
42380
180839e7d68a 8169069: Module system implementation refresh (11/2016)
alanb
parents: 36517
diff changeset
    26
/**
45538
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    27
 * Defines Nashorn shell module.
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    28
 *
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    29
 * <p>This module includes the command line tool <em>{@index jjs jjs tool}</em>
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    30
 * to invoke the Nashorn engine.
43742
abd8bc4c4c9d 8174699: Fix @since in module-info.java in dev/nashorn repo
mli
parents: 42380
diff changeset
    31
 *
45538
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    32
 * <dl style="font-family:'DejaVu Sans', Arial, Helvetica, sans serif">
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    33
 * <dt class="simpleTagLabel">Tool Guides:
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    34
 * <dd>{@extLink jjs_tool_reference jjs}
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    35
 * </dl>
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    36
 *
3391b408f58a 8181639: Add tool and services information to module summary
mchung
parents: 43742
diff changeset
    37
 * @moduleGraph
43742
abd8bc4c4c9d 8174699: Fix @since in module-info.java in dev/nashorn repo
mli
parents: 42380
diff changeset
    38
 * @since 9
42380
180839e7d68a 8169069: Module system implementation refresh (11/2016)
alanb
parents: 36517
diff changeset
    39
 */
50878
fb7800b66c92 8204492: Add deprecation annotation to Nashorn APIs and warning to nashorn, jjs
sundar
parents: 47855
diff changeset
    40
@Deprecated(since="11", forRemoval=true)
36517
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    41
module jdk.scripting.nashorn.shell {
47855
72b6d674bde2 8191468: jdk.scripting.nashorn.shell (jjs) module should use optional dependency for java.compiler module
sundar
parents: 47492
diff changeset
    42
    requires static java.compiler;
45670
2b0b8cd704d4 8182416: Clean up module-info.java like move requires transitive adjacent to exports
mchung
parents: 45538
diff changeset
    43
    requires jdk.internal.le;
36517
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    44
    requires jdk.scripting.nashorn;
45950
720bc0f5ba9d 8180727: Use jdk.editpad to replace jdk.nashorn.tools.jjs.EditPad duplicated class
sdama
parents: 45670
diff changeset
    45
    requires jdk.internal.ed;
720bc0f5ba9d 8180727: Use jdk.editpad to replace jdk.nashorn.tools.jjs.EditPad duplicated class
sdama
parents: 45670
diff changeset
    46
    uses jdk.internal.editor.spi.BuildInEditorProvider;
36517
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    47
}
41a1c20eb619 8142968: Module System implementation
alanb
parents:
diff changeset
    48