From 49da3d1c8e3698fa9204bda77692839eda9045c0 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 12:09:04 +0200 Subject: [PATCH 01/29] Revert "8204492: Add deprecation annotation to Nashorn APIs and warning to nashorn, jjs" This reverts commit 2c08386fdf437b88361b517edfe6c92e69f4297f. --- make/nashorn/project.properties | 1 - .../share/classes/jdk/nashorn/tools/jjs/Main.java | 1 - .../share/classes/module-info.java | 1 - .../jdk/nashorn/api/linker/NashornLinkerExporter.java | 1 - .../jdk/nashorn/api/scripting/AbstractJSObject.java | 4 ---- .../classes/jdk/nashorn/api/scripting/ClassFilter.java | 4 ---- .../share/classes/jdk/nashorn/api/scripting/JSObject.java | 4 ---- .../jdk/nashorn/api/scripting/NashornException.java | 4 ---- .../jdk/nashorn/api/scripting/NashornScriptEngine.java | 8 -------- .../nashorn/api/scripting/NashornScriptEngineFactory.java | 4 ---- .../jdk/nashorn/api/scripting/ScriptObjectMirror.java | 4 ---- .../classes/jdk/nashorn/api/scripting/ScriptUtils.java | 4 ---- .../classes/jdk/nashorn/api/scripting/URLReader.java | 4 ---- .../classes/jdk/nashorn/api/tree/ArrayAccessTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/ArrayLiteralTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/AssignmentTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/BinaryTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/BlockTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/BreakTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/CaseTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/CatchTree.java | 4 ---- .../jdk/nashorn/api/tree/ClassDeclarationTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/ClassExpressionTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/CompilationUnitTree.java | 4 ---- .../jdk/nashorn/api/tree/CompoundAssignmentTree.java | 4 ---- .../jdk/nashorn/api/tree/ConditionalExpressionTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/ConditionalLoopTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/ContinueTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/DebuggerTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/Diagnostic.java | 8 -------- .../classes/jdk/nashorn/api/tree/DiagnosticListener.java | 4 ---- .../classes/jdk/nashorn/api/tree/DoWhileLoopTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/EmptyStatementTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/ErroneousTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/ExportEntryTree.java | 4 ---- .../jdk/nashorn/api/tree/ExpressionStatementTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/ExpressionTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/ForInLoopTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/ForLoopTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/ForOfLoopTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/FunctionCallTree.java | 4 ---- .../jdk/nashorn/api/tree/FunctionDeclarationTree.java | 4 ---- .../jdk/nashorn/api/tree/FunctionExpressionTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/GotoTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/IdentifierTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/IfTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/ImportEntryTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/InstanceOfTree.java | 4 ---- .../jdk/nashorn/api/tree/LabeledStatementTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/LineMap.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/LiteralTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/LoopTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/MemberSelectTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/ModuleTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/NewTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/ObjectLiteralTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/ParenthesizedTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/Parser.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/PropertyTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/RegExpLiteralTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/ReturnTree.java | 4 ---- .../jdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java | 4 ---- .../jdk/nashorn/api/tree/SimpleTreeVisitorES6.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/SpreadTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/StatementTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/SwitchTree.java | 4 ---- .../classes/jdk/nashorn/api/tree/TemplateLiteralTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/ThrowTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/Tree.java | 8 -------- .../share/classes/jdk/nashorn/api/tree/TreeVisitor.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/TryTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/UnaryTree.java | 4 ---- .../jdk/nashorn/api/tree/UnknownTreeException.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/VariableTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/WhileLoopTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/WithTree.java | 4 ---- .../share/classes/jdk/nashorn/api/tree/YieldTree.java | 4 ---- .../jdk/nashorn/internal/runtime/ScriptEnvironment.java | 3 --- .../nashorn/internal/runtime/resources/Options.properties | 8 -------- .../share/classes/jdk/nashorn/tools/Shell.java | 3 --- src/jdk.scripting.nashorn/share/classes/module-info.java | 4 ---- test/nashorn/script/nosecurity/JDK-8193137.js | 2 +- 82 files changed, 1 insertion(+), 327 deletions(-) diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index 3078351b5..fde173dc9 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -371,7 +371,6 @@ run.test.jvmargs.common=\ -Duser.language=${run.test.user.language} \ -Duser.country=${run.test.user.country} \ -Dnashorn.typeInfo.cacheDir=${build.dir}${file.separator}test${file.separator}type_info_cache \ - -Dnashorn.args.prepend=--no-deprecation-warning \ ${jfr.args} \ -XX:+HeapDumpOnOutOfMemoryError diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java b/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java index 36abf212d..21e1bfe7f 100644 --- a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java +++ b/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java @@ -55,7 +55,6 @@ /** * Interactive command line Shell for Nashorn. */ -@Deprecated(since="11", forRemoval=true) public final class Main extends Shell { private Main() {} diff --git a/src/jdk.scripting.nashorn.shell/share/classes/module-info.java b/src/jdk.scripting.nashorn.shell/share/classes/module-info.java index 5bc8b0b71..54b0e8562 100644 --- a/src/jdk.scripting.nashorn.shell/share/classes/module-info.java +++ b/src/jdk.scripting.nashorn.shell/share/classes/module-info.java @@ -34,7 +34,6 @@ * @moduleGraph * @since 9 */ -@Deprecated(since="11", forRemoval=true) module jdk.scripting.nashorn.shell { requires static java.compiler; requires jdk.internal.le; diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java index d07d1b600..48762628d 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java @@ -36,7 +36,6 @@ * can use the linkers exported by this provider to support tight integration * of Nashorn objects. */ -@Deprecated(since="11", forRemoval=true) public final class NashornLinkerExporter extends GuardingDynamicLinkerExporter { /** * The default constructor. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/AbstractJSObject.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/AbstractJSObject.java index fe5620b8d..0d5bf7157 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/AbstractJSObject.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/AbstractJSObject.java @@ -38,12 +38,8 @@ * operations like obj[i], obj.foo, obj.func(), delete obj.foo will be delegated * to appropriate method call of this class. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 1.8u40 */ -@Deprecated(since="11", forRemoval=true) public abstract class AbstractJSObject implements JSObject { /** * The default constructor. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ClassFilter.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ClassFilter.java index c4a4ca440..a19dcd144 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ClassFilter.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ClassFilter.java @@ -29,12 +29,8 @@ * jsr-223 program embedding nashorn script can set ClassFilter instance * to be used when an engine instance is created. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 1.8u40 */ -@Deprecated(since="11", forRemoval=true) public interface ClassFilter { /** * Should the Java class of the specified name be exposed to scripts? diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/JSObject.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/JSObject.java index 61502657e..afbb0a213 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/JSObject.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/JSObject.java @@ -35,12 +35,8 @@ * operations like obj[i], obj.foo, obj.func(), delete obj.foo will be delegated * to appropriate method call of this interface. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 1.8u40 */ -@Deprecated(since="11", forRemoval=true) public interface JSObject { /** * Call this object as a JavaScript function. This is equivalent to diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java index 87a997d71..b8db1b732 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java @@ -42,12 +42,8 @@ * interface. In these cases, user code will get an instance of this or * implementation defined subclass. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 1.8u40 */ -@Deprecated(since="11", forRemoval=true) @SuppressWarnings("serial") public abstract class NashornException extends RuntimeException { private static final long serialVersionUID = 1L; diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngine.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngine.java index 98bb96054..a2d4276a1 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngine.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngine.java @@ -67,12 +67,8 @@ * {@link Invocable} interfaces, allowing for efficient precompilation and repeated execution of scripts. * @see NashornScriptEngineFactory * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 1.8u40 */ -@Deprecated(since="11", forRemoval=true) public final class NashornScriptEngine extends AbstractScriptEngine implements Compilable, Invocable { /** * Key used to associate Nashorn global object mirror with arbitrary Bindings instance. @@ -139,10 +135,6 @@ public Context run() { } }, CREATE_CONTEXT_ACC_CTXT); - if (!nashornContext.getEnv()._no_deprecation_warning) { - System.err.println("Warning: Nashorn engine is planned to be removed from a future JDK release"); - } - // cache this option that is used often this._global_per_engine = nashornContext.getEnv()._global_per_engine; diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java index 47e05bf3a..a510d8e03 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java @@ -46,12 +46,8 @@ * Programs executing in engines created using {@link #getScriptEngine(String[])} will have the passed arguments * accessible as a global variable named {@code "arguments"}. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 1.8u40 */ -@Deprecated(since="11", forRemoval=true) public final class NashornScriptEngineFactory implements ScriptEngineFactory { @Override public String getEngineName() { diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptObjectMirror.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptObjectMirror.java index 0e82a12cf..8d7fe11be 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptObjectMirror.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptObjectMirror.java @@ -58,12 +58,8 @@ /** * Mirror object that wraps a given Nashorn Script object. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 1.8u40 */ -@Deprecated(since="11", forRemoval=true) public final class ScriptObjectMirror extends AbstractJSObject implements Bindings { private static AccessControlContext getContextAccCtxt() { final Permissions perms = new Permissions(); diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptUtils.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptUtils.java index 7859131c6..e2f5ea936 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptUtils.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptUtils.java @@ -37,12 +37,8 @@ /** * Utilities that are to be called from script code. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 1.8u40 */ -@Deprecated(since="11", forRemoval=true) public final class ScriptUtils { private ScriptUtils() {} diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/URLReader.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/URLReader.java index 3383e66f5..cca271b85 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/URLReader.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/URLReader.java @@ -37,12 +37,8 @@ * A Reader that reads from a URL. Used to make sure that the reader * reads content from given URL and can be trusted to do so. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 1.8u40 */ -@Deprecated(since="11", forRemoval=true) public final class URLReader extends Reader { // underlying URL private final URL url; diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayAccessTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayAccessTree.java index d1554ebc2..4fda2dc91 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayAccessTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayAccessTree.java @@ -33,12 +33,8 @@ * expression [ index ] * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ArrayAccessTree extends ExpressionTree { /** * Returns the array that is accessed. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayLiteralTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayLiteralTree.java index 048f48daf..f6ed2211f 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayLiteralTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayLiteralTree.java @@ -30,12 +30,8 @@ /** * Represents ECMAScript array literal expression. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ArrayLiteralTree extends ExpressionTree { /** * Returns the list of Array element expressions. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/AssignmentTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/AssignmentTree.java index c87eabbae..5999cc71a 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/AssignmentTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/AssignmentTree.java @@ -33,12 +33,8 @@ * variable = expression * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface AssignmentTree extends ExpressionTree { /** * Returns the left hand side (LHS) of this assignment. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BinaryTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BinaryTree.java index 61fcfa775..ecc807277 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BinaryTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BinaryTree.java @@ -34,12 +34,8 @@ * leftOperand operator rightOperand * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface BinaryTree extends ExpressionTree { /** * Returns left hand side (LHS) of this binary expression. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BlockTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BlockTree.java index aa04fad06..afb7f1cd0 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BlockTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BlockTree.java @@ -37,12 +37,8 @@ * { statements } * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface BlockTree extends StatementTree { /** * Returns the list of statements in this block. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BreakTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BreakTree.java index 5e797539c..81d606778 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BreakTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BreakTree.java @@ -35,12 +35,8 @@ * break label ; * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface BreakTree extends GotoTree { /** * Label associated with this break statement. This is null diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CaseTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CaseTree.java index d5d4524d5..b01d1984b 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CaseTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CaseTree.java @@ -39,12 +39,8 @@ * statements * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface CaseTree extends Tree { /** * Case expression of this 'case' statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTree.java index a3ed5bd25..25b4b710a 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTree.java @@ -34,12 +34,8 @@ * block * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface CatchTree extends Tree { /** * Returns the catch parameter identifier or parameter binding pattern of the exception caught. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassDeclarationTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassDeclarationTree.java index cf2571f2b..0eb98cfe9 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassDeclarationTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassDeclarationTree.java @@ -29,12 +29,8 @@ /** * A tree node that represents a class declaration. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ClassDeclarationTree extends StatementTree { /** diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassExpressionTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassExpressionTree.java index ec693d45b..938c6849b 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassExpressionTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassExpressionTree.java @@ -30,12 +30,8 @@ /** * A tree node that represents a class expression. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ClassExpressionTree extends ExpressionTree { /** * Class identifier. Optional. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTree.java index fb424b767..a7afb51f8 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTree.java @@ -31,12 +31,8 @@ * Represents the abstract syntax tree for compilation units (source * files) * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface CompilationUnitTree extends Tree { /** * Return the list of source elements in this compilation unit. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompoundAssignmentTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompoundAssignmentTree.java index 53d70be40..b181759ed 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompoundAssignmentTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompoundAssignmentTree.java @@ -34,12 +34,8 @@ * variable operator expression * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface CompoundAssignmentTree extends ExpressionTree { /** * Returns the left hand side (LHS) of this assignment. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalExpressionTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalExpressionTree.java index 5f90b61b4..459682fed 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalExpressionTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalExpressionTree.java @@ -33,12 +33,8 @@ * condition ? trueExpression : falseExpression * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ConditionalExpressionTree extends ExpressionTree { /** * Returns the condition expression of this ternary expression. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalLoopTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalLoopTree.java index ef5ac5593..10031edee 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalLoopTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalLoopTree.java @@ -28,12 +28,8 @@ /** * A mixin for conditional "loop" statements. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ConditionalLoopTree extends LoopTree { /** * Returns the condition expression of this 'loop' statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTree.java index 28b4f9f84..6be05bd37 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTree.java @@ -34,12 +34,8 @@ * continue label ; * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ContinueTree extends GotoTree { /** * Label associated with this continue statement. This is null diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DebuggerTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DebuggerTree.java index 052b0b7d6..625ca0dba 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DebuggerTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DebuggerTree.java @@ -33,11 +33,7 @@ * debugger; * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface DebuggerTree extends StatementTree { } diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Diagnostic.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Diagnostic.java index 0528c333a..3ca43457c 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Diagnostic.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Diagnostic.java @@ -40,12 +40,8 @@ *

Line terminator is as defined in ECMAScript specification which is one * of { \u000A, \u000B, \u2028, \u2029 }. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface Diagnostic { /** @@ -59,11 +55,7 @@ public interface Diagnostic { * should imply any inherent semantic meaning to the message * of the diagnostic: for example, a tool might provide an * option to report all warnings as errors. - * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. */ - @Deprecated(since="11", forRemoval=true) enum Kind { /** * Problem which prevents the tool's normal completion. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticListener.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticListener.java index 8c3d3bbff..e0053a795 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticListener.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticListener.java @@ -28,12 +28,8 @@ /** * Interface for receiving diagnostics from Nashorn parser. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) @FunctionalInterface public interface DiagnosticListener { /** diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DoWhileLoopTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DoWhileLoopTree.java index 96d08644e..45f4a8abd 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DoWhileLoopTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DoWhileLoopTree.java @@ -35,12 +35,8 @@ * while ( expression ); * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface DoWhileLoopTree extends ConditionalLoopTree { /** * Returns the condition expression of this do-while statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/EmptyStatementTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/EmptyStatementTree.java index 6de96b555..5f4999249 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/EmptyStatementTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/EmptyStatementTree.java @@ -33,10 +33,6 @@ * ; * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface EmptyStatementTree extends StatementTree {} diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ErroneousTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ErroneousTree.java index 79b9c6c31..dd0c95a6d 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ErroneousTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ErroneousTree.java @@ -28,11 +28,7 @@ /** * A tree node to stand in for a malformed expression. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ErroneousTree extends ExpressionTree { } diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExportEntryTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExportEntryTree.java index d6c96c1d5..2e830abd2 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExportEntryTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExportEntryTree.java @@ -28,11 +28,7 @@ /** * A Tree node for export entry in Module information. - * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. */ -@Deprecated(since="11", forRemoval=true) public interface ExportEntryTree extends Tree { /** * Returns the entry's export name. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionStatementTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionStatementTree.java index d7bbd28ab..dbf09a59d 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionStatementTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionStatementTree.java @@ -33,12 +33,8 @@ * expression ; * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ExpressionStatementTree extends StatementTree { /** * Returns the expression of this expression statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTree.java index 69752f1d1..6076ba077 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTree.java @@ -29,10 +29,6 @@ * A tree node used as the base class for the different types of * expressions. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ExpressionTree extends Tree {} diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForInLoopTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForInLoopTree.java index c34c64fcc..302a4f53d 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForInLoopTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForInLoopTree.java @@ -34,12 +34,8 @@ * statement * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ForInLoopTree extends LoopTree { /** * The for..in left hand side expression. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForLoopTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForLoopTree.java index d9466463f..1e260a8e3 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForLoopTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForLoopTree.java @@ -34,12 +34,8 @@ * statement * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ForLoopTree extends ConditionalLoopTree { /** * Returns the initializer expression of this 'for' statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForOfLoopTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForOfLoopTree.java index b6dd42417..999c4d3e3 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForOfLoopTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForOfLoopTree.java @@ -34,12 +34,8 @@ * statement * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ForOfLoopTree extends LoopTree { /** * The for..of left hand side expression. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionCallTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionCallTree.java index 713a21fd4..38ee487d4 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionCallTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionCallTree.java @@ -37,12 +37,8 @@ * this . identifier ( arguments ) * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface FunctionCallTree extends ExpressionTree { /** * Returns the function being called. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTree.java index 19442de1f..2ff8eb7d8 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTree.java @@ -43,12 +43,8 @@ * body * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface FunctionDeclarationTree extends StatementTree { /** * Returns the name of the function being declared. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTree.java index 07e931f05..d3cd3d233 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTree.java @@ -41,12 +41,8 @@ * var func = (x) => x+1 * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface FunctionExpressionTree extends ExpressionTree { /** * Returns the name of the function being declared. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/GotoTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/GotoTree.java index c23ede97a..b08484c4d 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/GotoTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/GotoTree.java @@ -31,12 +31,8 @@ * type serves as a super interface for {@link BreakTree} and * {@link ContinueTree}. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface GotoTree extends StatementTree { /** * Label associated with this goto statement. This is null diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IdentifierTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IdentifierTree.java index d6684fb93..e82e257cd 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IdentifierTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IdentifierTree.java @@ -33,12 +33,8 @@ * name * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface IdentifierTree extends ExpressionTree { /** * Returns the name of this identifier. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTree.java index e515dc0d5..a1a65691d 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTree.java @@ -39,12 +39,8 @@ * elseStatement * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface IfTree extends StatementTree { /** * Returns the condition expression of this 'if' statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTree.java index 91212ff9f..f28db0740 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTree.java @@ -28,11 +28,7 @@ /** * A Tree node for import entry of Module information. - * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. */ -@Deprecated(since="11", forRemoval=true) public interface ImportEntryTree extends Tree { /** * Returns the entry's module request. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTree.java index bf721fdce..5b72ead22 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTree.java @@ -33,12 +33,8 @@ * expression instanceof type * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface InstanceOfTree extends ExpressionTree { /** * Returns the expression whose type is being checked. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTree.java index 39f2e9bf7..3b009fff5 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTree.java @@ -33,12 +33,8 @@ * label : statement * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface LabeledStatementTree extends StatementTree { /** * Returns the label associated with this statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LineMap.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LineMap.java index 08476e7dc..042df249b 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LineMap.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LineMap.java @@ -29,12 +29,8 @@ * Provides methods to convert between character positions and line numbers * for a compilation unit. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface LineMap { /** * Find the line containing a position; a line termination diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LiteralTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LiteralTree.java index 9378bb24d..b1c94f72f 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LiteralTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LiteralTree.java @@ -34,12 +34,8 @@ * value * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface LiteralTree extends ExpressionTree { /** * Returns the value of this literal. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LoopTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LoopTree.java index 2b0d38dfb..54f7e3973 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LoopTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LoopTree.java @@ -28,12 +28,8 @@ /** * A mixin for "loop" statements. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface LoopTree extends StatementTree { /** * Returns the statement contained in this 'loop' statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/MemberSelectTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/MemberSelectTree.java index 70f779f07..61fd6f1a7 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/MemberSelectTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/MemberSelectTree.java @@ -33,12 +33,8 @@ * expression . identifier * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface MemberSelectTree extends ExpressionTree { /** * The object expression whose member is being selected. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ModuleTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ModuleTree.java index 52e06483f..cb7d3538c 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ModuleTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ModuleTree.java @@ -28,11 +28,7 @@ /** * A Tree node for Module information. - * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. */ -@Deprecated(since="11", forRemoval=true) public interface ModuleTree extends Tree { /** * Returns the list of import entries. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTree.java index 06ebb4fe0..35e51ac53 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTree.java @@ -35,12 +35,8 @@ * new identifier ( arguments ) * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface NewTree extends ExpressionTree { /** * Returns the constructor expression of this 'new' expression. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ObjectLiteralTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ObjectLiteralTree.java index 402669fd8..35c745e9f 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ObjectLiteralTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ObjectLiteralTree.java @@ -30,12 +30,8 @@ /** * Represents ECMAScript object literal expression. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ObjectLiteralTree extends ExpressionTree { /** * Returns the list of properties of this object literal. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ParenthesizedTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ParenthesizedTree.java index d27a8a5f2..8a840d4c0 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ParenthesizedTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ParenthesizedTree.java @@ -34,12 +34,8 @@ * ( expression ) * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ParenthesizedTree extends ExpressionTree { /** * Returns the expression within the parenthesis. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Parser.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Parser.java index 40aef0a9d..2ab805083 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Parser.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Parser.java @@ -36,12 +36,8 @@ /** * Represents nashorn ECMAScript parser instance. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface Parser { /** * Parses the source file and returns compilation unit tree diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/PropertyTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/PropertyTree.java index c23119c8e..9292bdb15 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/PropertyTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/PropertyTree.java @@ -28,12 +28,8 @@ /** * To represent property setting in an object literal tree. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface PropertyTree extends Tree { /** * Returns the name of this property. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/RegExpLiteralTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/RegExpLiteralTree.java index 152b9bad6..ff77c267d 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/RegExpLiteralTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/RegExpLiteralTree.java @@ -28,12 +28,8 @@ /** * Represents regular expression literal in the source code. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface RegExpLiteralTree extends ExpressionTree { /** * Regular expression pattern to match. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTree.java index 0689c49ab..b8d2dc8e9 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTree.java @@ -34,12 +34,8 @@ * return expression; * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ReturnTree extends StatementTree { /** * Returns the expression being returned. This is null if no value diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java index 43705803a..043eb32dc 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java @@ -40,16 +40,12 @@ * subclasses with {@link java.lang.Override @Override} will help * ensure that methods are overridden as intended. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @param the return type of this visitor's methods. Use {@link * Void} for visitors that do not need to return results. * @param

the type of the additional parameter to this visitor's * methods. Use {@code Void} for visitors that do not need an * additional parameter. */ -@Deprecated(since="11", forRemoval=true) public class SimpleTreeVisitorES5_1 implements TreeVisitor { @Override public R visitAssignment(final AssignmentTree node, final P r) { diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES6.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES6.java index d535f41a7..8e4faf073 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES6.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES6.java @@ -42,16 +42,12 @@ * subclasses with {@link java.lang.Override @Override} will help * ensure that methods are overridden as intended. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @param the return type of this visitor's methods. Use {@link * Void} for visitors that do not need to return results. * @param

the type of the additional parameter to this visitor's * methods. Use {@code Void} for visitors that do not need an * additional parameter. */ -@Deprecated(since="11", forRemoval=true) public class SimpleTreeVisitorES6 extends SimpleTreeVisitorES5_1 { @Override public R visitCompilationUnit(final CompilationUnitTree node, final P r) { diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SpreadTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SpreadTree.java index 45b4263cb..ca66dce85 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SpreadTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SpreadTree.java @@ -27,11 +27,7 @@ /** * A tree node for spread operator in array elements, function call arguments. - * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. */ -@Deprecated(since="11", forRemoval=true) public interface SpreadTree extends ExpressionTree { /** * Returns the expression that is being spread. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/StatementTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/StatementTree.java index f2d0bf740..a62d463a0 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/StatementTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/StatementTree.java @@ -29,11 +29,7 @@ * A tree node used as the base class for the different kinds of * statements. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface StatementTree extends Tree { } diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SwitchTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SwitchTree.java index dc1526522..0f70dd5c8 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SwitchTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SwitchTree.java @@ -37,12 +37,8 @@ * } * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface SwitchTree extends StatementTree { /** * Returns the expression on which this statement switches. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TemplateLiteralTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TemplateLiteralTree.java index ad799a698..86bc4195e 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TemplateLiteralTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TemplateLiteralTree.java @@ -35,13 +35,9 @@ * `This is a String with ${computed} values in it` * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 * */ -@Deprecated(since="11", forRemoval=true) public interface TemplateLiteralTree extends ExpressionTree { /** * Returns the list of expressions in this template string diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ThrowTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ThrowTree.java index b7d487059..230b5b6f9 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ThrowTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ThrowTree.java @@ -33,12 +33,8 @@ * throw expression; * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface ThrowTree extends StatementTree { /** * Returns the expression being thrown. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Tree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Tree.java index d732f1871..eddeab54c 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Tree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Tree.java @@ -31,21 +31,13 @@ *

WARNING: This interface and its sub-interfaces are * subject to change as the ECMAScript programming language evolves. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface Tree { /** * Enumerates all kinds of trees. - * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. */ - @Deprecated(since="11", forRemoval=true) public enum Kind { /** * Used for instances of {@link ArrayAccessTree}. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java index 677df34fe..70c124d45 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java @@ -45,9 +45,6 @@ this interface to accommodate new, currently unknown, language default method bodies will be introduced which will call visitUnknown method as a fallback. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @param the return type of this visitor's methods. Use {@link * Void} for visitors that do not need to return results. * @param

the type of the additional parameter to this visitor's @@ -56,7 +53,6 @@ this interface to accommodate new, currently unknown, language * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface TreeVisitor { /** * Visit assignment tree. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TryTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TryTree.java index 8aaad475d..e6b6bb8f8 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TryTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TryTree.java @@ -39,12 +39,8 @@ * finallyBlock * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface TryTree extends StatementTree { /** * Returns the 'try' block of this 'try' statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnaryTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnaryTree.java index bcc6eb081..2e57ad819 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnaryTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnaryTree.java @@ -36,12 +36,8 @@ * expression operator * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface UnaryTree extends ExpressionTree { /** * Returns the expression operated by the unary operator. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnknownTreeException.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnknownTreeException.java index fc6015854..e14a01df5 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnknownTreeException.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnknownTreeException.java @@ -33,12 +33,8 @@ * {@linkplain TreeVisitor tree visitor} to indicate that the * visitor was created for a prior version of the language. * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public class UnknownTreeException extends RuntimeException { private static final long serialVersionUID = 1L; diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/VariableTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/VariableTree.java index e055ebdfa..b0cbada63 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/VariableTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/VariableTree.java @@ -34,12 +34,8 @@ * var binding_pattern [ initializer ]; * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface VariableTree extends StatementTree { /** * Returns the binding of this declaration. This is an {@link IdentifierTree} diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WhileLoopTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WhileLoopTree.java index cfda19169..a345e503b 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WhileLoopTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WhileLoopTree.java @@ -34,12 +34,8 @@ * statement * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface WhileLoopTree extends ConditionalLoopTree { /** * The condition expression of this 'while' statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WithTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WithTree.java index f08085b2d..a7af28239 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WithTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WithTree.java @@ -34,12 +34,8 @@ * statement * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface WithTree extends StatementTree { /** * The scope object expression for this 'with' statement. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/YieldTree.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/YieldTree.java index 8ba8e2011..0b21bb0be 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/YieldTree.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/YieldTree.java @@ -37,12 +37,8 @@ * } * * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @since 9 */ -@Deprecated(since="11", forRemoval=true) public interface YieldTree extends ExpressionTree { /** * Returns the expression that is yielded. diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java index 16d95255b..55f02d453 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java @@ -108,8 +108,6 @@ public final class ScriptEnvironment { /** Enable experimental ECMAScript 6 features. */ public final boolean _es6; - /** do not show deprecation warning for nashorn engine and jjs usage. */ - public final boolean _no_deprecation_warning; /** Number of times a dynamic call site has to be relinked before it is * considered unstable (and thus should be linked as if it were megamorphic). @@ -308,7 +306,6 @@ public ScriptEnvironment(final Options options, final PrintWriter out, final Pri _strict = options.getBoolean("strict"); _version = options.getBoolean("version"); _verify_code = options.getBoolean("verify.code"); - _no_deprecation_warning = options.getBoolean("no.deprecation.warning"); final int configuredUrt = options.getInteger("unstable.relink.threshold"); // The default for this property is -1, so we can easily detect when diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties index 31f761b83..0dfb24be6 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties @@ -223,14 +223,6 @@ nashorn.option.log = { \ type=Log \ } -nashorn.option.no.deprecation.warning = { \ - name="--no-deprecation-warning", \ - type=Boolean, \ - default=false, \ - desc="Do not show nashorn deprecation warning." \ -} - - nashorn.option.lazy.compilation = { \ name="--lazy-compilation", \ is_undocumented=true, \ diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java index e141eb7d2..9722ac133 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java @@ -170,9 +170,6 @@ protected final int run(final InputStream in, final OutputStream out, final Outp final Global global = context.createGlobal(); final ScriptEnvironment env = context.getEnv(); - if (!env._no_deprecation_warning) { - System.err.println("Warning: The jjs tool is planned to be removed from a future JDK release"); - } final List files = env.getFiles(); if (files.isEmpty()) { return readEvalPrint(context, global); diff --git a/src/jdk.scripting.nashorn/share/classes/module-info.java b/src/jdk.scripting.nashorn/share/classes/module-info.java index 6b9b1365d..9ee721ff6 100644 --- a/src/jdk.scripting.nashorn/share/classes/module-info.java +++ b/src/jdk.scripting.nashorn/share/classes/module-info.java @@ -135,14 +135,10 @@ * non-standard built-in objects: * {@code JSAdapter}, {@code JavaImporter}, {@code Packages} * - * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool - * are deprecated with the intent to remove them in a future release. - * * @provides javax.script.ScriptEngineFactory * @moduleGraph * @since 9 */ -@Deprecated(since="11", forRemoval=true) module jdk.scripting.nashorn { requires java.logging; requires jdk.dynalink; diff --git a/test/nashorn/script/nosecurity/JDK-8193137.js b/test/nashorn/script/nosecurity/JDK-8193137.js index 163fed042..b1fef72ce 100644 --- a/test/nashorn/script/nosecurity/JDK-8193137.js +++ b/test/nashorn/script/nosecurity/JDK-8193137.js @@ -54,6 +54,6 @@ var emptyFile = new File($ENV.PWD+File.separator+"empty.js"); emptyFile.createNewFile(); emptyFile.deleteOnExit(); -$EXEC(jjsCmd + " --no-deprecation-warning empty.js"); +$EXEC(jjsCmd + " empty.js"); if($ERR != "") fail("jjs fails with empty script file"); From 1f5b6e68ba0d1fa3265f27858b0c7d95d5904a42 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 12:21:32 +0200 Subject: [PATCH 02/29] Move all files under the new module and package names --- .../openjdk}/nashorn/internal/tools/nasgen/ClassGenerator.java | 0 .../nashorn/internal/tools/nasgen/ConstructorGenerator.java | 0 .../{jdk => org/openjdk}/nashorn/internal/tools/nasgen/Main.java | 0 .../openjdk}/nashorn/internal/tools/nasgen/MemberInfo.java | 0 .../openjdk}/nashorn/internal/tools/nasgen/MethodGenerator.java | 0 .../openjdk}/nashorn/internal/tools/nasgen/NullVisitor.java | 0 .../nashorn/internal/tools/nasgen/PrototypeGenerator.java | 0 .../openjdk}/nashorn/internal/tools/nasgen/ScriptClassInfo.java | 0 .../nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java | 0 .../nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java | 0 .../openjdk}/nashorn/internal/tools/nasgen/StringConstants.java | 0 .../{jdk => org/openjdk}/nashorn/internal/tools/nasgen/Where.java | 0 .../share/classes/module-info.java | 0 .../share/classes/org/openjdk}/nashorn/tools/jjs/Console.java | 0 .../share/classes/org/openjdk}/nashorn/tools/jjs/EditObject.java | 0 .../classes/org/openjdk}/nashorn/tools/jjs/ExternalEditor.java | 0 .../classes/org/openjdk}/nashorn/tools/jjs/HistoryObject.java | 0 .../org/openjdk}/nashorn/tools/jjs/JavacPackagesHelper.java | 0 .../classes/org/openjdk}/nashorn/tools/jjs/JrtPackagesHelper.java | 0 .../share/classes/org/openjdk}/nashorn/tools/jjs/Main.java | 0 .../classes/org/openjdk}/nashorn/tools/jjs/NashornCompleter.java | 0 .../classes/org/openjdk}/nashorn/tools/jjs/PackagesHelper.java | 0 .../classes/org/openjdk}/nashorn/tools/jjs/PropertiesHelper.java | 0 .../share/classes/org/openjdk}/nashorn/tools/jjs/resources/jjs.js | 0 .../share/man/jjs.1 | 0 .../share/classes/module-info.java | 0 .../org/openjdk}/nashorn/api/linker/NashornLinkerExporter.java | 0 .../org/openjdk}/nashorn/api/scripting/AbstractJSObject.java | 0 .../classes/org/openjdk}/nashorn/api/scripting/ClassFilter.java | 0 .../org/openjdk}/nashorn/api/scripting/DefaultValueImpl.java | 0 .../classes/org/openjdk}/nashorn/api/scripting/Formatter.java | 0 .../classes/org/openjdk}/nashorn/api/scripting/JSObject.java | 0 .../org/openjdk}/nashorn/api/scripting/NashornException.java | 0 .../org/openjdk}/nashorn/api/scripting/NashornScriptEngine.java | 0 .../nashorn/api/scripting/NashornScriptEngineFactory.java | 0 .../org/openjdk}/nashorn/api/scripting/ScriptObjectMirror.java | 0 .../classes/org/openjdk}/nashorn/api/scripting/ScriptUtils.java | 0 .../classes/org/openjdk}/nashorn/api/scripting/URLReader.java | 0 .../classes/org/openjdk}/nashorn/api/scripting/package-info.java | 0 .../openjdk}/nashorn/api/scripting/resources/Messages.properties | 0 .../classes/org/openjdk}/nashorn/api/tree/ArrayAccessTree.java | 0 .../org/openjdk}/nashorn/api/tree/ArrayAccessTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ArrayLiteralTree.java | 0 .../org/openjdk}/nashorn/api/tree/ArrayLiteralTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/AssignmentTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/AssignmentTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/BinaryTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/BinaryTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/BlockTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/BlockTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/BreakTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/BreakTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/CaseTree.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/CaseTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/CatchTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/CatchTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/ClassDeclarationTree.java | 0 .../org/openjdk}/nashorn/api/tree/ClassDeclarationTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/ClassExpressionTree.java | 0 .../org/openjdk}/nashorn/api/tree/ClassExpressionTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/CompilationUnitTree.java | 0 .../org/openjdk}/nashorn/api/tree/CompilationUnitTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/CompoundAssignmentTree.java | 0 .../org/openjdk}/nashorn/api/tree/CompoundAssignmentTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/ConditionalExpressionTree.java | 0 .../openjdk}/nashorn/api/tree/ConditionalExpressionTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/ConditionalLoopTree.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/ContinueTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ContinueTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/DebuggerTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/DebuggerTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/DestructuringDeclTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/Diagnostic.java | 0 .../classes/org/openjdk}/nashorn/api/tree/DiagnosticImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/DiagnosticListener.java | 0 .../classes/org/openjdk}/nashorn/api/tree/DoWhileLoopTree.java | 0 .../org/openjdk}/nashorn/api/tree/DoWhileLoopTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/EmptyStatementTree.java | 0 .../org/openjdk}/nashorn/api/tree/EmptyStatementTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ErroneousTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ErroneousTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ExportEntryTree.java | 0 .../org/openjdk}/nashorn/api/tree/ExportEntryTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/ExpressionStatementTree.java | 0 .../openjdk}/nashorn/api/tree/ExpressionStatementTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ExpressionTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ExpressionTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ForInLoopTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ForInLoopTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/ForLoopTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ForLoopTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ForOfLoopTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ForOfLoopTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/FunctionCallTree.java | 0 .../org/openjdk}/nashorn/api/tree/FunctionCallTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/FunctionDeclarationTree.java | 0 .../openjdk}/nashorn/api/tree/FunctionDeclarationTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/FunctionExpressionTree.java | 0 .../org/openjdk}/nashorn/api/tree/FunctionExpressionTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/GotoTree.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/IRTranslator.java | 0 .../classes/org/openjdk}/nashorn/api/tree/IdentifierTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/IdentifierTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/IfTree.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/IfTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ImportEntryTree.java | 0 .../org/openjdk}/nashorn/api/tree/ImportEntryTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/InstanceOfTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/InstanceOfTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/LabeledStatementTree.java | 0 .../org/openjdk}/nashorn/api/tree/LabeledStatementTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/LineMap.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/LineMapImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/LiteralTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/LiteralTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/LoopTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/MemberSelectTree.java | 0 .../org/openjdk}/nashorn/api/tree/MemberSelectTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/ModuleTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ModuleTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/NewTree.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/NewTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ObjectLiteralTree.java | 0 .../org/openjdk}/nashorn/api/tree/ObjectLiteralTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ParenthesizedTree.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/Parser.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/ParserImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/PropertyTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/PropertyTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/RegExpLiteralTree.java | 0 .../org/openjdk}/nashorn/api/tree/RegExpLiteralTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/ReturnTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ReturnTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/SimpleTreeVisitorES5_1.java | 0 .../org/openjdk}/nashorn/api/tree/SimpleTreeVisitorES6.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/SpreadTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/SpreadTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/StatementTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/StatementTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/SwitchTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/SwitchTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/TemplateLiteralTree.java | 0 .../org/openjdk}/nashorn/api/tree/TemplateLiteralTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/ThrowTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/ThrowTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/Tree.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/TreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/TreeVisitor.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/TryTree.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/TryTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/UnaryTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/UnaryTreeImpl.java | 0 .../org/openjdk}/nashorn/api/tree/UnknownTreeException.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/VariableTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/VariableTreeImpl.java | 0 .../classes/org/openjdk}/nashorn/api/tree/WhileLoopTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/WhileLoopTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/WithTree.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/WithTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/YieldTree.java | 0 .../classes/org/openjdk}/nashorn/api/tree/YieldTreeImpl.java | 0 .../share/classes/org/openjdk}/nashorn/api/tree/package-info.java | 0 .../classes/org/openjdk}/nashorn/internal/AssertsEnabled.java | 0 .../share/classes/org/openjdk}/nashorn/internal/IntDeque.java | 0 .../classes/org/openjdk}/nashorn/internal/WeakValueCache.java | 0 .../openjdk}/nashorn/internal/codegen/ApplySpecialization.java | 0 .../org/openjdk}/nashorn/internal/codegen/AssignSymbols.java | 0 .../org/openjdk}/nashorn/internal/codegen/BranchOptimizer.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/CacheAst.java | 0 .../org/openjdk}/nashorn/internal/codegen/ClassEmitter.java | 0 .../org/openjdk}/nashorn/internal/codegen/CodeGenerator.java | 0 .../nashorn/internal/codegen/CodeGeneratorLexicalContext.java | 0 .../openjdk}/nashorn/internal/codegen/CompilationException.java | 0 .../org/openjdk}/nashorn/internal/codegen/CompilationPhase.java | 0 .../org/openjdk}/nashorn/internal/codegen/CompileUnit.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/Compiler.java | 0 .../org/openjdk}/nashorn/internal/codegen/CompilerConstants.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/Condition.java | 0 .../org/openjdk}/nashorn/internal/codegen/ConstantData.java | 0 .../org/openjdk}/nashorn/internal/codegen/DumpBytecode.java | 0 .../org/openjdk}/nashorn/internal/codegen/FieldObjectCreator.java | 0 .../org/openjdk}/nashorn/internal/codegen/FindScopeDepths.java | 0 .../org/openjdk}/nashorn/internal/codegen/FoldConstants.java | 0 .../org/openjdk}/nashorn/internal/codegen/FunctionSignature.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/Label.java | 0 .../nashorn/internal/codegen/LocalStateRestorationInfo.java | 0 .../nashorn/internal/codegen/LocalVariableTypesCalculator.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/Lower.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/MapCreator.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/MapTuple.java | 0 .../org/openjdk}/nashorn/internal/codegen/MethodEmitter.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/Namespace.java | 0 .../openjdk}/nashorn/internal/codegen/ObjectClassGenerator.java | 0 .../org/openjdk}/nashorn/internal/codegen/ObjectCreator.java | 0 .../nashorn/internal/codegen/OptimisticTypesCalculator.java | 0 .../nashorn/internal/codegen/OptimisticTypesPersistence.java | 0 .../org/openjdk}/nashorn/internal/codegen/ProgramPoints.java | 0 .../openjdk}/nashorn/internal/codegen/ReplaceCompileUnits.java | 0 .../org/openjdk}/nashorn/internal/codegen/SharedScopeCall.java | 0 .../org/openjdk}/nashorn/internal/codegen/SpillObjectCreator.java | 0 .../org/openjdk}/nashorn/internal/codegen/SplitIntoFunctions.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/Splitter.java | 0 .../org/openjdk}/nashorn/internal/codegen/TypeEvaluator.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/TypeMap.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/WeighNodes.java | 0 .../org/openjdk}/nashorn/internal/codegen/anchor.properties | 0 .../org/openjdk}/nashorn/internal/codegen/types/ArrayType.java | 0 .../org/openjdk}/nashorn/internal/codegen/types/BitwiseType.java | 0 .../org/openjdk}/nashorn/internal/codegen/types/BooleanType.java | 0 .../openjdk}/nashorn/internal/codegen/types/BytecodeArrayOps.java | 0 .../nashorn/internal/codegen/types/BytecodeBitwiseOps.java | 0 .../nashorn/internal/codegen/types/BytecodeNumericOps.java | 0 .../org/openjdk}/nashorn/internal/codegen/types/BytecodeOps.java | 0 .../org/openjdk}/nashorn/internal/codegen/types/IntType.java | 0 .../org/openjdk}/nashorn/internal/codegen/types/LongType.java | 0 .../org/openjdk}/nashorn/internal/codegen/types/NumberType.java | 0 .../org/openjdk}/nashorn/internal/codegen/types/NumericType.java | 0 .../org/openjdk}/nashorn/internal/codegen/types/ObjectType.java | 0 .../classes/org/openjdk}/nashorn/internal/codegen/types/Type.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/AccessNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/Assignment.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/BaseNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/BinaryNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/Block.java | 0 .../org/openjdk}/nashorn/internal/ir/BlockLexicalContext.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/BlockStatement.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/BreakNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/BreakableNode.java | 0 .../org/openjdk}/nashorn/internal/ir/BreakableStatement.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/CallNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/CaseNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/CatchNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/ClassNode.java | 0 .../org/openjdk}/nashorn/internal/ir/CompileUnitHolder.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/ContinueNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/DebuggerNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/EmptyNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/ErrorNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/Expression.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/ExpressionList.java | 0 .../org/openjdk}/nashorn/internal/ir/ExpressionStatement.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/Flags.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/ForNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/FunctionCall.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/FunctionNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/GetSplitState.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/IdentNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/IfNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/IndexNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/JoinPredecessor.java | 0 .../openjdk}/nashorn/internal/ir/JoinPredecessorExpression.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/JumpStatement.java | 0 .../org/openjdk}/nashorn/internal/ir/JumpToInlinedFinally.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/LabelNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/Labels.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/LexicalContext.java | 0 .../openjdk}/nashorn/internal/ir/LexicalContextExpression.java | 0 .../org/openjdk}/nashorn/internal/ir/LexicalContextNode.java | 0 .../org/openjdk}/nashorn/internal/ir/LexicalContextStatement.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/LiteralNode.java | 0 .../org/openjdk}/nashorn/internal/ir/LocalVariableConversion.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/LoopNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/Module.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/Node.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/ObjectNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/Optimistic.java | 0 .../openjdk}/nashorn/internal/ir/OptimisticLexicalContext.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/PropertyKey.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/PropertyNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/ReturnNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/RuntimeNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/SetSplitState.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/SplitNode.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/SplitReturn.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/Splittable.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/Statement.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/SwitchNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/Symbol.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/TemplateLiteral.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/Terminal.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/TernaryNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/ThrowNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/TryNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/UnaryNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/VarNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/WhileNode.java | 0 .../share/classes/org/openjdk}/nashorn/internal/ir/WithNode.java | 0 .../org/openjdk}/nashorn/internal/ir/annotations/Ignore.java | 0 .../org/openjdk}/nashorn/internal/ir/annotations/Immutable.java | 0 .../org/openjdk}/nashorn/internal/ir/annotations/Reference.java | 0 .../classes/org/openjdk}/nashorn/internal/ir/debug/ASTWriter.java | 0 .../org/openjdk}/nashorn/internal/ir/debug/JSONWriter.java | 0 .../openjdk}/nashorn/internal/ir/debug/NashornClassReader.java | 0 .../org/openjdk}/nashorn/internal/ir/debug/NashornTextifier.java | 0 .../org/openjdk}/nashorn/internal/ir/debug/PrintVisitor.java | 0 .../openjdk}/nashorn/internal/ir/visitor/NodeOperatorVisitor.java | 0 .../org/openjdk}/nashorn/internal/ir/visitor/NodeVisitor.java | 0 .../openjdk}/nashorn/internal/ir/visitor/SimpleNodeVisitor.java | 0 .../classes/org/openjdk}/nashorn/internal/lookup/Lookup.java | 0 .../org/openjdk}/nashorn/internal/lookup/MethodHandleFactory.java | 0 .../nashorn/internal/lookup/MethodHandleFunctionality.java | 0 .../org/openjdk}/nashorn/internal/objects/AbstractIterator.java | 0 .../nashorn/internal/objects/AccessorPropertyDescriptor.java | 0 .../org/openjdk}/nashorn/internal/objects/ArrayBufferView.java | 0 .../org/openjdk}/nashorn/internal/objects/ArrayIterator.java | 0 .../openjdk}/nashorn/internal/objects/DataPropertyDescriptor.java | 0 .../nashorn/internal/objects/GenericPropertyDescriptor.java | 0 .../classes/org/openjdk}/nashorn/internal/objects/Global.java | 0 .../org/openjdk}/nashorn/internal/objects/IteratorResult.java | 0 .../classes/org/openjdk}/nashorn/internal/objects/LinkedMap.java | 0 .../org/openjdk}/nashorn/internal/objects/MapIterator.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeArguments.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeArray.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeArrayBuffer.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeBoolean.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeDataView.java | 0 .../classes/org/openjdk}/nashorn/internal/objects/NativeDate.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeDebug.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeError.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeEvalError.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeFloat32Array.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeFloat64Array.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeFunction.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeInt16Array.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeInt32Array.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeInt8Array.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeJSAdapter.java | 0 .../classes/org/openjdk}/nashorn/internal/objects/NativeJSON.java | 0 .../classes/org/openjdk}/nashorn/internal/objects/NativeJava.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeJavaImporter.java | 0 .../classes/org/openjdk}/nashorn/internal/objects/NativeMap.java | 0 .../classes/org/openjdk}/nashorn/internal/objects/NativeMath.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeNumber.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeObject.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeRangeError.java | 0 .../openjdk}/nashorn/internal/objects/NativeReferenceError.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeRegExp.java | 0 .../openjdk}/nashorn/internal/objects/NativeRegExpExecResult.java | 0 .../classes/org/openjdk}/nashorn/internal/objects/NativeSet.java | 0 .../openjdk}/nashorn/internal/objects/NativeStrictArguments.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeString.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeSymbol.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeSyntaxError.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeTypeError.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeURIError.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeUint16Array.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeUint32Array.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeUint8Array.java | 0 .../nashorn/internal/objects/NativeUint8ClampedArray.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeWeakMap.java | 0 .../org/openjdk}/nashorn/internal/objects/NativeWeakSet.java | 0 .../org/openjdk}/nashorn/internal/objects/SetIterator.java | 0 .../org/openjdk}/nashorn/internal/objects/StringIterator.java | 0 .../openjdk}/nashorn/internal/objects/annotations/Attribute.java | 0 .../nashorn/internal/objects/annotations/Constructor.java | 0 .../openjdk}/nashorn/internal/objects/annotations/Function.java | 0 .../org/openjdk}/nashorn/internal/objects/annotations/Getter.java | 0 .../openjdk}/nashorn/internal/objects/annotations/Optimistic.java | 0 .../openjdk}/nashorn/internal/objects/annotations/Property.java | 0 .../nashorn/internal/objects/annotations/ScriptClass.java | 0 .../org/openjdk}/nashorn/internal/objects/annotations/Setter.java | 0 .../nashorn/internal/objects/annotations/SpecializedFunction.java | 0 .../org/openjdk}/nashorn/internal/objects/annotations/Where.java | 0 .../org/openjdk}/nashorn/internal/objects/package-info.java | 0 .../org/openjdk}/nashorn/internal/parser/AbstractParser.java | 0 .../classes/org/openjdk}/nashorn/internal/parser/DateParser.java | 0 .../classes/org/openjdk}/nashorn/internal/parser/JSONParser.java | 0 .../share/classes/org/openjdk}/nashorn/internal/parser/Lexer.java | 0 .../classes/org/openjdk}/nashorn/internal/parser/Parser.java | 0 .../org/openjdk}/nashorn/internal/parser/ParserContext.java | 0 .../openjdk}/nashorn/internal/parser/ParserContextBaseNode.java | 0 .../openjdk}/nashorn/internal/parser/ParserContextBlockNode.java | 0 .../nashorn/internal/parser/ParserContextBreakableNode.java | 0 .../nashorn/internal/parser/ParserContextFunctionNode.java | 0 .../openjdk}/nashorn/internal/parser/ParserContextLabelNode.java | 0 .../openjdk}/nashorn/internal/parser/ParserContextLoopNode.java | 0 .../openjdk}/nashorn/internal/parser/ParserContextModuleNode.java | 0 .../org/openjdk}/nashorn/internal/parser/ParserContextNode.java | 0 .../openjdk}/nashorn/internal/parser/ParserContextSwitchNode.java | 0 .../classes/org/openjdk}/nashorn/internal/parser/Scanner.java | 0 .../share/classes/org/openjdk}/nashorn/internal/parser/Token.java | 0 .../classes/org/openjdk}/nashorn/internal/parser/TokenKind.java | 0 .../classes/org/openjdk}/nashorn/internal/parser/TokenLookup.java | 0 .../classes/org/openjdk}/nashorn/internal/parser/TokenStream.java | 0 .../classes/org/openjdk}/nashorn/internal/parser/TokenType.java | 0 .../nashorn/internal/runtime/AccessControlContextFactory.java | 0 .../org/openjdk}/nashorn/internal/runtime/AccessorProperty.java | 0 .../org/openjdk}/nashorn/internal/runtime/AllocationStrategy.java | 0 .../org/openjdk}/nashorn/internal/runtime/ArgumentSetter.java | 0 .../org/openjdk}/nashorn/internal/runtime/AstDeserializer.java | 0 .../org/openjdk}/nashorn/internal/runtime/AstSerializer.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/BitVector.java | 0 .../org/openjdk}/nashorn/internal/runtime/CodeInstaller.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/CodeStore.java | 0 .../org/openjdk}/nashorn/internal/runtime/CommandExecutor.java | 0 .../org/openjdk}/nashorn/internal/runtime/CompiledFunction.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/ConsString.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/Context.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/Debug.java | 0 .../org/openjdk}/nashorn/internal/runtime/DebuggerSupport.java | 0 .../openjdk}/nashorn/internal/runtime/DefaultPropertyAccess.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/ECMAErrors.java | 0 .../org/openjdk}/nashorn/internal/runtime/ECMAException.java | 0 .../org/openjdk}/nashorn/internal/runtime/ErrorManager.java | 0 .../nashorn/internal/runtime/FinalScriptFunctionData.java | 0 .../org/openjdk}/nashorn/internal/runtime/FindProperty.java | 0 .../openjdk}/nashorn/internal/runtime/FunctionDocumentation.java | 0 .../openjdk}/nashorn/internal/runtime/FunctionInitializer.java | 0 .../org/openjdk}/nashorn/internal/runtime/FunctionScope.java | 0 .../org/openjdk}/nashorn/internal/runtime/GlobalConstants.java | 0 .../org/openjdk}/nashorn/internal/runtime/GlobalFunctions.java | 0 .../org/openjdk}/nashorn/internal/runtime/JSErrorType.java | 0 .../org/openjdk}/nashorn/internal/runtime/JSONFunctions.java | 0 .../org/openjdk}/nashorn/internal/runtime/JSONListAdapter.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/JSType.java | 0 .../org/openjdk}/nashorn/internal/runtime/ListAdapter.java | 0 .../org/openjdk}/nashorn/internal/runtime/NashornLoader.java | 0 .../org/openjdk}/nashorn/internal/runtime/NativeJavaPackage.java | 0 .../org/openjdk}/nashorn/internal/runtime/OptimisticBuiltins.java | 0 .../nashorn/internal/runtime/OptimisticReturnFilters.java | 0 .../org/openjdk}/nashorn/internal/runtime/ParserException.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/Property.java | 0 .../org/openjdk}/nashorn/internal/runtime/PropertyAccess.java | 0 .../org/openjdk}/nashorn/internal/runtime/PropertyDescriptor.java | 0 .../org/openjdk}/nashorn/internal/runtime/PropertyHashMap.java | 0 .../org/openjdk}/nashorn/internal/runtime/PropertyMap.java | 0 .../openjdk}/nashorn/internal/runtime/PropertySwitchPoints.java | 0 .../org/openjdk}/nashorn/internal/runtime/PrototypeObject.java | 0 .../openjdk}/nashorn/internal/runtime/QuotedStringTokenizer.java | 0 .../nashorn/internal/runtime/RecompilableScriptFunctionData.java | 0 .../org/openjdk}/nashorn/internal/runtime/RewriteException.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/Scope.java | 0 .../org/openjdk}/nashorn/internal/runtime/ScriptEnvironment.java | 0 .../org/openjdk}/nashorn/internal/runtime/ScriptFunction.java | 0 .../org/openjdk}/nashorn/internal/runtime/ScriptFunctionData.java | 0 .../org/openjdk}/nashorn/internal/runtime/ScriptLoader.java | 0 .../org/openjdk}/nashorn/internal/runtime/ScriptObject.java | 0 .../org/openjdk}/nashorn/internal/runtime/ScriptRuntime.java | 0 .../org/openjdk}/nashorn/internal/runtime/ScriptingFunctions.java | 0 .../org/openjdk}/nashorn/internal/runtime/SetMethodCreator.java | 0 .../org/openjdk}/nashorn/internal/runtime/SharedPropertyMap.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/Source.java | 0 .../org/openjdk}/nashorn/internal/runtime/Specialization.java | 0 .../org/openjdk}/nashorn/internal/runtime/SpillProperty.java | 0 .../org/openjdk}/nashorn/internal/runtime/StoredScript.java | 0 .../org/openjdk}/nashorn/internal/runtime/StructureLoader.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/Symbol.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/Timing.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/URIUtils.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/Undefined.java | 0 .../nashorn/internal/runtime/UnwarrantedOptimismException.java | 0 .../openjdk}/nashorn/internal/runtime/UserAccessorProperty.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/Version.java | 0 .../classes/org/openjdk}/nashorn/internal/runtime/WithObject.java | 0 .../org/openjdk}/nashorn/internal/runtime/arrays/AnyElements.java | 0 .../org/openjdk}/nashorn/internal/runtime/arrays/ArrayData.java | 0 .../org/openjdk}/nashorn/internal/runtime/arrays/ArrayFilter.java | 0 .../org/openjdk}/nashorn/internal/runtime/arrays/ArrayIndex.java | 0 .../nashorn/internal/runtime/arrays/ArrayLikeIterator.java | 0 .../nashorn/internal/runtime/arrays/ByteBufferArrayData.java | 0 .../nashorn/internal/runtime/arrays/ContinuousArrayData.java | 0 .../nashorn/internal/runtime/arrays/DeletedArrayFilter.java | 0 .../nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java | 0 .../nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java | 0 .../nashorn/internal/runtime/arrays/FrozenArrayFilter.java | 0 .../openjdk}/nashorn/internal/runtime/arrays/IntArrayData.java | 0 .../org/openjdk}/nashorn/internal/runtime/arrays/IntElements.java | 0 .../nashorn/internal/runtime/arrays/IntOrLongElements.java | 0 .../openjdk}/nashorn/internal/runtime/arrays/IteratorAction.java | 0 .../nashorn/internal/runtime/arrays/JSObjectIterator.java | 0 .../nashorn/internal/runtime/arrays/JavaArrayIterator.java | 0 .../nashorn/internal/runtime/arrays/JavaListIterator.java | 0 .../nashorn/internal/runtime/arrays/LengthNotWritableFilter.java | 0 .../nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java | 0 .../openjdk}/nashorn/internal/runtime/arrays/NumberArrayData.java | 0 .../openjdk}/nashorn/internal/runtime/arrays/NumericElements.java | 0 .../openjdk}/nashorn/internal/runtime/arrays/ObjectArrayData.java | 0 .../nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java | 0 .../nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java | 0 .../nashorn/internal/runtime/arrays/ReverseJavaListIterator.java | 0 .../internal/runtime/arrays/ReverseScriptArrayIterator.java | 0 .../internal/runtime/arrays/ReverseScriptObjectIterator.java | 0 .../nashorn/internal/runtime/arrays/ScriptArrayIterator.java | 0 .../nashorn/internal/runtime/arrays/ScriptObjectIterator.java | 0 .../nashorn/internal/runtime/arrays/SealedArrayFilter.java | 0 .../openjdk}/nashorn/internal/runtime/arrays/SparseArrayData.java | 0 .../openjdk}/nashorn/internal/runtime/arrays/TypedArrayData.java | 0 .../nashorn/internal/runtime/arrays/UndefinedArrayFilter.java | 0 .../org/openjdk}/nashorn/internal/runtime/doubleconv/Bignum.java | 0 .../openjdk}/nashorn/internal/runtime/doubleconv/BignumDtoa.java | 0 .../nashorn/internal/runtime/doubleconv/CachedPowers.java | 0 .../org/openjdk}/nashorn/internal/runtime/doubleconv/DiyFp.java | 0 .../nashorn/internal/runtime/doubleconv/DoubleConversion.java | 0 .../openjdk}/nashorn/internal/runtime/doubleconv/DtoaBuffer.java | 0 .../openjdk}/nashorn/internal/runtime/doubleconv/DtoaMode.java | 0 .../openjdk}/nashorn/internal/runtime/doubleconv/FastDtoa.java | 0 .../openjdk}/nashorn/internal/runtime/doubleconv/FixedDtoa.java | 0 .../openjdk}/nashorn/internal/runtime/doubleconv/IeeeDouble.java | 0 .../nashorn/internal/runtime/events/RecompilationEvent.java | 0 .../openjdk}/nashorn/internal/runtime/events/RuntimeEvent.java | 0 .../nashorn/internal/runtime/linker/AdaptationException.java | 0 .../nashorn/internal/runtime/linker/AdaptationResult.java | 0 .../org/openjdk}/nashorn/internal/runtime/linker/Bootstrap.java | 0 .../openjdk}/nashorn/internal/runtime/linker/BoundCallable.java | 0 .../nashorn/internal/runtime/linker/BoundCallableLinker.java | 0 .../nashorn/internal/runtime/linker/BrowserJSObjectLinker.java | 0 .../openjdk}/nashorn/internal/runtime/linker/ClassAndLoader.java | 0 .../openjdk}/nashorn/internal/runtime/linker/InvokeByName.java | 0 .../openjdk}/nashorn/internal/runtime/linker/JSObjectLinker.java | 0 .../internal/runtime/linker/JavaAdapterBytecodeGenerator.java | 0 .../nashorn/internal/runtime/linker/JavaAdapterClassLoader.java | 0 .../nashorn/internal/runtime/linker/JavaAdapterFactory.java | 0 .../nashorn/internal/runtime/linker/JavaAdapterServices.java | 0 .../nashorn/internal/runtime/linker/JavaArgumentConverters.java | 0 .../nashorn/internal/runtime/linker/JavaSuperAdapter.java | 0 .../nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java | 0 .../openjdk}/nashorn/internal/runtime/linker/LinkerCallSite.java | 0 .../org/openjdk}/nashorn/internal/runtime/linker/NameCodec.java | 0 .../nashorn/internal/runtime/linker/NashornBeansLinker.java | 0 .../nashorn/internal/runtime/linker/NashornBottomLinker.java | 0 .../internal/runtime/linker/NashornCallSiteDescriptor.java | 0 .../openjdk}/nashorn/internal/runtime/linker/NashornGuards.java | 0 .../openjdk}/nashorn/internal/runtime/linker/NashornLinker.java | 0 .../nashorn/internal/runtime/linker/NashornPrimitiveLinker.java | 0 .../nashorn/internal/runtime/linker/NashornStaticClassLinker.java | 0 .../openjdk}/nashorn/internal/runtime/linker/PrimitiveLookup.java | 0 .../nashorn/internal/runtime/linker/ReflectionCheckLinker.java | 0 .../openjdk}/nashorn/internal/runtime/logging/DebugLogger.java | 0 .../org/openjdk}/nashorn/internal/runtime/logging/Loggable.java | 0 .../org/openjdk}/nashorn/internal/runtime/logging/Logger.java | 0 .../openjdk}/nashorn/internal/runtime/options/KeyValueOption.java | 0 .../openjdk}/nashorn/internal/runtime/options/LoggingOption.java | 0 .../org/openjdk}/nashorn/internal/runtime/options/Option.java | 0 .../openjdk}/nashorn/internal/runtime/options/OptionTemplate.java | 0 .../org/openjdk}/nashorn/internal/runtime/options/Options.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/JdkRegExp.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/JoniRegExp.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/RegExp.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/RegExpFactory.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/RegExpMatcher.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/RegExpResult.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/RegExpScanner.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/joni/Analyser.java | 0 .../nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java | 0 .../nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java | 0 .../nashorn/internal/runtime/regexp/joni/ArrayCompiler.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/joni/BitSet.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/joni/BitStatus.java | 0 .../nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java | 0 .../nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java | 0 .../nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/joni/Compiler.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/joni/Config.java | 0 .../nashorn/internal/runtime/regexp/joni/EncodingHelper.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/joni/Lexer.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/joni/Matcher.java | 0 .../nashorn/internal/runtime/regexp/joni/MatcherFactory.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/joni/MinMaxLen.java | 0 .../nashorn/internal/runtime/regexp/joni/NodeOptInfo.java | 0 .../nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java | 0 .../nashorn/internal/runtime/regexp/joni/OptEnvironment.java | 0 .../nashorn/internal/runtime/regexp/joni/OptExactInfo.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/joni/OptMapInfo.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/joni/Option.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/joni/Parser.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/joni/Regex.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/joni/Region.java | 0 .../nashorn/internal/runtime/regexp/joni/ScanEnvironment.java | 0 .../nashorn/internal/runtime/regexp/joni/ScannerSupport.java | 0 .../nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/joni/StackEntry.java | 0 .../nashorn/internal/runtime/regexp/joni/StackMachine.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/joni/Syntax.java | 0 .../org/openjdk}/nashorn/internal/runtime/regexp/joni/Token.java | 0 .../nashorn/internal/runtime/regexp/joni/WarnCallback.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/joni/Warnings.java | 0 .../nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java | 0 .../nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java | 0 .../nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java | 0 .../nashorn/internal/runtime/regexp/joni/ast/CClassNode.java | 0 .../nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java | 0 .../nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java | 0 .../openjdk}/nashorn/internal/runtime/regexp/joni/ast/Node.java | 0 .../nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java | 0 .../nashorn/internal/runtime/regexp/joni/ast/StateNode.java | 0 .../nashorn/internal/runtime/regexp/joni/ast/StringNode.java | 0 .../internal/runtime/regexp/joni/constants/AnchorType.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/Arguments.java | 0 .../internal/runtime/regexp/joni/constants/AsmConstants.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java | 0 .../internal/runtime/regexp/joni/constants/EncloseType.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/MetaChar.java | 0 .../internal/runtime/regexp/joni/constants/NodeStatus.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/NodeType.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/OPCode.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/OPSize.java | 0 .../internal/runtime/regexp/joni/constants/RegexState.java | 0 .../internal/runtime/regexp/joni/constants/StackPopLevel.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/StackType.java | 0 .../internal/runtime/regexp/joni/constants/StringType.java | 0 .../internal/runtime/regexp/joni/constants/SyntaxProperties.java | 0 .../internal/runtime/regexp/joni/constants/TargetInfo.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/TokenType.java | 0 .../nashorn/internal/runtime/regexp/joni/constants/Traverse.java | 0 .../internal/runtime/regexp/joni/encoding/CharacterType.java | 0 .../nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java | 0 .../nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java | 0 .../internal/runtime/regexp/joni/exception/ErrorMessages.java | 0 .../internal/runtime/regexp/joni/exception/InternalException.java | 0 .../internal/runtime/regexp/joni/exception/JOniException.java | 0 .../internal/runtime/regexp/joni/exception/SyntaxException.java | 0 .../internal/runtime/regexp/joni/exception/ValueException.java | 0 .../nashorn/internal/runtime/resources/Functions.properties | 0 .../nashorn/internal/runtime/resources/Messages.properties | 0 .../nashorn/internal/runtime/resources/Options.properties | 0 .../org/openjdk}/nashorn/internal/runtime/resources/fx/base.js | 0 .../openjdk}/nashorn/internal/runtime/resources/fx/bootstrap.js | 0 .../openjdk}/nashorn/internal/runtime/resources/fx/controls.js | 0 .../org/openjdk}/nashorn/internal/runtime/resources/fx/fxml.js | 0 .../openjdk}/nashorn/internal/runtime/resources/fx/graphics.js | 0 .../org/openjdk}/nashorn/internal/runtime/resources/fx/media.js | 0 .../org/openjdk}/nashorn/internal/runtime/resources/fx/swing.js | 0 .../org/openjdk}/nashorn/internal/runtime/resources/fx/web.js | 0 .../openjdk}/nashorn/internal/runtime/resources/mozilla_compat.js | 0 .../org/openjdk}/nashorn/internal/runtime/resources/parser.js | 0 .../internal/runtime/resources/version.properties.template | 0 .../share/classes/org/openjdk}/nashorn/internal/scripts/JD.java | 0 .../share/classes/org/openjdk}/nashorn/internal/scripts/JO.java | 0 .../share/classes/org/openjdk}/nashorn/internal/scripts/JS.java | 0 .../openjdk}/nashorn/internal/scripts/ModuleGraphManipulator.java | 0 .../share/classes/org/openjdk}/nashorn/tools/PartialParser.java | 0 .../share/classes/org/openjdk}/nashorn/tools/Shell.java | 0 .../share/classes/org/openjdk}/nashorn/tools/ShellFunctions.java | 0 .../classes/org/openjdk}/nashorn/tools/resources/Shell.properties | 0 .../share/legal/double-conversion.md | 0 .../share/legal/joni.md | 0 637 files changed, 0 insertions(+), 0 deletions(-) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/ClassGenerator.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/ConstructorGenerator.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/Main.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/MemberInfo.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/MethodGenerator.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/NullVisitor.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/PrototypeGenerator.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/ScriptClassInfo.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/StringConstants.java (100%) rename make/nashorn/buildtools/nasgen/src/{jdk => org/openjdk}/nashorn/internal/tools/nasgen/Where.java (100%) rename src/{jdk.scripting.nashorn.shell => org.openjdk.nashorn.shell}/share/classes/module-info.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/Console.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/EditObject.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/ExternalEditor.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/HistoryObject.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/JavacPackagesHelper.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/JrtPackagesHelper.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/Main.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/NashornCompleter.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/PackagesHelper.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/PropertiesHelper.java (100%) rename src/{jdk.scripting.nashorn.shell/share/classes/jdk => org.openjdk.nashorn.shell/share/classes/org/openjdk}/nashorn/tools/jjs/resources/jjs.js (100%) rename src/{jdk.scripting.nashorn.shell => org.openjdk.nashorn.shell}/share/man/jjs.1 (100%) rename src/{jdk.scripting.nashorn => org.openjdk.nashorn}/share/classes/module-info.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/linker/NashornLinkerExporter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/AbstractJSObject.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/ClassFilter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/DefaultValueImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/Formatter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/JSObject.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/NashornException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/NashornScriptEngine.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/NashornScriptEngineFactory.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/ScriptObjectMirror.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/ScriptUtils.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/URLReader.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/package-info.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/scripting/resources/Messages.properties (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ArrayAccessTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ArrayAccessTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ArrayLiteralTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ArrayLiteralTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/AssignmentTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/AssignmentTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/BinaryTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/BinaryTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/BlockTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/BlockTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/BreakTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/BreakTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/CaseTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/CaseTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/CatchTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/CatchTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ClassDeclarationTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ClassDeclarationTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ClassExpressionTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ClassExpressionTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/CompilationUnitTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/CompilationUnitTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/CompoundAssignmentTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/CompoundAssignmentTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ConditionalExpressionTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ConditionalExpressionTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ConditionalLoopTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ContinueTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ContinueTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/DebuggerTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/DebuggerTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/DestructuringDeclTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/Diagnostic.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/DiagnosticImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/DiagnosticListener.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/DoWhileLoopTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/DoWhileLoopTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/EmptyStatementTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/EmptyStatementTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ErroneousTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ErroneousTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ExportEntryTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ExportEntryTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ExpressionStatementTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ExpressionStatementTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ExpressionTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ExpressionTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ForInLoopTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ForInLoopTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ForLoopTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ForLoopTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ForOfLoopTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ForOfLoopTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/FunctionCallTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/FunctionCallTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/FunctionDeclarationTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/FunctionDeclarationTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/FunctionExpressionTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/FunctionExpressionTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/GotoTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/IRTranslator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/IdentifierTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/IdentifierTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/IfTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/IfTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ImportEntryTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ImportEntryTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/InstanceOfTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/InstanceOfTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/LabeledStatementTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/LabeledStatementTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/LineMap.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/LineMapImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/LiteralTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/LiteralTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/LoopTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/MemberSelectTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/MemberSelectTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ModuleTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ModuleTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/NewTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/NewTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ObjectLiteralTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ObjectLiteralTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ParenthesizedTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/Parser.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ParserImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/PropertyTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/PropertyTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/RegExpLiteralTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/RegExpLiteralTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ReturnTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ReturnTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/SimpleTreeVisitorES5_1.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/SimpleTreeVisitorES6.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/SpreadTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/SpreadTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/StatementTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/StatementTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/SwitchTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/SwitchTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/TemplateLiteralTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/TemplateLiteralTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ThrowTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/ThrowTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/Tree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/TreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/TreeVisitor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/TryTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/TryTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/UnaryTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/UnaryTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/UnknownTreeException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/VariableTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/VariableTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/WhileLoopTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/WhileLoopTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/WithTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/WithTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/YieldTree.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/YieldTreeImpl.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/api/tree/package-info.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/AssertsEnabled.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/IntDeque.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/WeakValueCache.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/ApplySpecialization.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/AssignSymbols.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/BranchOptimizer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/CacheAst.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/ClassEmitter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/CodeGenerator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/CodeGeneratorLexicalContext.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/CompilationException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/CompilationPhase.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/CompileUnit.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/Compiler.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/CompilerConstants.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/Condition.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/ConstantData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/DumpBytecode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/FieldObjectCreator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/FindScopeDepths.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/FoldConstants.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/FunctionSignature.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/Label.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/LocalStateRestorationInfo.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/LocalVariableTypesCalculator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/Lower.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/MapCreator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/MapTuple.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/MethodEmitter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/Namespace.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/ObjectClassGenerator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/ObjectCreator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/OptimisticTypesCalculator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/OptimisticTypesPersistence.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/ProgramPoints.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/ReplaceCompileUnits.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/SharedScopeCall.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/SpillObjectCreator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/SplitIntoFunctions.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/Splitter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/TypeEvaluator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/TypeMap.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/WeighNodes.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/anchor.properties (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/ArrayType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/BitwiseType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/BooleanType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/BytecodeArrayOps.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/BytecodeBitwiseOps.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/BytecodeNumericOps.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/BytecodeOps.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/IntType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/LongType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/NumberType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/NumericType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/ObjectType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/codegen/types/Type.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/AccessNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Assignment.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/BaseNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/BinaryNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Block.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/BlockLexicalContext.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/BlockStatement.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/BreakNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/BreakableNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/BreakableStatement.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/CallNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/CaseNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/CatchNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/ClassNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/CompileUnitHolder.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/ContinueNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/DebuggerNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/EmptyNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/ErrorNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Expression.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/ExpressionList.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/ExpressionStatement.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Flags.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/ForNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/FunctionCall.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/FunctionNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/GetSplitState.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/IdentNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/IfNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/IndexNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/JoinPredecessor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/JoinPredecessorExpression.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/JumpStatement.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/JumpToInlinedFinally.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/LabelNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Labels.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/LexicalContext.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/LexicalContextExpression.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/LexicalContextNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/LexicalContextStatement.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/LiteralNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/LocalVariableConversion.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/LoopNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Module.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Node.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/ObjectNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Optimistic.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/OptimisticLexicalContext.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/PropertyKey.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/PropertyNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/ReturnNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/RuntimeNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/SetSplitState.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/SplitNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/SplitReturn.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Splittable.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Statement.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/SwitchNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Symbol.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/TemplateLiteral.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/Terminal.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/TernaryNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/ThrowNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/TryNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/UnaryNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/VarNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/WhileNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/WithNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/annotations/Ignore.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/annotations/Immutable.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/annotations/Reference.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/debug/ASTWriter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/debug/JSONWriter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/debug/NashornClassReader.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/debug/NashornTextifier.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/debug/PrintVisitor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/visitor/NodeOperatorVisitor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/visitor/NodeVisitor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/ir/visitor/SimpleNodeVisitor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/lookup/Lookup.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/lookup/MethodHandleFactory.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/lookup/MethodHandleFunctionality.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/AbstractIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/AccessorPropertyDescriptor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/ArrayBufferView.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/ArrayIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/DataPropertyDescriptor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/GenericPropertyDescriptor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/Global.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/IteratorResult.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/LinkedMap.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/MapIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeArguments.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeArray.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeArrayBuffer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeBoolean.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeDataView.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeDate.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeDebug.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeError.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeEvalError.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeFloat32Array.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeFloat64Array.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeFunction.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeInt16Array.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeInt32Array.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeInt8Array.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeJSAdapter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeJSON.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeJava.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeJavaImporter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeMap.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeMath.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeNumber.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeObject.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeRangeError.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeReferenceError.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeRegExp.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeRegExpExecResult.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeSet.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeStrictArguments.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeString.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeSymbol.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeSyntaxError.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeTypeError.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeURIError.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeUint16Array.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeUint32Array.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeUint8Array.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeUint8ClampedArray.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeWeakMap.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/NativeWeakSet.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/SetIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/StringIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/Attribute.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/Constructor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/Function.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/Getter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/Optimistic.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/Property.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/ScriptClass.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/Setter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/SpecializedFunction.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/annotations/Where.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/objects/package-info.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/AbstractParser.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/DateParser.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/JSONParser.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/Lexer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/Parser.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContext.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContextBaseNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContextBlockNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContextBreakableNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContextFunctionNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContextLabelNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContextLoopNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContextModuleNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContextNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/ParserContextSwitchNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/Scanner.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/Token.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/TokenKind.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/TokenLookup.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/TokenStream.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/parser/TokenType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/AccessControlContextFactory.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/AccessorProperty.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/AllocationStrategy.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ArgumentSetter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/AstDeserializer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/AstSerializer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/BitVector.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/CodeInstaller.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/CodeStore.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/CommandExecutor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/CompiledFunction.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ConsString.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Context.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Debug.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/DebuggerSupport.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/DefaultPropertyAccess.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ECMAErrors.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ECMAException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ErrorManager.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/FinalScriptFunctionData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/FindProperty.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/FunctionDocumentation.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/FunctionInitializer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/FunctionScope.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/GlobalConstants.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/GlobalFunctions.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/JSErrorType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/JSONFunctions.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/JSONListAdapter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/JSType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ListAdapter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/NashornLoader.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/NativeJavaPackage.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/OptimisticBuiltins.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/OptimisticReturnFilters.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ParserException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Property.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/PropertyAccess.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/PropertyDescriptor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/PropertyHashMap.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/PropertyMap.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/PropertySwitchPoints.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/PrototypeObject.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/QuotedStringTokenizer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/RecompilableScriptFunctionData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/RewriteException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Scope.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ScriptEnvironment.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ScriptFunction.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ScriptFunctionData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ScriptLoader.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ScriptObject.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ScriptRuntime.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/ScriptingFunctions.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/SetMethodCreator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/SharedPropertyMap.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Source.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Specialization.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/SpillProperty.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/StoredScript.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/StructureLoader.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Symbol.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Timing.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/URIUtils.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Undefined.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/UnwarrantedOptimismException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/UserAccessorProperty.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/Version.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/WithObject.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/AnyElements.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ArrayData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ArrayFilter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ArrayIndex.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ArrayLikeIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ByteBufferArrayData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ContinuousArrayData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/DeletedArrayFilter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/FrozenArrayFilter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/IntArrayData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/IntElements.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/IntOrLongElements.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/IteratorAction.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/JSObjectIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/JavaArrayIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/JavaListIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/NumberArrayData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/NumericElements.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ObjectArrayData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ReverseJavaListIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ReverseScriptArrayIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ReverseScriptObjectIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ScriptArrayIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/ScriptObjectIterator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/SealedArrayFilter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/SparseArrayData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/TypedArrayData.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/arrays/UndefinedArrayFilter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/Bignum.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/BignumDtoa.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/CachedPowers.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/DiyFp.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/DoubleConversion.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/DtoaBuffer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/DtoaMode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/FastDtoa.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/FixedDtoa.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/doubleconv/IeeeDouble.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/events/RecompilationEvent.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/events/RuntimeEvent.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/AdaptationException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/AdaptationResult.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/Bootstrap.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/BoundCallable.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/BoundCallableLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/ClassAndLoader.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/InvokeByName.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/JSObjectLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/JavaAdapterFactory.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/JavaAdapterServices.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/JavaArgumentConverters.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/JavaSuperAdapter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/LinkerCallSite.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/NameCodec.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/NashornBeansLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/NashornBottomLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/NashornGuards.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/NashornLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/NashornPrimitiveLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/NashornStaticClassLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/PrimitiveLookup.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/linker/ReflectionCheckLinker.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/logging/DebugLogger.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/logging/Loggable.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/logging/Logger.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/options/KeyValueOption.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/options/LoggingOption.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/options/Option.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/options/OptionTemplate.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/options/Options.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/JdkRegExp.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/JoniRegExp.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/RegExp.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/RegExpFactory.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/RegExpMatcher.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/RegExpResult.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/RegExpScanner.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Analyser.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/BitSet.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/BitStatus.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Compiler.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Config.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/EncodingHelper.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Lexer.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Matcher.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/MatcherFactory.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/MinMaxLen.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/NodeOptInfo.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/OptEnvironment.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/OptExactInfo.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/OptMapInfo.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Option.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Parser.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Regex.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Region.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ScanEnvironment.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ScannerSupport.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/StackEntry.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/StackMachine.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Syntax.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Token.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/WarnCallback.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/Warnings.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/CClassNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/Node.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/StateNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/ast/StringNode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/AnchorType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/Arguments.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/AsmConstants.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/EncloseType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/MetaChar.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/NodeStatus.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/NodeType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/OPCode.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/OPSize.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/RegexState.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/StackPopLevel.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/StackType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/StringType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/SyntaxProperties.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/TargetInfo.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/TokenType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/constants/Traverse.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/encoding/CharacterType.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/exception/InternalException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/exception/JOniException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/exception/SyntaxException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/regexp/joni/exception/ValueException.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/Functions.properties (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/Messages.properties (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/Options.properties (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/fx/base.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/fx/bootstrap.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/fx/controls.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/fx/fxml.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/fx/graphics.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/fx/media.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/fx/swing.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/fx/web.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/mozilla_compat.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/parser.js (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/runtime/resources/version.properties.template (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/scripts/JD.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/scripts/JO.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/scripts/JS.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/internal/scripts/ModuleGraphManipulator.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/tools/PartialParser.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/tools/Shell.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/tools/ShellFunctions.java (100%) rename src/{jdk.scripting.nashorn/share/classes/jdk => org.openjdk.nashorn/share/classes/org/openjdk}/nashorn/tools/resources/Shell.properties (100%) rename src/{jdk.scripting.nashorn => org.openjdk.nashorn}/share/legal/double-conversion.md (100%) rename src/{jdk.scripting.nashorn => org.openjdk.nashorn}/share/legal/joni.md (100%) diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ClassGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ClassGenerator.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/Main.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/Main.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/MemberInfo.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/MemberInfo.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/MethodGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/MethodGenerator.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/NullVisitor.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/NullVisitor.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/StringConstants.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/StringConstants.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java diff --git a/make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/Where.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Where.java similarity index 100% rename from make/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/Where.java rename to make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Where.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/module-info.java b/src/org.openjdk.nashorn.shell/share/classes/module-info.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/module-info.java rename to src/org.openjdk.nashorn.shell/share/classes/module-info.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Console.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Console.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Console.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Console.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/EditObject.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/EditObject.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/EditObject.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/EditObject.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/ExternalEditor.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/ExternalEditor.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/ExternalEditor.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/ExternalEditor.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/HistoryObject.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/HistoryObject.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/HistoryObject.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/HistoryObject.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/JavacPackagesHelper.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JavacPackagesHelper.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/JavacPackagesHelper.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JavacPackagesHelper.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/JrtPackagesHelper.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JrtPackagesHelper.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/JrtPackagesHelper.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JrtPackagesHelper.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Main.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Main.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/NashornCompleter.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/NashornCompleter.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/NashornCompleter.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/NashornCompleter.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/PackagesHelper.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PackagesHelper.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/PackagesHelper.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PackagesHelper.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/PropertiesHelper.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PropertiesHelper.java similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/PropertiesHelper.java rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PropertiesHelper.java diff --git a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/resources/jjs.js b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/resources/jjs.js similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/resources/jjs.js rename to src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/resources/jjs.js diff --git a/src/jdk.scripting.nashorn.shell/share/man/jjs.1 b/src/org.openjdk.nashorn.shell/share/man/jjs.1 similarity index 100% rename from src/jdk.scripting.nashorn.shell/share/man/jjs.1 rename to src/org.openjdk.nashorn.shell/share/man/jjs.1 diff --git a/src/jdk.scripting.nashorn/share/classes/module-info.java b/src/org.openjdk.nashorn/share/classes/module-info.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/module-info.java rename to src/org.openjdk.nashorn/share/classes/module-info.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/linker/NashornLinkerExporter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/linker/NashornLinkerExporter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/AbstractJSObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/AbstractJSObject.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/AbstractJSObject.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/AbstractJSObject.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ClassFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/ClassFilter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ClassFilter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/ClassFilter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/DefaultValueImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/DefaultValueImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/DefaultValueImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/DefaultValueImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/Formatter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/Formatter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/Formatter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/Formatter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/JSObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/JSObject.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/JSObject.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/JSObject.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/NashornException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/NashornException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngine.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/NashornScriptEngine.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngine.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/NashornScriptEngine.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptObjectMirror.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/ScriptObjectMirror.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptObjectMirror.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/ScriptObjectMirror.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptUtils.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/ScriptUtils.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptUtils.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/ScriptUtils.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/URLReader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/URLReader.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/URLReader.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/URLReader.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/package-info.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/package-info.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/package-info.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/package-info.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/resources/Messages.properties b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/resources/Messages.properties similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/resources/Messages.properties rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/scripting/resources/Messages.properties diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayAccessTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayAccessTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayAccessTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayAccessTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayLiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayLiteralTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayLiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayLiteralTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/AssignmentTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/AssignmentTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/AssignmentTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/AssignmentTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BinaryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BinaryTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BinaryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BinaryTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BlockTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BlockTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BlockTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BlockTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BreakTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BreakTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BreakTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BreakTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CaseTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CaseTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CaseTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CaseTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassDeclarationTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassDeclarationTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassDeclarationTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassDeclarationTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassExpressionTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassExpressionTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassExpressionTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ClassExpressionTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompoundAssignmentTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompoundAssignmentTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompoundAssignmentTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompoundAssignmentTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalExpressionTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalExpressionTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalExpressionTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalExpressionTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalLoopTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalLoopTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalLoopTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DebuggerTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DebuggerTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DebuggerTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DebuggerTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DestructuringDeclTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DestructuringDeclTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DestructuringDeclTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DestructuringDeclTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Diagnostic.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Diagnostic.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Diagnostic.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Diagnostic.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticListener.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticListener.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticListener.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticListener.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DoWhileLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DoWhileLoopTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DoWhileLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DoWhileLoopTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/EmptyStatementTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/EmptyStatementTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/EmptyStatementTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/EmptyStatementTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ErroneousTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ErroneousTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ErroneousTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ErroneousTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExportEntryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExportEntryTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExportEntryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExportEntryTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionStatementTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionStatementTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionStatementTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionStatementTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForInLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForInLoopTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForInLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForInLoopTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForLoopTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForLoopTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForOfLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForOfLoopTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForOfLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForOfLoopTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionCallTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionCallTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionCallTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionCallTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/GotoTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/GotoTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/GotoTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/GotoTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IRTranslator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IRTranslator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IRTranslator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IRTranslator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IdentifierTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IdentifierTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IdentifierTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IdentifierTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LineMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMap.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LineMap.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMap.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LineMapImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMapImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LineMapImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMapImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LiteralTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LiteralTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LoopTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LoopTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LoopTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/MemberSelectTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/MemberSelectTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/MemberSelectTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/MemberSelectTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ModuleTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ModuleTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ModuleTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ModuleTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ObjectLiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ObjectLiteralTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ObjectLiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ObjectLiteralTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ParenthesizedTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParenthesizedTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ParenthesizedTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParenthesizedTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Parser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Parser.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Parser.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Parser.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ParserImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParserImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ParserImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParserImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/PropertyTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/PropertyTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/PropertyTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/PropertyTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/RegExpLiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/RegExpLiteralTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/RegExpLiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/RegExpLiteralTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES6.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES6.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES6.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES6.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SpreadTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SpreadTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SpreadTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SpreadTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/StatementTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/StatementTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/StatementTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/StatementTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SwitchTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SwitchTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SwitchTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SwitchTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TemplateLiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TemplateLiteralTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TemplateLiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TemplateLiteralTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ThrowTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ThrowTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ThrowTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ThrowTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Tree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Tree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Tree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Tree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeVisitor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeVisitor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TryTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TryTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnaryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnaryTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnaryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnaryTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnknownTreeException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnknownTreeException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnknownTreeException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnknownTreeException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/VariableTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/VariableTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/VariableTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/VariableTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WhileLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WhileLoopTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WhileLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WhileLoopTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WithTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WithTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WithTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WithTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/YieldTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTree.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/YieldTree.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTree.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/YieldTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTreeImpl.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/YieldTreeImpl.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTreeImpl.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/package-info.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/package-info.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/AssertsEnabled.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/AssertsEnabled.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/AssertsEnabled.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/AssertsEnabled.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/IntDeque.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/IntDeque.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/IntDeque.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/IntDeque.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/WeakValueCache.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/WeakValueCache.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/WeakValueCache.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/WeakValueCache.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ApplySpecialization.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ApplySpecialization.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ApplySpecialization.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ApplySpecialization.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/AssignSymbols.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/AssignSymbols.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/BranchOptimizer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/BranchOptimizer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/BranchOptimizer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/BranchOptimizer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CacheAst.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CacheAst.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CacheAst.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CacheAst.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ClassEmitter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ClassEmitter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilationException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilationException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilationPhase.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationPhase.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilationPhase.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationPhase.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompileUnit.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompileUnit.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompileUnit.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompileUnit.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilerConstants.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilerConstants.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Condition.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Condition.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ConstantData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ConstantData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ConstantData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ConstantData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/DumpBytecode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/DumpBytecode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/DumpBytecode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/DumpBytecode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FieldObjectCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FieldObjectCreator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FieldObjectCreator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FieldObjectCreator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FindScopeDepths.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FindScopeDepths.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FindScopeDepths.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FindScopeDepths.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FoldConstants.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FoldConstants.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FoldConstants.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FoldConstants.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FunctionSignature.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FunctionSignature.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FunctionSignature.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FunctionSignature.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Label.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Label.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/LocalStateRestorationInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalStateRestorationInfo.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/LocalStateRestorationInfo.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalStateRestorationInfo.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Lower.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Lower.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MapCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapCreator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MapCreator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapCreator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MapTuple.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapTuple.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MapTuple.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapTuple.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MethodEmitter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MethodEmitter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Namespace.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Namespace.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Namespace.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Namespace.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ObjectClassGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectClassGenerator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ObjectClassGenerator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectClassGenerator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ObjectCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectCreator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ObjectCreator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectCreator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesCalculator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesCalculator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesCalculator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesCalculator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ProgramPoints.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ProgramPoints.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ProgramPoints.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ProgramPoints.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ReplaceCompileUnits.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ReplaceCompileUnits.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ReplaceCompileUnits.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ReplaceCompileUnits.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SharedScopeCall.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SharedScopeCall.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SharedScopeCall.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SharedScopeCall.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SpillObjectCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SpillObjectCreator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SpillObjectCreator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SpillObjectCreator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SplitIntoFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SplitIntoFunctions.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SplitIntoFunctions.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SplitIntoFunctions.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Splitter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Splitter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/TypeEvaluator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeEvaluator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/TypeEvaluator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeEvaluator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/TypeMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeMap.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/TypeMap.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeMap.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/WeighNodes.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/WeighNodes.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/WeighNodes.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/WeighNodes.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/anchor.properties b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/anchor.properties similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/anchor.properties rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/anchor.properties diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/ArrayType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/ArrayType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BitwiseType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BitwiseType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BitwiseType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BitwiseType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BooleanType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BooleanType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BytecodeArrayOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BytecodeArrayOps.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BytecodeNumericOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BytecodeNumericOps.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BytecodeOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BytecodeOps.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/IntType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/IntType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/LongType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/LongType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/NumberType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/NumberType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/NumericType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumericType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/NumericType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumericType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/ObjectType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/ObjectType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/Type.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/Type.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/AccessNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/AccessNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/AccessNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/AccessNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Assignment.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Assignment.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Assignment.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Assignment.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BaseNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BaseNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BaseNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BaseNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BinaryNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BinaryNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BinaryNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BinaryNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Block.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Block.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Block.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Block.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BlockLexicalContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockLexicalContext.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BlockLexicalContext.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockLexicalContext.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BlockStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockStatement.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BlockStatement.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockStatement.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BreakNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BreakNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BreakableNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BreakableNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BreakableStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableStatement.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BreakableStatement.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableStatement.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/CallNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CallNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/CallNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CallNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/CaseNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CaseNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/CaseNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CaseNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/CatchNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CatchNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/CatchNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CatchNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ClassNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ClassNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ClassNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ClassNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/CompileUnitHolder.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CompileUnitHolder.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/CompileUnitHolder.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CompileUnitHolder.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ContinueNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ContinueNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ContinueNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ContinueNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/DebuggerNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/DebuggerNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/EmptyNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/EmptyNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/EmptyNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/EmptyNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ErrorNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ErrorNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Expression.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Expression.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Expression.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Expression.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ExpressionList.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionList.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ExpressionList.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionList.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ExpressionStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionStatement.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ExpressionStatement.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionStatement.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Flags.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Flags.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Flags.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Flags.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ForNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ForNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ForNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ForNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionCall.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionCall.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionCall.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionCall.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/GetSplitState.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/GetSplitState.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/GetSplitState.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/GetSplitState.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IdentNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IdentNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IdentNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IdentNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IfNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IfNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IfNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IfNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IndexNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IndexNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IndexNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IndexNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/JoinPredecessor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/JoinPredecessor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/JoinPredecessorExpression.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessorExpression.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/JoinPredecessorExpression.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessorExpression.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/JumpStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpStatement.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/JumpStatement.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpStatement.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/JumpToInlinedFinally.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpToInlinedFinally.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/JumpToInlinedFinally.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpToInlinedFinally.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LabelNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LabelNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LabelNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LabelNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Labels.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Labels.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Labels.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Labels.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContext.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContext.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContext.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContextExpression.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextExpression.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContextExpression.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextExpression.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContextNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContextNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContextStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextStatement.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContextStatement.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextStatement.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LiteralNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LiteralNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LiteralNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LiteralNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LocalVariableConversion.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LocalVariableConversion.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LocalVariableConversion.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LocalVariableConversion.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LoopNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LoopNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LoopNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LoopNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Module.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Module.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Module.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Module.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Node.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Node.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Node.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Node.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ObjectNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ObjectNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ObjectNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ObjectNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Optimistic.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Optimistic.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Optimistic.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Optimistic.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/OptimisticLexicalContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/OptimisticLexicalContext.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/OptimisticLexicalContext.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/OptimisticLexicalContext.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/PropertyKey.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyKey.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/PropertyKey.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyKey.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/PropertyNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/PropertyNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ReturnNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ReturnNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ReturnNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ReturnNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/RuntimeNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/RuntimeNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/RuntimeNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/RuntimeNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SetSplitState.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SetSplitState.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SetSplitState.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SetSplitState.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SplitNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SplitNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SplitReturn.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitReturn.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SplitReturn.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitReturn.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Splittable.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Splittable.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Splittable.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Splittable.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Statement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Statement.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SwitchNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SwitchNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SwitchNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SwitchNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Symbol.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Symbol.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Symbol.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Symbol.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/TemplateLiteral.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TemplateLiteral.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/TemplateLiteral.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TemplateLiteral.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Terminal.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Terminal.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Terminal.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Terminal.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/TernaryNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TernaryNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/TernaryNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TernaryNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ThrowNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ThrowNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ThrowNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ThrowNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/TryNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TryNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/TryNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TryNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/UnaryNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/UnaryNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/UnaryNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/UnaryNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/VarNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/VarNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/VarNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/VarNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/WhileNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WhileNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/WhileNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WhileNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/WithNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/WithNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/annotations/Ignore.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Ignore.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/annotations/Ignore.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Ignore.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/annotations/Immutable.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Immutable.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/annotations/Immutable.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Immutable.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/annotations/Reference.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Reference.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/annotations/Reference.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Reference.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/ASTWriter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/ASTWriter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/ASTWriter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/ASTWriter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/JSONWriter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/JSONWriter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/JSONWriter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/JSONWriter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/NashornClassReader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/NashornClassReader.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/NashornTextifier.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/NashornTextifier.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/PrintVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/PrintVisitor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/PrintVisitor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/PrintVisitor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/NodeVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeVisitor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/NodeVisitor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeVisitor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/SimpleNodeVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/SimpleNodeVisitor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/SimpleNodeVisitor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/SimpleNodeVisitor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/Lookup.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/Lookup.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/Lookup.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/Lookup.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/MethodHandleFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFactory.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/MethodHandleFactory.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFactory.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/MethodHandleFunctionality.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/MethodHandleFunctionality.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/AbstractIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/AbstractIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/AccessorPropertyDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AccessorPropertyDescriptor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/AccessorPropertyDescriptor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AccessorPropertyDescriptor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/ArrayBufferView.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayBufferView.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/ArrayBufferView.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayBufferView.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/ArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/ArrayIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/DataPropertyDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/DataPropertyDescriptor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/DataPropertyDescriptor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/DataPropertyDescriptor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/GenericPropertyDescriptor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/GenericPropertyDescriptor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/Global.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/Global.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/IteratorResult.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/IteratorResult.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/IteratorResult.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/IteratorResult.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/LinkedMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/LinkedMap.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/LinkedMap.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/LinkedMap.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/MapIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/MapIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/MapIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/MapIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArguments.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArguments.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArguments.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArguments.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArray.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArray.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArray.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArray.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArrayBuffer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArrayBuffer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArrayBuffer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArrayBuffer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeBoolean.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeBoolean.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeBoolean.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeBoolean.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDataView.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDataView.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDataView.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDataView.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDate.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDate.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDate.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDate.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDebug.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDebug.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDebug.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDebug.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeError.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeError.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeError.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeEvalError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeEvalError.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeEvalError.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeEvalError.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat32Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat32Array.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat32Array.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat32Array.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat64Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat64Array.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat64Array.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat64Array.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFunction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFunction.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFunction.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFunction.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt16Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt16Array.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt16Array.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt16Array.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt32Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt32Array.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt32Array.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt32Array.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt8Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt8Array.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt8Array.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt8Array.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJSAdapter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSAdapter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJSAdapter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSAdapter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJSON.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSON.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJSON.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSON.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJava.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJava.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJava.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJava.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJavaImporter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJavaImporter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJavaImporter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJavaImporter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMap.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeMap.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMap.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeMath.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMath.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeMath.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMath.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeNumber.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeNumber.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeNumber.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeNumber.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeObject.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeObject.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeObject.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeRangeError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRangeError.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeRangeError.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRangeError.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeReferenceError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeReferenceError.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeReferenceError.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeReferenceError.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeRegExp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExp.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeRegExp.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExp.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeRegExpExecResult.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExpExecResult.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeRegExpExecResult.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExpExecResult.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeSet.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSet.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeSet.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSet.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeStrictArguments.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeStrictArguments.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeStrictArguments.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeStrictArguments.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeString.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeString.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeString.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeString.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeSymbol.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSymbol.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeSymbol.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSymbol.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeSyntaxError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeSyntaxError.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeTypeError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeTypeError.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeTypeError.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeTypeError.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeURIError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeURIError.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeURIError.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeURIError.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint16Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint16Array.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint16Array.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint16Array.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint32Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint32Array.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint32Array.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint32Array.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8Array.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8Array.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8Array.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8ClampedArray.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8ClampedArray.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8ClampedArray.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8ClampedArray.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeWeakMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeWeakMap.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeWeakSet.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakSet.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeWeakSet.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakSet.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/SetIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/SetIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/SetIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/SetIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/StringIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/StringIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/StringIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/StringIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Attribute.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Attribute.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Attribute.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Attribute.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Constructor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Constructor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Constructor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Constructor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Function.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Function.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Function.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Function.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Getter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Getter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Getter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Getter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Optimistic.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Optimistic.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Optimistic.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Optimistic.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Property.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Property.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Property.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Property.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/ScriptClass.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/ScriptClass.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/ScriptClass.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/ScriptClass.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Setter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Setter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Setter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Setter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/SpecializedFunction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/SpecializedFunction.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/SpecializedFunction.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/SpecializedFunction.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Where.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Where.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Where.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Where.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/package-info.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/package-info.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/package-info.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/package-info.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/AbstractParser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/AbstractParser.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/AbstractParser.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/AbstractParser.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/DateParser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/DateParser.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/DateParser.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/DateParser.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/JSONParser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/JSONParser.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/JSONParser.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/JSONParser.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Lexer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Lexer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Lexer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Lexer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Parser.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Parser.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContext.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContext.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContext.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextBaseNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBaseNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextBaseNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBaseNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextBlockNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBlockNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextBlockNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBlockNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextBreakableNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBreakableNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextBreakableNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBreakableNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextFunctionNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextFunctionNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextFunctionNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextFunctionNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextLabelNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLabelNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextLabelNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLabelNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextLoopNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLoopNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextLoopNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLoopNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextModuleNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextModuleNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextModuleNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextModuleNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextSwitchNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextSwitchNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextSwitchNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextSwitchNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Scanner.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Scanner.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Scanner.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Scanner.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Token.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Token.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Token.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Token.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenKind.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenKind.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenKind.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenKind.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenLookup.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenLookup.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenLookup.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenLookup.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenStream.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenStream.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenStream.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenStream.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AccessControlContextFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessControlContextFactory.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AccessControlContextFactory.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessControlContextFactory.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AccessorProperty.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessorProperty.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AccessorProperty.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessorProperty.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AllocationStrategy.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AllocationStrategy.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AllocationStrategy.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AllocationStrategy.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ArgumentSetter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ArgumentSetter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ArgumentSetter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ArgumentSetter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AstDeserializer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstDeserializer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AstDeserializer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstDeserializer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AstSerializer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstSerializer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AstSerializer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstSerializer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/BitVector.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/BitVector.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/BitVector.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/BitVector.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CodeInstaller.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeInstaller.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CodeInstaller.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeInstaller.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CodeStore.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CodeStore.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CommandExecutor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CommandExecutor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CommandExecutor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CommandExecutor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledFunction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CompiledFunction.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledFunction.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CompiledFunction.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ConsString.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ConsString.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ConsString.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ConsString.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Debug.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Debug.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Debug.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Debug.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/DebuggerSupport.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/DebuggerSupport.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/DefaultPropertyAccess.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DefaultPropertyAccess.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/DefaultPropertyAccess.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DefaultPropertyAccess.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ECMAErrors.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAErrors.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ECMAErrors.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAErrors.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ECMAException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ECMAException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ErrorManager.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ErrorManager.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ErrorManager.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ErrorManager.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FinalScriptFunctionData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FinalScriptFunctionData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FinalScriptFunctionData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FinalScriptFunctionData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FindProperty.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FindProperty.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FindProperty.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FindProperty.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FunctionDocumentation.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionDocumentation.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FunctionDocumentation.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionDocumentation.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FunctionInitializer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionInitializer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FunctionInitializer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionInitializer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FunctionScope.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionScope.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FunctionScope.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionScope.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/GlobalConstants.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalConstants.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/GlobalConstants.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalConstants.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/GlobalFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalFunctions.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/GlobalFunctions.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalFunctions.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSErrorType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSErrorType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSErrorType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSErrorType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSONFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONFunctions.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSONFunctions.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONFunctions.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSONListAdapter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONListAdapter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSONListAdapter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONListAdapter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ListAdapter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ListAdapter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ListAdapter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ListAdapter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/NashornLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/NashornLoader.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/NativeJavaPackage.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NativeJavaPackage.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/NativeJavaPackage.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NativeJavaPackage.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/OptimisticBuiltins.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticBuiltins.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/OptimisticBuiltins.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticBuiltins.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/OptimisticReturnFilters.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticReturnFilters.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/OptimisticReturnFilters.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticReturnFilters.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ParserException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ParserException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Property.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Property.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Property.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Property.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyAccess.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyAccess.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyAccess.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyAccess.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyDescriptor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyHashMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyHashMap.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyHashMap.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyHashMap.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyMap.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyMap.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyMap.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertySwitchPoints.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertySwitchPoints.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertySwitchPoints.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertySwitchPoints.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PrototypeObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PrototypeObject.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PrototypeObject.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PrototypeObject.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/QuotedStringTokenizer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/QuotedStringTokenizer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/QuotedStringTokenizer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/QuotedStringTokenizer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RewriteException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RewriteException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RewriteException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RewriteException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Scope.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Scope.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Scope.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Scope.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptEnvironment.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptEnvironment.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunction.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunction.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunction.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunctionData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunctionData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunctionData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunctionData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptLoader.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptObject.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptObject.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptRuntime.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptRuntime.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptRuntime.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptRuntime.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptingFunctions.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptingFunctions.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SetMethodCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SetMethodCreator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SetMethodCreator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SetMethodCreator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SharedPropertyMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SharedPropertyMap.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SharedPropertyMap.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SharedPropertyMap.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Source.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Source.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Source.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Source.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Specialization.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Specialization.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SpillProperty.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SpillProperty.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SpillProperty.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SpillProperty.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/StoredScript.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StoredScript.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/StoredScript.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StoredScript.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/StructureLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/StructureLoader.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Symbol.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Symbol.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Symbol.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Symbol.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Timing.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Timing.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Timing.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Timing.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/URIUtils.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/URIUtils.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/URIUtils.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/URIUtils.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Undefined.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Undefined.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Undefined.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Undefined.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/UnwarrantedOptimismException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UnwarrantedOptimismException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/UnwarrantedOptimismException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UnwarrantedOptimismException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/UserAccessorProperty.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UserAccessorProperty.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/UserAccessorProperty.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UserAccessorProperty.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Version.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Version.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Version.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Version.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/WithObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/WithObject.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/WithObject.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/WithObject.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/AnyElements.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/AnyElements.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/AnyElements.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/AnyElements.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayFilter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayFilter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayFilter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayIndex.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayIndex.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ByteBufferArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ByteBufferArrayData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ByteBufferArrayData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ByteBufferArrayData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/DeletedArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedArrayFilter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/DeletedArrayFilter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedArrayFilter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/FrozenArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/FrozenArrayFilter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/FrozenArrayFilter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/FrozenArrayFilter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IntArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntArrayData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IntArrayData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntArrayData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IntElements.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntElements.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IntElements.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntElements.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IntOrLongElements.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntOrLongElements.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IntOrLongElements.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntOrLongElements.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IteratorAction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IteratorAction.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IteratorAction.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IteratorAction.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/JSObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/JSObjectIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/JavaArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaArrayIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/JavaArrayIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaArrayIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/JavaListIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaListIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/JavaListIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaListIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NumberArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumberArrayData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NumberArrayData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumberArrayData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NumericElements.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumericElements.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NumericElements.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumericElements.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ObjectArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ObjectArrayData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ObjectArrayData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ObjectArrayData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseJavaListIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaListIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseJavaListIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaListIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseScriptArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptArrayIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseScriptArrayIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptArrayIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseScriptObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptObjectIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ReverseScriptObjectIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptObjectIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ScriptArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptArrayIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ScriptArrayIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptArrayIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ScriptObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptObjectIterator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ScriptObjectIterator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptObjectIterator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/SealedArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SealedArrayFilter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/SealedArrayFilter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SealedArrayFilter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/SparseArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SparseArrayData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/SparseArrayData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SparseArrayData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/TypedArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/TypedArrayData.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/TypedArrayData.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/TypedArrayData.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/UndefinedArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/UndefinedArrayFilter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/UndefinedArrayFilter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/UndefinedArrayFilter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/Bignum.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/Bignum.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/Bignum.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/Bignum.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/CachedPowers.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/CachedPowers.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/CachedPowers.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/CachedPowers.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DiyFp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DiyFp.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DiyFp.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DiyFp.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DoubleConversion.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DoubleConversion.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DoubleConversion.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DoubleConversion.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DtoaMode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaMode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DtoaMode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaMode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/FastDtoa.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FastDtoa.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/FastDtoa.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FastDtoa.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/FixedDtoa.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FixedDtoa.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/FixedDtoa.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FixedDtoa.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/events/RecompilationEvent.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RecompilationEvent.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/events/RecompilationEvent.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RecompilationEvent.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/events/RuntimeEvent.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RuntimeEvent.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/events/RuntimeEvent.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RuntimeEvent.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/AdaptationException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/AdaptationException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/AdaptationResult.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationResult.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/AdaptationResult.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationResult.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/Bootstrap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/Bootstrap.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/Bootstrap.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/Bootstrap.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BoundCallable.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallable.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BoundCallable.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallable.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BoundCallableLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallableLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BoundCallableLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallableLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/ClassAndLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ClassAndLoader.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/ClassAndLoader.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ClassAndLoader.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/InvokeByName.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/InvokeByName.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/InvokeByName.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/InvokeByName.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JSObjectLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JSObjectLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JSObjectLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JSObjectLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterServices.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterServices.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaArgumentConverters.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaArgumentConverters.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaArgumentConverters.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaArgumentConverters.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/LinkerCallSite.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/LinkerCallSite.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/LinkerCallSite.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/LinkerCallSite.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NameCodec.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NameCodec.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NameCodec.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NameCodec.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornBeansLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBeansLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornBeansLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBeansLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornBottomLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBottomLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornBottomLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBottomLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornGuards.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornGuards.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornGuards.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornGuards.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornPrimitiveLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornPrimitiveLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornPrimitiveLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornPrimitiveLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/PrimitiveLookup.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/PrimitiveLookup.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/PrimitiveLookup.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/PrimitiveLookup.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/ReflectionCheckLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ReflectionCheckLinker.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/ReflectionCheckLinker.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ReflectionCheckLinker.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/logging/DebugLogger.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/DebugLogger.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/logging/DebugLogger.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/DebugLogger.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/logging/Loggable.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Loggable.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/logging/Loggable.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Loggable.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/logging/Logger.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Logger.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/logging/Logger.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Logger.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/KeyValueOption.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/KeyValueOption.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/KeyValueOption.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/KeyValueOption.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/LoggingOption.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/LoggingOption.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/LoggingOption.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/LoggingOption.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/Option.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Option.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/Option.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Option.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/OptionTemplate.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/OptionTemplate.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/OptionTemplate.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/OptionTemplate.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/Options.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Options.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/Options.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Options.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/JdkRegExp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JdkRegExp.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/JdkRegExp.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JdkRegExp.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/JoniRegExp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JoniRegExp.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/JoniRegExp.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JoniRegExp.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExp.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExp.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExp.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpFactory.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpFactory.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExpMatcher.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpMatcher.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExpMatcher.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpMatcher.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExpResult.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpResult.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExpResult.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpResult.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExpScanner.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpScanner.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/RegExpScanner.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpScanner.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Analyser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Analyser.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Analyser.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Analyser.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/BitSet.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitSet.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/BitSet.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitSet.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/BitStatus.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitStatus.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/BitStatus.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitStatus.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Compiler.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Compiler.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Compiler.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Compiler.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Config.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Config.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Config.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Config.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Lexer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Lexer.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Lexer.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Lexer.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Matcher.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Matcher.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Matcher.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Matcher.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/MatcherFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MatcherFactory.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/MatcherFactory.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MatcherFactory.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/MinMaxLen.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MinMaxLen.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/MinMaxLen.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MinMaxLen.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/NodeOptInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/NodeOptInfo.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/NodeOptInfo.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/NodeOptInfo.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/OptEnvironment.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptEnvironment.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/OptEnvironment.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptEnvironment.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/OptExactInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptExactInfo.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/OptExactInfo.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptExactInfo.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/OptMapInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptMapInfo.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/OptMapInfo.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptMapInfo.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Option.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Option.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Option.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Option.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Parser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Parser.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Parser.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Parser.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Regex.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Regex.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Regex.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Regex.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Region.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Region.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Region.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Region.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ScanEnvironment.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScanEnvironment.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ScanEnvironment.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScanEnvironment.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ScannerSupport.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScannerSupport.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ScannerSupport.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScannerSupport.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/StackEntry.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackEntry.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/StackEntry.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackEntry.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/StackMachine.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackMachine.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/StackMachine.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackMachine.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Syntax.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Syntax.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Syntax.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Syntax.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Token.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Token.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Token.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Token.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/WarnCallback.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/WarnCallback.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/WarnCallback.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/WarnCallback.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Warnings.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Warnings.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Warnings.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Warnings.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/CClassNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/CClassNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/CClassNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/CClassNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/Node.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/Node.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/Node.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/Node.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/StateNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StateNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/StateNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StateNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/StringNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StringNode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/StringNode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StringNode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/AnchorType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AnchorType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/AnchorType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AnchorType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/Arguments.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Arguments.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/Arguments.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Arguments.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/AsmConstants.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AsmConstants.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/AsmConstants.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AsmConstants.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/EncloseType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/EncloseType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/EncloseType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/EncloseType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/MetaChar.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/MetaChar.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/MetaChar.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/MetaChar.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/NodeStatus.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeStatus.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/NodeStatus.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeStatus.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/NodeType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/NodeType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/OPCode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPCode.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/OPCode.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPCode.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/OPSize.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPSize.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/OPSize.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPSize.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/RegexState.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/RegexState.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/RegexState.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/RegexState.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/StackPopLevel.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackPopLevel.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/StackPopLevel.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackPopLevel.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/StackType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/StackType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/StringType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StringType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/StringType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StringType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/SyntaxProperties.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/SyntaxProperties.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/SyntaxProperties.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/SyntaxProperties.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/TargetInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TargetInfo.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/TargetInfo.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TargetInfo.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/TokenType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TokenType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/TokenType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TokenType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/Traverse.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Traverse.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/constants/Traverse.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Traverse.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/encoding/CharacterType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/CharacterType.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/encoding/CharacterType.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/CharacterType.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/InternalException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/InternalException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/InternalException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/InternalException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/JOniException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/JOniException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/JOniException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/JOniException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/SyntaxException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/SyntaxException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/SyntaxException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/SyntaxException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/ValueException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ValueException.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/exception/ValueException.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ValueException.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Functions.properties b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Functions.properties similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Functions.properties rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Functions.properties diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Messages.properties similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Messages.properties diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Options.properties similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Options.properties diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/base.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/base.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/base.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/base.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/bootstrap.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/bootstrap.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/bootstrap.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/bootstrap.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/controls.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/controls.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/controls.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/controls.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/fxml.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/fxml.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/fxml.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/fxml.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/graphics.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/graphics.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/graphics.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/graphics.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/media.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/media.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/media.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/media.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/swing.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/swing.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/swing.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/swing.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/web.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/web.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/web.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/fx/web.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/mozilla_compat.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/mozilla_compat.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/mozilla_compat.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/mozilla_compat.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/parser.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/parser.js rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/version.properties.template b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/version.properties.template similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/version.properties.template rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/version.properties.template diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/scripts/JD.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/scripts/JD.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/scripts/JO.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/scripts/JO.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/scripts/JS.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JS.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/scripts/JS.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JS.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/scripts/ModuleGraphManipulator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/ModuleGraphManipulator.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/scripts/ModuleGraphManipulator.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/ModuleGraphManipulator.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/PartialParser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/PartialParser.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/PartialParser.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/PartialParser.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/Shell.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/Shell.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/ShellFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/ShellFunctions.java similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/ShellFunctions.java rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/ShellFunctions.java diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/resources/Shell.properties b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/resources/Shell.properties similarity index 100% rename from src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/resources/Shell.properties rename to src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/resources/Shell.properties diff --git a/src/jdk.scripting.nashorn/share/legal/double-conversion.md b/src/org.openjdk.nashorn/share/legal/double-conversion.md similarity index 100% rename from src/jdk.scripting.nashorn/share/legal/double-conversion.md rename to src/org.openjdk.nashorn/share/legal/double-conversion.md diff --git a/src/jdk.scripting.nashorn/share/legal/joni.md b/src/org.openjdk.nashorn/share/legal/joni.md similarity index 100% rename from src/jdk.scripting.nashorn/share/legal/joni.md rename to src/org.openjdk.nashorn/share/legal/joni.md From 784c14ec169a8e8001d3102d99c3234468f7895e Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 12:25:25 +0200 Subject: [PATCH 03/29] Module name: s/jdk.scripting.nashorn/org.openjdk.nashorn --- .../symbols/jdk.scripting.nashorn-9.sym.txt | 2 +- .../symbols/jdk.scripting.nashorn-A.sym.txt | 2 +- .../symbols/jdk.scripting.nashorn-B.sym.txt | 2 +- make/nashorn/build.xml | 6 +- make/nashorn/element-list | 2 +- make/nashorn/nbproject/project.xml | 72 +++++++++---------- make/nashorn/project.properties | 42 +++++------ .../share/classes/module-info.java | 4 +- src/org.openjdk.nashorn.shell/share/man/jjs.1 | 2 +- .../share/classes/module-info.java | 8 +-- .../codegen/OptimisticTypesPersistence.java | 2 +- .../internal/runtime/ScriptLoader.java | 2 +- .../internal/runtime/StructureLoader.java | 2 +- .../ctw/modules/jdk_scripting_nashorn.java | 6 +- .../modules/jdk_scripting_nashorn_shell.java | 6 +- .../compiler/aot/scripts/test-nashorn.sh | 2 +- test/nashorn/script/basic/JDK-8190698.js | 6 +- test/nashorn/script/basic/JDK-8191468.js | 6 +- test/nashorn/script/nosecurity/JDK-8055034.js | 2 +- test/nashorn/script/nosecurity/JDK-8193137.js | 2 +- .../runtime/doubleconv/test/BignumTest.java | 2 +- .../runtime/doubleconv/test/DiyFpTest.java | 2 +- .../doubleconv/test/IeeeDoubleTest.java | 2 +- .../runtime/linker/test/JDK_8184723_Test.java | 2 +- .../runtime/regexp/joni/test/JoniTest.java | 2 +- .../runtime/regexp/test/JdkRegExpTest.java | 2 +- .../internal/runtime/test/ConsStringTest.java | 2 +- .../internal/runtime/test/ContextTest.java | 6 +- .../test/ExceptionsNotSerializable.java | 2 +- .../runtime/test/JDK_8078414_Test.java | 8 +-- .../runtime/test/JDK_8186807_Test.java | 2 +- .../internal/runtime/test/JSTypeTest.java | 2 +- .../runtime/test/PropertyMapTest.java | 2 +- .../test/nashorn/JDK_8187362_Test.java | 2 +- 34 files changed, 108 insertions(+), 108 deletions(-) diff --git a/make/data/symbols/jdk.scripting.nashorn-9.sym.txt b/make/data/symbols/jdk.scripting.nashorn-9.sym.txt index fd9123dc2..f0101823d 100644 --- a/make/data/symbols/jdk.scripting.nashorn-9.sym.txt +++ b/make/data/symbols/jdk.scripting.nashorn-9.sym.txt @@ -26,7 +26,7 @@ # ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ### # ########################################################## # -module name jdk.scripting.nashorn +module name org.openjdk.nashorn header exports jdk/nashorn/api/scripting,jdk/nashorn/api/tree requires name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;jdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;jdk/nashorn/api/linker/NashornLinkerExporter flags 8000 class name jdk/nashorn/api/scripting/AbstractJSObject diff --git a/make/data/symbols/jdk.scripting.nashorn-A.sym.txt b/make/data/symbols/jdk.scripting.nashorn-A.sym.txt index 66afc4999..bd1621984 100644 --- a/make/data/symbols/jdk.scripting.nashorn-A.sym.txt +++ b/make/data/symbols/jdk.scripting.nashorn-A.sym.txt @@ -26,6 +26,6 @@ # ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ### # ########################################################## # -module name jdk.scripting.nashorn +module name org.openjdk.nashorn header exports jdk/nashorn/api/scripting,jdk/nashorn/api/tree requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;jdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;jdk/nashorn/api/linker/NashornLinkerExporter target linux-amd64 flags 8000 diff --git a/make/data/symbols/jdk.scripting.nashorn-B.sym.txt b/make/data/symbols/jdk.scripting.nashorn-B.sym.txt index c658808f1..49ffc6108 100644 --- a/make/data/symbols/jdk.scripting.nashorn-B.sym.txt +++ b/make/data/symbols/jdk.scripting.nashorn-B.sym.txt @@ -26,7 +26,7 @@ # ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ### # ########################################################## # -module name jdk.scripting.nashorn +module name org.openjdk.nashorn header exports jdk/nashorn/api/scripting,jdk/nashorn/api/tree requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;jdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;jdk/nashorn/api/linker/NashornLinkerExporter target linux-amd64 flags 8000 runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") class name jdk/nashorn/api/scripting/AbstractJSObject diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index cdd1c0e26..b6a242229 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -270,7 +270,7 @@ windowtitle="${nashorn.product.name} ${nashorn.version}" additionalparam="-quiet" failonerror="true" useexternalfile="true"> - + @@ -289,7 +289,7 @@ windowtitle="${nashorn.product.name} ${nashorn.version}" additionalparam="-quiet" failonerror="true" useexternalfile="true"> - + @@ -307,7 +307,7 @@ windowtitle="Dynalink" additionalparam="-quiet" failonerror="true" useexternalfile="true"> - + diff --git a/make/nashorn/element-list b/make/nashorn/element-list index 4405748b4..34e6381e8 100644 --- a/make/nashorn/element-list +++ b/make/nashorn/element-list @@ -261,7 +261,7 @@ module:jdk.net jdk.net jdk.nio module:jdk.rmic -module:jdk.scripting.nashorn +module:org.openjdk.nashorn jdk.nashorn.api.scripting jdk.nashorn.api.tree module:jdk.sctp diff --git a/make/nashorn/nbproject/project.xml b/make/nashorn/nbproject/project.xml index d97a5ecac..4f4790e18 100644 --- a/make/nashorn/nbproject/project.xml +++ b/make/nashorn/nbproject/project.xml @@ -1,25 +1,25 @@ - org.netbeans.modules.ant.freeform @@ -46,12 +46,12 @@ ../buildtools/nasgen/src - - ../src/jdk.scripting.nashorn/share/classes + + ../src/org.openjdk.nashorn/share/classes - - ../src/jdk.scripting.nashorn.shell/share/classes + + ../src/org.openjdk.nashorn.shell/share/classes @@ -66,15 +66,15 @@ UTF-8 - + java - ../src/jdk.scripting.nashorn/share/classes + ../src/org.openjdk.nashorn/share/classes UTF-8 - + java - ../src/jdk.scripting.nashorn.shell/share/classes + ../src/org.openjdk.nashorn.shell/share/classes UTF-8 @@ -156,12 +156,12 @@ ../buildtools/nasgen/src - - ../src/jdk.scripting.nashorn/share/classes + + ../src/org.openjdk.nashorn/share/classes - - ../src/jdk.scripting.nashorn.shell/share/classes + + ../src/org.openjdk.nashorn.shell/share/classes @@ -187,7 +187,7 @@ ../test/src - ../test/lib/testng.jar:../build/classes:../src/jdk.scripting.nashorn/share/classes + ../test/lib/testng.jar:../build/classes:../src/org.openjdk.nashorn/share/classes 1.8 @@ -196,11 +196,11 @@ 1.8 - ../src/jdk.scripting.nashorn/share/classes + ../src/org.openjdk.nashorn/share/classes 1.8 - ../src/jdk.scripting.nashorn.shell/share/classes + ../src/org.openjdk.nashorn.shell/share/classes 1.8 diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index fde173dc9..2442640c1 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -56,8 +56,8 @@ build.zip=${build.dir}/nashorn.zip build.gzip=${build.dir}/nashorn.tar.gz nashorn.override.option=\ - --patch-module jdk.scripting.nashorn=${build.classes.dir}/jdk.scripting.nashorn \ - --patch-module jdk.scripting.nashorn.shell=${build.classes.dir}/jdk.scripting.nashorn.shell \ + --patch-module org.openjdk.nashorn=${build.classes.dir}/org.openjdk.nashorn \ + --patch-module org.openjdk.nashorn.shell=${build.classes.dir}/org.openjdk.nashorn.shell \ --patch-module jdk.dynalink=${build.classes.dir}/jdk.dynalink # project directory of ant task @@ -148,24 +148,24 @@ javac.test.classpath=\ ${file.reference.snakeyaml.jar} test.module.imports.compile.time=\ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.ir=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.codegen=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.parser=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.objects=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.runtime=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.runtime.doubleconv=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.runtime.linker=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.runtime.events=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.runtime.options=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.runtime.regexp=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.runtime.regexp.joni=ALL-UNNAMED \ - --add-exports jdk.scripting.nashorn/jdk.nashorn.tools=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.ir=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.codegen=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.parser=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.objects=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.linker=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.events=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.options=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.regexp=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.regexp.joni=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/jdk.nashorn.tools=ALL-UNNAMED \ --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED test.module.imports.runtime=\ ${test.module.imports.compile.time} \ - --add-opens jdk.scripting.nashorn/jdk.nashorn.internal.runtime=ALL-UNNAMED \ - --add-opens jdk.scripting.nashorn/jdk.nashorn.internal.runtime.doubleconv=ALL-UNNAMED + --add-opens org.openjdk.nashorn/jdk.nashorn.internal.runtime=ALL-UNNAMED \ + --add-opens org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv=ALL-UNNAMED meta.inf.dir=${nashorn.module.src.dir}/META-INF @@ -335,10 +335,10 @@ run.test.classpath=\ dynalink.module.src.dir=src/jdk.dynalink/share/classes dynalink.module.classes.dir=${build.classes.dir}/jdk.dynalink -nashorn.module.src.dir=src/jdk.scripting.nashorn/share/classes -nashorn.module.classes.dir=${build.classes.dir}/jdk.scripting.nashorn -nashorn.shell.module.src.dir=src/jdk.scripting.nashorn.shell/share/classes -nashorn.shell.module.classes.dir=${build.classes.dir}/jdk.scripting.nashorn.shell +nashorn.module.src.dir=src/org.openjdk.nashorn/share/classes +nashorn.module.classes.dir=${build.classes.dir}/org.openjdk.nashorn +nashorn.shell.module.src.dir=src/org.openjdk.nashorn.shell/share/classes +nashorn.shell.module.classes.dir=${build.classes.dir}/org.openjdk.nashorn.shell src.dir=${dynalink.module.src.dir}${path.separator}\ ${nashorn.module.src.dir}${path.separator}\ @@ -365,7 +365,7 @@ run.test.jvmargs.common=\ -server \ ${test.module.imports.runtime} \ ${run.test.jvmargs.external} \ - --add-modules jdk.scripting.nashorn.shell \ + --add-modules org.openjdk.nashorn.shell \ ${nashorn.override.option} \ -Dfile.encoding=UTF-8 \ -Duser.language=${run.test.user.language} \ diff --git a/src/org.openjdk.nashorn.shell/share/classes/module-info.java b/src/org.openjdk.nashorn.shell/share/classes/module-info.java index 54b0e8562..d82cd5464 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/module-info.java +++ b/src/org.openjdk.nashorn.shell/share/classes/module-info.java @@ -34,10 +34,10 @@ * @moduleGraph * @since 9 */ -module jdk.scripting.nashorn.shell { +module org.openjdk.nashorn.shell { requires static java.compiler; requires jdk.internal.le; - requires jdk.scripting.nashorn; + requires org.openjdk.nashorn; requires jdk.internal.ed; uses jdk.internal.editor.spi.BuildInEditorProvider; } diff --git a/src/org.openjdk.nashorn.shell/share/man/jjs.1 b/src/org.openjdk.nashorn.shell/share/man/jjs.1 index ffeefcd52..ff9bb5efc 100644 --- a/src/org.openjdk.nashorn.shell/share/man/jjs.1 +++ b/src/org.openjdk.nashorn.shell/share/man/jjs.1 @@ -139,7 +139,7 @@ specifying the JavaFX modules in the \f[CB]jjs\f[R] command: .IP .nf \f[CB] -jlink\ \-\-module\-path\ /SOMEDIR/javafx\-jmods\-11\ \-\-add\-modules\ jdk.scripting.nashorn,jdk.scripting.nashorn.shell,javafx.controls\ \-\-output\ /SOMEDIR/myjdk +jlink\ \-\-module\-path\ /SOMEDIR/javafx\-jmods\-11\ \-\-add\-modules\ org.openjdk.nashorn,org.openjdk.nashorn.shell,javafx.controls\ \-\-output\ /SOMEDIR/myjdk /SOMEDIR/myjdk/bin/jjs\ \-fx\ HelloWorld.js \f[R] diff --git a/src/org.openjdk.nashorn/share/classes/module-info.java b/src/org.openjdk.nashorn/share/classes/module-info.java index 9ee721ff6..13f022d5f 100644 --- a/src/org.openjdk.nashorn/share/classes/module-info.java +++ b/src/org.openjdk.nashorn/share/classes/module-info.java @@ -139,7 +139,7 @@ * @moduleGraph * @since 9 */ -module jdk.scripting.nashorn { +module org.openjdk.nashorn { requires java.logging; requires jdk.dynalink; @@ -149,11 +149,11 @@ exports jdk.nashorn.api.tree; exports jdk.nashorn.internal.runtime to - jdk.scripting.nashorn.shell; + org.openjdk.nashorn.shell; exports jdk.nashorn.internal.objects to - jdk.scripting.nashorn.shell; + org.openjdk.nashorn.shell; exports jdk.nashorn.tools to - jdk.scripting.nashorn.shell; + org.openjdk.nashorn.shell; provides javax.script.ScriptEngineFactory with jdk.nashorn.api.scripting.NashornScriptEngineFactory; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java index b793a68d6..3fcb1ec27 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java @@ -562,7 +562,7 @@ private static int getMaxFiles() { return Math.max(0, Integer.parseInt(str)); } - private static final String JRT_NASHORN_DIR = "/modules/jdk.scripting.nashorn"; + private static final String JRT_NASHORN_DIR = "/modules/org.openjdk.nashorn"; // version directory name if nashorn is loaded from jrt:/ URL private static String getJrtVersionDirName() throws Exception { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java index d0e0ca148..6649ce230 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java @@ -54,7 +54,7 @@ final class ScriptLoader extends NashornLoader { this.context = context; // new scripts module, it's specific exports and read-edges - scriptModule = createModule("jdk.scripting.nashorn.scripts"); + scriptModule = createModule("org.openjdk.nashorn.scripts"); // specific exports from nashorn to new scripts module NASHORN_MODULE.addExports(OBJECTS_PKG, scriptModule); diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java index f1c9ef315..55566982e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java @@ -52,7 +52,7 @@ final class StructureLoader extends NashornLoader { super(parent); // new structures module, it's exports, read edges - structuresModule = createModule("jdk.scripting.nashorn.structures"); + structuresModule = createModule("org.openjdk.nashorn.structures"); // specific exports from nashorn to the structures module NASHORN_MODULE.addExports(SCRIPTS_PKG, structuresModule); diff --git a/test/hotspot/jtreg/applications/ctw/modules/jdk_scripting_nashorn.java b/test/hotspot/jtreg/applications/ctw/modules/jdk_scripting_nashorn.java index 4fd89916e..3398f84c1 100644 --- a/test/hotspot/jtreg/applications/ctw/modules/jdk_scripting_nashorn.java +++ b/test/hotspot/jtreg/applications/ctw/modules/jdk_scripting_nashorn.java @@ -23,17 +23,17 @@ /* * @test - * @summary run CTW for all classes from jdk.scripting.nashorn module + * @summary run CTW for all classes from org.openjdk.nashorn module * * @library /test/lib / /testlibrary/ctw/src * @modules java.base/jdk.internal.access * java.base/jdk.internal.jimage * java.base/jdk.internal.misc * java.base/jdk.internal.reflect - * @modules jdk.scripting.nashorn + * @modules org.openjdk.nashorn * * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run driver/timeout=7200 sun.hotspot.tools.ctw.CtwRunner modules:jdk.scripting.nashorn + * @run driver/timeout=7200 sun.hotspot.tools.ctw.CtwRunner modules:org.openjdk.nashorn */ diff --git a/test/hotspot/jtreg/applications/ctw/modules/jdk_scripting_nashorn_shell.java b/test/hotspot/jtreg/applications/ctw/modules/jdk_scripting_nashorn_shell.java index f864ad320..467c9236a 100644 --- a/test/hotspot/jtreg/applications/ctw/modules/jdk_scripting_nashorn_shell.java +++ b/test/hotspot/jtreg/applications/ctw/modules/jdk_scripting_nashorn_shell.java @@ -23,17 +23,17 @@ /* * @test - * @summary run CTW for all classes from jdk.scripting.nashorn.shell module + * @summary run CTW for all classes from org.openjdk.nashorn.shell module * * @library /test/lib / /testlibrary/ctw/src * @modules java.base/jdk.internal.access * java.base/jdk.internal.jimage * java.base/jdk.internal.misc * java.base/jdk.internal.reflect - * @modules jdk.scripting.nashorn.shell + * @modules org.openjdk.nashorn.shell * * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run driver/timeout=7200 sun.hotspot.tools.ctw.CtwRunner modules:jdk.scripting.nashorn.shell + * @run driver/timeout=7200 sun.hotspot.tools.ctw.CtwRunner modules:org.openjdk.nashorn.shell */ diff --git a/test/hotspot/jtreg/compiler/aot/scripts/test-nashorn.sh b/test/hotspot/jtreg/compiler/aot/scripts/test-nashorn.sh index 54a6782c1..9ae8d3517 100644 --- a/test/hotspot/jtreg/compiler/aot/scripts/test-nashorn.sh +++ b/test/hotspot/jtreg/compiler/aot/scripts/test-nashorn.sh @@ -37,7 +37,7 @@ TIMEFORMAT="%3R" N=5 rm -f libjdk.nashorn.$SO_TYPE -$JAVA_HOME/bin/jaotc --info --compile-commands jdk.scripting.nashorn-list.txt --module jdk.scripting.nashorn --output libjdk.nashorn.$SO_TYPE || exit 1 +$JAVA_HOME/bin/jaotc --info --compile-commands org.openjdk.nashorn-list.txt --module org.openjdk.nashorn --output libjdk.nashorn.$SO_TYPE || exit 1 echo "Tiered C1:" for i in `seq 1 $N`; do diff --git a/test/nashorn/script/basic/JDK-8190698.js b/test/nashorn/script/basic/JDK-8190698.js index fef779699..6b95336bd 100644 --- a/test/nashorn/script/basic/JDK-8190698.js +++ b/test/nashorn/script/basic/JDK-8190698.js @@ -22,18 +22,18 @@ */ /** - * JDK-8190698: jjs tool of jdk.scripting.nashorn.shell module should not statically depend on java.desktop + * JDK-8190698: jjs tool of org.openjdk.nashorn.shell module should not statically depend on java.desktop * * @test * @run */ -var optJjsMod = java.lang.ModuleLayer.boot().findModule("jdk.scripting.nashorn.shell"); +var optJjsMod = java.lang.ModuleLayer.boot().findModule("org.openjdk.nashorn.shell"); // make sure that the module exists! Assert.assertTrue(optJjsMod.isPresent()); -// jdk.scripting.nashorn.shell should not have java.desktop dependency +// org.openjdk.nashorn.shell should not have java.desktop dependency var javaDesktopDependency = optJjsMod.get(). descriptor.requires(). stream(). diff --git a/test/nashorn/script/basic/JDK-8191468.js b/test/nashorn/script/basic/JDK-8191468.js index ccfd56efa..4f8888d47 100644 --- a/test/nashorn/script/basic/JDK-8191468.js +++ b/test/nashorn/script/basic/JDK-8191468.js @@ -22,18 +22,18 @@ */ /** - * JDK-8191468: jdk.scripting.nashorn.shell (jjs) module should use optional dependency for java.compiler module + * JDK-8191468: org.openjdk.nashorn.shell (jjs) module should use optional dependency for java.compiler module * * @test * @run */ -var optJjsMod = java.lang.ModuleLayer.boot().findModule("jdk.scripting.nashorn.shell"); +var optJjsMod = java.lang.ModuleLayer.boot().findModule("org.openjdk.nashorn.shell"); // make sure that the module exists! Assert.assertTrue(optJjsMod.isPresent()); -// jdk.scripting.nashorn.shell should use optional dependency for java.compiler +// org.openjdk.nashorn.shell should use optional dependency for java.compiler var javaCompilerDependency = optJjsMod.get(). descriptor.requires(). stream(). diff --git a/test/nashorn/script/nosecurity/JDK-8055034.js b/test/nashorn/script/nosecurity/JDK-8055034.js index 921bb3d2a..295885c35 100644 --- a/test/nashorn/script/nosecurity/JDK-8055034.js +++ b/test/nashorn/script/nosecurity/JDK-8055034.js @@ -51,7 +51,7 @@ if (! new File(jjsCmd).isFile()) { jjsCmd = javahome + "/bin/jjs"; jjsCmd = jjsCmd.toString().replace(/\//g, File.separator); } -jjsCmd += " -J--patch-module=jdk.scripting.nashorn=" + nashornJar; +jjsCmd += " -J--patch-module=org.openjdk.nashorn=" + nashornJar; $ENV.PWD=System.getProperty("user.dir") // to avoid RE on Cygwin $EXEC(jjsCmd, "var x = Object.create(null);\nx;\nprint('PASSED');\nexit(0)"); diff --git a/test/nashorn/script/nosecurity/JDK-8193137.js b/test/nashorn/script/nosecurity/JDK-8193137.js index b1fef72ce..5a72f20f0 100644 --- a/test/nashorn/script/nosecurity/JDK-8193137.js +++ b/test/nashorn/script/nosecurity/JDK-8193137.js @@ -46,7 +46,7 @@ if (! new File(jjsCmd).isFile()) { jjsCmd = javahome + "/bin/jjs"; jjsCmd = jjsCmd.toString().replace(/\//g, File.separator); } -jjsCmd += " -J--patch-module=jdk.scripting.nashorn=" + nashornJar; +jjsCmd += " -J--patch-module=org.openjdk.nashorn=" + nashornJar; $ENV.PWD=System.getProperty("user.dir") diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java index 9e2dc7db6..8cec340da 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java @@ -69,7 +69,7 @@ * Bignum class tests * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime.doubleconv:open + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv:open * @run testng jdk.nashorn.internal.runtime.doubleconv.test.BignumTest */ @SuppressWarnings("javadoc") diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java index 662e380da..02d52eb01 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java @@ -44,7 +44,7 @@ * DiyFp class tests * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime.doubleconv:open + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv:open * @run testng jdk.nashorn.internal.runtime.doubleconv.test.DiyFpTest */ @SuppressWarnings("javadoc") diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java index 24b64df78..b75bfb361 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java @@ -44,7 +44,7 @@ * IeeeDouble tests * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime.doubleconv:open + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv:open * @run testng jdk.nashorn.internal.runtime.doubleconv.test.IeeeDoubleTest */ @SuppressWarnings({"unchecked", "javadoc"}) diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java index 9e5ef1b3a..b23992846 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java @@ -33,7 +33,7 @@ * @test * @bug 8184723 * @summary jdk.nashorn.internal.runtime.linker.JSObjectLinker.callToApply erroneously asserts given arguments - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime.linker + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.linker * @run main/othervm -ea jdk.nashorn.internal.runtime.linker.test.JDK_8184723_Test */ diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java index 27ffd841e..1a6d32407 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java @@ -32,7 +32,7 @@ * Joni coverage tests * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime.regexp.joni + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.regexp.joni * @run testng jdk.nashorn.internal.runtime.regexp.joni.test.JoniTest */ @SuppressWarnings("javadoc") diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java index 32d5d42ac..99c0b7960 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java @@ -38,7 +38,7 @@ * Basic tests for the JDK based RegExp implementation. * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime.regexp + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.regexp * @run testng jdk.nashorn.internal.runtime.regexp.test.JdkRegExpTest */ public class JdkRegExpTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java index 12f49028f..037a7a3a5 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java @@ -34,7 +34,7 @@ * Tests for JSType methods. * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime * @run testng jdk.nashorn.internal.runtime.test.ConsStringTest */ public class ConsStringTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java index 35f902e66..3c5f73d09 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java @@ -44,9 +44,9 @@ * Basic Context API tests. * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime - * jdk.scripting.nashorn/jdk.nashorn.internal.runtime.options - * jdk.scripting.nashorn/jdk.nashorn.internal.objects + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime + * org.openjdk.nashorn/jdk.nashorn.internal.runtime.options + * org.openjdk.nashorn/jdk.nashorn.internal.objects * @run testng jdk.nashorn.internal.runtime.test.ContextTest */ @SuppressWarnings("javadoc") diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java index cac02e0ee..5f1ca6473 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java @@ -42,7 +42,7 @@ * JDK-8044518: Ensure exceptions related to optimistic recompilation are not serializable * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime * @run testng jdk.nashorn.internal.runtime.test.ExceptionsNotSerializable */ @SuppressWarnings("javadoc") diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java index 845cc1a59..77efbdc3c 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java @@ -47,10 +47,10 @@ * @test * @bug 8078414 * @summary Test that arbitrary classes can't be converted to mirror's superclasses/interfaces. - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime.linker - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime.options - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.objects + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.linker + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.options + * @modules org.openjdk.nashorn/jdk.nashorn.internal.objects * @run testng jdk.nashorn.internal.runtime.test.JDK_8078414_Test */ public class JDK_8078414_Test { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java index 1f0336d47..76f339e08 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java @@ -38,7 +38,7 @@ * @test * @bug 8186807 * @summary JSObject gets ScriptFunction when ScriptObjectMirror is expected - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime * @run testng/othervm -Dnashorn.unstable.relink.threshold=1 jdk.nashorn.internal.runtime.test.JDK_8186807_Test */ diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java index 9d0c0bb8f..071088c8b 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java @@ -37,7 +37,7 @@ * Tests for JSType methods. * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime * @run testng jdk.nashorn.internal.runtime.test.JSTypeTest */ public class JSTypeTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java index d9bdb8378..d5925472f 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java @@ -35,7 +35,7 @@ * Tests for PropertyMap functionality * * @test - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime * @run testng jdk.nashorn.internal.runtime.test.PropertyMapTest */ @SuppressWarnings("javadoc") diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java index 118e8e366..bbca26838 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java @@ -35,7 +35,7 @@ * @test * @bug 8187362 * @summary Nashorn unsigned right shift operator unexpectedly returns floating-point - * @modules jdk.scripting.nashorn/jdk.nashorn.internal.runtime + * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime * @run testng jdk.nashorn.internal.runtime.test.JDK_8187362_Test */ public class JDK_8187362_Test { From f79f78338e7c12cfa4d3d38674fdf100bb01fa22 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 12:29:19 +0200 Subject: [PATCH 04/29] Package name: s/jdk.nashorn/org.openjdk.nashorn --- bin/nashorn/runopt.sh | 2 +- doc/nashorn/DEVELOPER_README | 2 +- make/CompileJavaModulesNashorn.gmk | 6 +- .../Launcher-jdk.scripting.nashorn.shell.gmk | 2 +- make/nashorn/build-benchmark.xml | 2 +- make/nashorn/build-nasgen.xml | 6 +- make/nashorn/build.xml | 2 +- .../nasgen/src/META-INF/MANIFEST.MF | 2 +- .../internal/tools/nasgen/ClassGenerator.java | 76 +- .../tools/nasgen/ConstructorGenerator.java | 42 +- .../nashorn/internal/tools/nasgen/Main.java | 2 +- .../internal/tools/nasgen/MemberInfo.java | 20 +- .../tools/nasgen/MethodGenerator.java | 14 +- .../internal/tools/nasgen/NullVisitor.java | 2 +- .../tools/nasgen/PrototypeGenerator.java | 18 +- .../tools/nasgen/ScriptClassInfo.java | 8 +- .../nasgen/ScriptClassInfoCollector.java | 8 +- .../tools/nasgen/ScriptClassInstrumentor.java | 18 +- .../tools/nasgen/StringConstants.java | 2 +- .../nashorn/internal/tools/nasgen/Where.java | 4 +- .../src/jdk/nashorn/ant/NashornTask.java | 2 +- make/nashorn/element-list | 4 +- make/nashorn/nbproject/ide-targets.xml | 2 +- make/nashorn/project.properties | 36 +- .../openjdk/nashorn/tools/jjs/Console.java | 2 +- .../openjdk/nashorn/tools/jjs/EditObject.java | 8 +- .../nashorn/tools/jjs/ExternalEditor.java | 2 +- .../nashorn/tools/jjs/HistoryObject.java | 12 +- .../tools/jjs/JavacPackagesHelper.java | 4 +- .../nashorn/tools/jjs/JrtPackagesHelper.java | 4 +- .../org/openjdk/nashorn/tools/jjs/Main.java | 28 +- .../nashorn/tools/jjs/NashornCompleter.java | 52 +- .../nashorn/tools/jjs/PackagesHelper.java | 4 +- .../nashorn/tools/jjs/PropertiesHelper.java | 16 +- .../share/classes/module-info.java | 16 +- .../api/linker/NashornLinkerExporter.java | 4 +- .../api/scripting/AbstractJSObject.java | 2 +- .../nashorn/api/scripting/ClassFilter.java | 2 +- .../api/scripting/DefaultValueImpl.java | 4 +- .../nashorn/api/scripting/Formatter.java | 2 +- .../nashorn/api/scripting/JSObject.java | 4 +- .../api/scripting/NashornException.java | 8 +- .../api/scripting/NashornScriptEngine.java | 24 +- .../scripting/NashornScriptEngineFactory.java | 6 +- .../api/scripting/ScriptObjectMirror.java | 24 +- .../nashorn/api/scripting/ScriptUtils.java | 12 +- .../nashorn/api/scripting/URLReader.java | 4 +- .../nashorn/api/scripting/package-info.java | 4 +- .../nashorn/api/tree/ArrayAccessTree.java | 2 +- .../nashorn/api/tree/ArrayAccessTreeImpl.java | 4 +- .../nashorn/api/tree/ArrayLiteralTree.java | 2 +- .../api/tree/ArrayLiteralTreeImpl.java | 4 +- .../nashorn/api/tree/AssignmentTree.java | 2 +- .../nashorn/api/tree/AssignmentTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/BinaryTree.java | 2 +- .../nashorn/api/tree/BinaryTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/BlockTree.java | 2 +- .../nashorn/api/tree/BlockTreeImpl.java | 6 +- .../openjdk/nashorn/api/tree/BreakTree.java | 2 +- .../nashorn/api/tree/BreakTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/CaseTree.java | 2 +- .../nashorn/api/tree/CaseTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/CatchTree.java | 2 +- .../nashorn/api/tree/CatchTreeImpl.java | 4 +- .../api/tree/ClassDeclarationTree.java | 2 +- .../api/tree/ClassDeclarationTreeImpl.java | 4 +- .../nashorn/api/tree/ClassExpressionTree.java | 2 +- .../api/tree/ClassExpressionTreeImpl.java | 4 +- .../nashorn/api/tree/CompilationUnitTree.java | 2 +- .../api/tree/CompilationUnitTreeImpl.java | 4 +- .../api/tree/CompoundAssignmentTree.java | 2 +- .../api/tree/CompoundAssignmentTreeImpl.java | 4 +- .../api/tree/ConditionalExpressionTree.java | 2 +- .../tree/ConditionalExpressionTreeImpl.java | 4 +- .../nashorn/api/tree/ConditionalLoopTree.java | 2 +- .../nashorn/api/tree/ContinueTree.java | 2 +- .../nashorn/api/tree/ContinueTreeImpl.java | 4 +- .../nashorn/api/tree/DebuggerTree.java | 2 +- .../nashorn/api/tree/DebuggerTreeImpl.java | 4 +- .../api/tree/DestructuringDeclTreeImpl.java | 6 +- .../openjdk/nashorn/api/tree/Diagnostic.java | 2 +- .../nashorn/api/tree/DiagnosticImpl.java | 6 +- .../nashorn/api/tree/DiagnosticListener.java | 2 +- .../nashorn/api/tree/DoWhileLoopTree.java | 2 +- .../nashorn/api/tree/DoWhileLoopTreeImpl.java | 4 +- .../nashorn/api/tree/EmptyStatementTree.java | 2 +- .../api/tree/EmptyStatementTreeImpl.java | 4 +- .../nashorn/api/tree/ErroneousTree.java | 2 +- .../nashorn/api/tree/ErroneousTreeImpl.java | 4 +- .../nashorn/api/tree/ExportEntryTree.java | 2 +- .../nashorn/api/tree/ExportEntryTreeImpl.java | 10 +- .../api/tree/ExpressionStatementTree.java | 2 +- .../api/tree/ExpressionStatementTreeImpl.java | 4 +- .../nashorn/api/tree/ExpressionTree.java | 2 +- .../nashorn/api/tree/ExpressionTreeImpl.java | 4 +- .../nashorn/api/tree/ForInLoopTree.java | 2 +- .../nashorn/api/tree/ForInLoopTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/ForLoopTree.java | 2 +- .../nashorn/api/tree/ForLoopTreeImpl.java | 4 +- .../nashorn/api/tree/ForOfLoopTree.java | 2 +- .../nashorn/api/tree/ForOfLoopTreeImpl.java | 4 +- .../nashorn/api/tree/FunctionCallTree.java | 2 +- .../api/tree/FunctionCallTreeImpl.java | 4 +- .../api/tree/FunctionDeclarationTree.java | 2 +- .../api/tree/FunctionDeclarationTreeImpl.java | 6 +- .../api/tree/FunctionExpressionTree.java | 2 +- .../api/tree/FunctionExpressionTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/GotoTree.java | 2 +- .../nashorn/api/tree/IRTranslator.java | 84 +- .../nashorn/api/tree/IdentifierTree.java | 2 +- .../nashorn/api/tree/IdentifierTreeImpl.java | 6 +- .../org/openjdk/nashorn/api/tree/IfTree.java | 2 +- .../openjdk/nashorn/api/tree/IfTreeImpl.java | 4 +- .../nashorn/api/tree/ImportEntryTree.java | 2 +- .../nashorn/api/tree/ImportEntryTreeImpl.java | 10 +- .../nashorn/api/tree/InstanceOfTree.java | 2 +- .../nashorn/api/tree/InstanceOfTreeImpl.java | 6 +- .../api/tree/LabeledStatementTree.java | 2 +- .../api/tree/LabeledStatementTreeImpl.java | 4 +- .../org/openjdk/nashorn/api/tree/LineMap.java | 2 +- .../openjdk/nashorn/api/tree/LineMapImpl.java | 4 +- .../openjdk/nashorn/api/tree/LiteralTree.java | 2 +- .../nashorn/api/tree/LiteralTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/LoopTree.java | 2 +- .../nashorn/api/tree/MemberSelectTree.java | 2 +- .../api/tree/MemberSelectTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/ModuleTree.java | 2 +- .../nashorn/api/tree/ModuleTreeImpl.java | 12 +- .../org/openjdk/nashorn/api/tree/NewTree.java | 2 +- .../openjdk/nashorn/api/tree/NewTreeImpl.java | 6 +- .../nashorn/api/tree/ObjectLiteralTree.java | 2 +- .../api/tree/ObjectLiteralTreeImpl.java | 4 +- .../nashorn/api/tree/ParenthesizedTree.java | 2 +- .../org/openjdk/nashorn/api/tree/Parser.java | 6 +- .../openjdk/nashorn/api/tree/ParserImpl.java | 26 +- .../nashorn/api/tree/PropertyTree.java | 2 +- .../nashorn/api/tree/PropertyTreeImpl.java | 4 +- .../nashorn/api/tree/RegExpLiteralTree.java | 2 +- .../api/tree/RegExpLiteralTreeImpl.java | 6 +- .../openjdk/nashorn/api/tree/ReturnTree.java | 2 +- .../nashorn/api/tree/ReturnTreeImpl.java | 4 +- .../api/tree/SimpleTreeVisitorES5_1.java | 2 +- .../api/tree/SimpleTreeVisitorES6.java | 2 +- .../openjdk/nashorn/api/tree/SpreadTree.java | 2 +- .../nashorn/api/tree/SpreadTreeImpl.java | 4 +- .../nashorn/api/tree/StatementTree.java | 2 +- .../nashorn/api/tree/StatementTreeImpl.java | 6 +- .../openjdk/nashorn/api/tree/SwitchTree.java | 2 +- .../nashorn/api/tree/SwitchTreeImpl.java | 4 +- .../nashorn/api/tree/TemplateLiteralTree.java | 2 +- .../api/tree/TemplateLiteralTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/ThrowTree.java | 2 +- .../nashorn/api/tree/ThrowTreeImpl.java | 4 +- .../org/openjdk/nashorn/api/tree/Tree.java | 2 +- .../openjdk/nashorn/api/tree/TreeImpl.java | 6 +- .../openjdk/nashorn/api/tree/TreeVisitor.java | 2 +- .../org/openjdk/nashorn/api/tree/TryTree.java | 2 +- .../openjdk/nashorn/api/tree/TryTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/UnaryTree.java | 2 +- .../nashorn/api/tree/UnaryTreeImpl.java | 4 +- .../api/tree/UnknownTreeException.java | 2 +- .../nashorn/api/tree/VariableTree.java | 2 +- .../nashorn/api/tree/VariableTreeImpl.java | 4 +- .../nashorn/api/tree/WhileLoopTree.java | 2 +- .../nashorn/api/tree/WhileLoopTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/WithTree.java | 2 +- .../nashorn/api/tree/WithTreeImpl.java | 4 +- .../openjdk/nashorn/api/tree/YieldTree.java | 2 +- .../nashorn/api/tree/YieldTreeImpl.java | 8 +- .../nashorn/api/tree/package-info.java | 4 +- .../nashorn/internal/AssertsEnabled.java | 2 +- .../openjdk/nashorn/internal/IntDeque.java | 2 +- .../nashorn/internal/WeakValueCache.java | 2 +- .../internal/codegen/ApplySpecialization.java | 32 +- .../internal/codegen/AssignSymbols.java | 116 +- .../internal/codegen/BranchOptimizer.java | 30 +- .../nashorn/internal/codegen/CacheAst.java | 12 +- .../internal/codegen/ClassEmitter.java | 52 +- .../internal/codegen/CodeGenerator.java | 228 +- .../codegen/CodeGeneratorLexicalContext.java | 22 +- .../codegen/CompilationException.java | 2 +- .../internal/codegen/CompilationPhase.java | 36 +- .../nashorn/internal/codegen/CompileUnit.java | 8 +- .../nashorn/internal/codegen/Compiler.java | 52 +- .../internal/codegen/CompilerConstants.java | 12 +- .../nashorn/internal/codegen/Condition.java | 2 +- .../internal/codegen/ConstantData.java | 4 +- .../internal/codegen/DumpBytecode.java | 8 +- .../internal/codegen/FieldObjectCreator.java | 34 +- .../internal/codegen/FindScopeDepths.java | 30 +- .../internal/codegen/FoldConstants.java | 50 +- .../internal/codegen/FunctionSignature.java | 14 +- .../nashorn/internal/codegen/Label.java | 4 +- .../codegen/LocalStateRestorationInfo.java | 4 +- .../codegen/LocalVariableTypesCalculator.java | 108 +- .../nashorn/internal/codegen/Lower.java | 116 +- .../nashorn/internal/codegen/MapCreator.java | 18 +- .../nashorn/internal/codegen/MapTuple.java | 6 +- .../internal/codegen/MethodEmitter.java | 90 +- .../nashorn/internal/codegen/Namespace.java | 4 +- .../codegen/ObjectClassGenerator.java | 74 +- .../internal/codegen/ObjectCreator.java | 12 +- .../codegen/OptimisticTypesCalculator.java | 56 +- .../codegen/OptimisticTypesPersistence.java | 14 +- .../internal/codegen/ProgramPoints.java | 32 +- .../internal/codegen/ReplaceCompileUnits.java | 18 +- .../internal/codegen/SharedScopeCall.java | 16 +- .../internal/codegen/SpillObjectCreator.java | 30 +- .../internal/codegen/SplitIntoFunctions.java | 64 +- .../nashorn/internal/codegen/Splitter.java | 38 +- .../internal/codegen/TypeEvaluator.java | 42 +- .../nashorn/internal/codegen/TypeMap.java | 10 +- .../nashorn/internal/codegen/WeighNodes.java | 66 +- .../internal/codegen/types/ArrayType.java | 2 +- .../internal/codegen/types/BitwiseType.java | 2 +- .../internal/codegen/types/BooleanType.java | 8 +- .../codegen/types/BytecodeArrayOps.java | 2 +- .../codegen/types/BytecodeBitwiseOps.java | 2 +- .../codegen/types/BytecodeNumericOps.java | 2 +- .../internal/codegen/types/BytecodeOps.java | 2 +- .../internal/codegen/types/IntType.java | 12 +- .../internal/codegen/types/LongType.java | 10 +- .../internal/codegen/types/NumberType.java | 10 +- .../internal/codegen/types/NumericType.java | 2 +- .../internal/codegen/types/ObjectType.java | 14 +- .../nashorn/internal/codegen/types/Type.java | 12 +- .../nashorn/internal/ir/AccessNode.java | 8 +- .../nashorn/internal/ir/Assignment.java | 2 +- .../openjdk/nashorn/internal/ir/BaseNode.java | 10 +- .../nashorn/internal/ir/BinaryNode.java | 14 +- .../openjdk/nashorn/internal/ir/Block.java | 8 +- .../internal/ir/BlockLexicalContext.java | 2 +- .../nashorn/internal/ir/BlockStatement.java | 4 +- .../nashorn/internal/ir/BreakNode.java | 8 +- .../nashorn/internal/ir/BreakableNode.java | 4 +- .../internal/ir/BreakableStatement.java | 6 +- .../openjdk/nashorn/internal/ir/CallNode.java | 12 +- .../openjdk/nashorn/internal/ir/CaseNode.java | 8 +- .../nashorn/internal/ir/CatchNode.java | 6 +- .../nashorn/internal/ir/ClassNode.java | 6 +- .../internal/ir/CompileUnitHolder.java | 4 +- .../nashorn/internal/ir/ContinueNode.java | 8 +- .../nashorn/internal/ir/DebuggerNode.java | 6 +- .../nashorn/internal/ir/EmptyNode.java | 6 +- .../nashorn/internal/ir/ErrorNode.java | 8 +- .../nashorn/internal/ir/Expression.java | 6 +- .../nashorn/internal/ir/ExpressionList.java | 6 +- .../internal/ir/ExpressionStatement.java | 8 +- .../openjdk/nashorn/internal/ir/Flags.java | 2 +- .../openjdk/nashorn/internal/ir/ForNode.java | 6 +- .../nashorn/internal/ir/FunctionCall.java | 4 +- .../nashorn/internal/ir/FunctionNode.java | 42 +- .../nashorn/internal/ir/GetSplitState.java | 12 +- .../nashorn/internal/ir/IdentNode.java | 24 +- .../openjdk/nashorn/internal/ir/IfNode.java | 6 +- .../nashorn/internal/ir/IndexNode.java | 8 +- .../nashorn/internal/ir/JoinPredecessor.java | 2 +- .../ir/JoinPredecessorExpression.java | 6 +- .../nashorn/internal/ir/JumpStatement.java | 4 +- .../internal/ir/JumpToInlinedFinally.java | 8 +- .../nashorn/internal/ir/LabelNode.java | 6 +- .../openjdk/nashorn/internal/ir/Labels.java | 4 +- .../nashorn/internal/ir/LexicalContext.java | 6 +- .../internal/ir/LexicalContextExpression.java | 4 +- .../internal/ir/LexicalContextNode.java | 4 +- .../internal/ir/LexicalContextStatement.java | 4 +- .../nashorn/internal/ir/LiteralNode.java | 26 +- .../internal/ir/LocalVariableConversion.java | 4 +- .../openjdk/nashorn/internal/ir/LoopNode.java | 4 +- .../openjdk/nashorn/internal/ir/Module.java | 2 +- .../org/openjdk/nashorn/internal/ir/Node.java | 8 +- .../nashorn/internal/ir/ObjectNode.java | 10 +- .../nashorn/internal/ir/Optimistic.java | 4 +- .../internal/ir/OptimisticLexicalContext.java | 4 +- .../nashorn/internal/ir/PropertyKey.java | 2 +- .../nashorn/internal/ir/PropertyNode.java | 6 +- .../nashorn/internal/ir/ReturnNode.java | 10 +- .../nashorn/internal/ir/RuntimeNode.java | 10 +- .../nashorn/internal/ir/SetSplitState.java | 8 +- .../nashorn/internal/ir/SplitNode.java | 8 +- .../nashorn/internal/ir/SplitReturn.java | 6 +- .../nashorn/internal/ir/Splittable.java | 4 +- .../nashorn/internal/ir/Statement.java | 2 +- .../nashorn/internal/ir/SwitchNode.java | 8 +- .../openjdk/nashorn/internal/ir/Symbol.java | 10 +- .../nashorn/internal/ir/TemplateLiteral.java | 6 +- .../openjdk/nashorn/internal/ir/Terminal.java | 2 +- .../nashorn/internal/ir/TernaryNode.java | 10 +- .../nashorn/internal/ir/ThrowNode.java | 6 +- .../openjdk/nashorn/internal/ir/TryNode.java | 6 +- .../nashorn/internal/ir/UnaryNode.java | 22 +- .../openjdk/nashorn/internal/ir/VarNode.java | 6 +- .../nashorn/internal/ir/WhileNode.java | 6 +- .../openjdk/nashorn/internal/ir/WithNode.java | 6 +- .../internal/ir/annotations/Ignore.java | 6 +- .../internal/ir/annotations/Immutable.java | 2 +- .../internal/ir/annotations/Reference.java | 2 +- .../nashorn/internal/ir/debug/ASTWriter.java | 30 +- .../nashorn/internal/ir/debug/JSONWriter.java | 92 +- .../internal/ir/debug/NashornClassReader.java | 4 +- .../internal/ir/debug/NashornTextifier.java | 10 +- .../internal/ir/debug/PrintVisitor.java | 56 +- .../ir/visitor/NodeOperatorVisitor.java | 10 +- .../internal/ir/visitor/NodeVisitor.java | 88 +- .../ir/visitor/SimpleNodeVisitor.java | 4 +- .../nashorn/internal/lookup/Lookup.java | 10 +- .../internal/lookup/MethodHandleFactory.java | 18 +- .../lookup/MethodHandleFunctionality.java | 2 +- .../internal/objects/AbstractIterator.java | 26 +- .../objects/AccessorPropertyDescriptor.java | 24 +- .../internal/objects/ArrayBufferView.java | 26 +- .../internal/objects/ArrayIterator.java | 18 +- .../objects/DataPropertyDescriptor.java | 18 +- .../objects/GenericPropertyDescriptor.java | 18 +- .../nashorn/internal/objects/Global.java | 108 +- .../internal/objects/IteratorResult.java | 10 +- .../nashorn/internal/objects/LinkedMap.java | 4 +- .../nashorn/internal/objects/MapIterator.java | 14 +- .../internal/objects/NativeArguments.java | 28 +- .../nashorn/internal/objects/NativeArray.java | 74 +- .../internal/objects/NativeArrayBuffer.java | 26 +- .../internal/objects/NativeBoolean.java | 24 +- .../internal/objects/NativeDataView.java | 28 +- .../nashorn/internal/objects/NativeDate.java | 34 +- .../nashorn/internal/objects/NativeDebug.java | 34 +- .../nashorn/internal/objects/NativeError.java | 32 +- .../internal/objects/NativeEvalError.java | 20 +- .../internal/objects/NativeFloat32Array.java | 26 +- .../internal/objects/NativeFloat64Array.java | 26 +- .../internal/objects/NativeFunction.java | 42 +- .../internal/objects/NativeInt16Array.java | 26 +- .../internal/objects/NativeInt32Array.java | 26 +- .../internal/objects/NativeInt8Array.java | 26 +- .../internal/objects/NativeJSAdapter.java | 34 +- .../nashorn/internal/objects/NativeJSON.java | 34 +- .../nashorn/internal/objects/NativeJava.java | 38 +- .../internal/objects/NativeJavaImporter.java | 16 +- .../nashorn/internal/objects/NativeMap.java | 30 +- .../nashorn/internal/objects/NativeMath.java | 22 +- .../internal/objects/NativeNumber.java | 38 +- .../internal/objects/NativeObject.java | 48 +- .../internal/objects/NativeRangeError.java | 20 +- .../objects/NativeReferenceError.java | 20 +- .../internal/objects/NativeRegExp.java | 44 +- .../objects/NativeRegExpExecResult.java | 22 +- .../nashorn/internal/objects/NativeSet.java | 30 +- .../objects/NativeStrictArguments.java | 18 +- .../internal/objects/NativeString.java | 50 +- .../internal/objects/NativeSymbol.java | 36 +- .../internal/objects/NativeSyntaxError.java | 20 +- .../internal/objects/NativeTypeError.java | 20 +- .../internal/objects/NativeURIError.java | 20 +- .../internal/objects/NativeUint16Array.java | 26 +- .../internal/objects/NativeUint32Array.java | 30 +- .../internal/objects/NativeUint8Array.java | 26 +- .../objects/NativeUint8ClampedArray.java | 30 +- .../internal/objects/NativeWeakMap.java | 24 +- .../internal/objects/NativeWeakSet.java | 24 +- .../nashorn/internal/objects/SetIterator.java | 14 +- .../internal/objects/StringIterator.java | 14 +- .../objects/annotations/Attribute.java | 10 +- .../objects/annotations/Constructor.java | 2 +- .../objects/annotations/Function.java | 4 +- .../internal/objects/annotations/Getter.java | 4 +- .../objects/annotations/Optimistic.java | 2 +- .../objects/annotations/Property.java | 4 +- .../objects/annotations/ScriptClass.java | 2 +- .../internal/objects/annotations/Setter.java | 4 +- .../annotations/SpecializedFunction.java | 6 +- .../internal/objects/annotations/Where.java | 2 +- .../internal/objects/package-info.java | 2 +- .../internal/parser/AbstractParser.java | 32 +- .../nashorn/internal/parser/DateParser.java | 2 +- .../nashorn/internal/parser/JSONParser.java | 38 +- .../nashorn/internal/parser/Lexer.java | 70 +- .../nashorn/internal/parser/Parser.java | 232 +- .../internal/parser/ParserContext.java | 4 +- .../parser/ParserContextBaseNode.java | 4 +- .../parser/ParserContextBlockNode.java | 2 +- .../parser/ParserContextBreakableNode.java | 4 +- .../parser/ParserContextFunctionNode.java | 12 +- .../parser/ParserContextLabelNode.java | 2 +- .../parser/ParserContextLoopNode.java | 2 +- .../parser/ParserContextModuleNode.java | 10 +- .../internal/parser/ParserContextNode.java | 4 +- .../parser/ParserContextSwitchNode.java | 2 +- .../nashorn/internal/parser/Scanner.java | 2 +- .../nashorn/internal/parser/Token.java | 6 +- .../nashorn/internal/parser/TokenKind.java | 2 +- .../nashorn/internal/parser/TokenLookup.java | 6 +- .../nashorn/internal/parser/TokenStream.java | 2 +- .../nashorn/internal/parser/TokenType.java | 20 +- .../runtime/AccessControlContextFactory.java | 2 +- .../internal/runtime/AccessorProperty.java | 32 +- .../internal/runtime/AllocationStrategy.java | 10 +- .../internal/runtime/ArgumentSetter.java | 6 +- .../internal/runtime/AstDeserializer.java | 4 +- .../internal/runtime/AstSerializer.java | 6 +- .../nashorn/internal/runtime/BitVector.java | 2 +- .../internal/runtime/CodeInstaller.java | 4 +- .../nashorn/internal/runtime/CodeStore.java | 14 +- .../internal/runtime/CommandExecutor.java | 6 +- .../internal/runtime/CompiledFunction.java | 28 +- .../nashorn/internal/runtime/ConsString.java | 4 +- .../nashorn/internal/runtime/Context.java | 60 +- .../nashorn/internal/runtime/Debug.java | 14 +- .../internal/runtime/DebuggerSupport.java | 8 +- .../runtime/DefaultPropertyAccess.java | 2 +- .../nashorn/internal/runtime/ECMAErrors.java | 12 +- .../internal/runtime/ECMAException.java | 14 +- .../internal/runtime/ErrorManager.java | 6 +- .../runtime/FinalScriptFunctionData.java | 2 +- .../internal/runtime/FindProperty.java | 10 +- .../runtime/FunctionDocumentation.java | 4 +- .../internal/runtime/FunctionInitializer.java | 10 +- .../internal/runtime/FunctionScope.java | 2 +- .../internal/runtime/GlobalConstants.java | 26 +- .../internal/runtime/GlobalFunctions.java | 4 +- .../nashorn/internal/runtime/JSErrorType.java | 2 +- .../internal/runtime/JSONFunctions.java | 10 +- .../internal/runtime/JSONListAdapter.java | 8 +- .../nashorn/internal/runtime/JSType.java | 26 +- .../nashorn/internal/runtime/ListAdapter.java | 10 +- .../internal/runtime/NashornLoader.java | 12 +- .../internal/runtime/NativeJavaPackage.java | 20 +- .../internal/runtime/OptimisticBuiltins.java | 6 +- .../runtime/OptimisticReturnFilters.java | 12 +- .../internal/runtime/ParserException.java | 8 +- .../nashorn/internal/runtime/Property.java | 10 +- .../internal/runtime/PropertyAccess.java | 2 +- .../internal/runtime/PropertyDescriptor.java | 2 +- .../internal/runtime/PropertyHashMap.java | 4 +- .../nashorn/internal/runtime/PropertyMap.java | 12 +- .../runtime/PropertySwitchPoints.java | 2 +- .../internal/runtime/PrototypeObject.java | 8 +- .../runtime/QuotedStringTokenizer.java | 2 +- .../RecompilableScriptFunctionData.java | 58 +- .../internal/runtime/RewriteException.java | 22 +- .../nashorn/internal/runtime/Scope.java | 6 +- .../internal/runtime/ScriptEnvironment.java | 16 +- .../internal/runtime/ScriptFunction.java | 32 +- .../internal/runtime/ScriptFunctionData.java | 10 +- .../internal/runtime/ScriptLoader.java | 4 +- .../internal/runtime/ScriptObject.java | 90 +- .../internal/runtime/ScriptRuntime.java | 48 +- .../internal/runtime/ScriptingFunctions.java | 12 +- .../internal/runtime/SetMethodCreator.java | 12 +- .../internal/runtime/SharedPropertyMap.java | 2 +- .../nashorn/internal/runtime/Source.java | 14 +- .../internal/runtime/Specialization.java | 6 +- .../internal/runtime/SpillProperty.java | 4 +- .../internal/runtime/StoredScript.java | 2 +- .../internal/runtime/StructureLoader.java | 12 +- .../nashorn/internal/runtime/Symbol.java | 4 +- .../nashorn/internal/runtime/Timing.java | 10 +- .../nashorn/internal/runtime/URIUtils.java | 4 +- .../nashorn/internal/runtime/Undefined.java | 8 +- .../runtime/UnwarrantedOptimismException.java | 4 +- .../runtime/UserAccessorProperty.java | 18 +- .../nashorn/internal/runtime/Version.java | 4 +- .../nashorn/internal/runtime/WithObject.java | 14 +- .../internal/runtime/arrays/AnyElements.java | 2 +- .../internal/runtime/arrays/ArrayData.java | 18 +- .../internal/runtime/arrays/ArrayFilter.java | 10 +- .../internal/runtime/arrays/ArrayIndex.java | 8 +- .../runtime/arrays/ArrayLikeIterator.java | 8 +- .../runtime/arrays/ByteBufferArrayData.java | 10 +- .../runtime/arrays/ContinuousArrayData.java | 22 +- .../runtime/arrays/DeletedArrayFilter.java | 6 +- .../arrays/DeletedRangeArrayFilter.java | 4 +- .../arrays/EmptyArrayLikeIterator.java | 2 +- .../runtime/arrays/FrozenArrayFilter.java | 10 +- .../internal/runtime/arrays/IntArrayData.java | 8 +- .../internal/runtime/arrays/IntElements.java | 2 +- .../runtime/arrays/IntOrLongElements.java | 2 +- .../runtime/arrays/IteratorAction.java | 10 +- .../runtime/arrays/JSObjectIterator.java | 6 +- .../runtime/arrays/JavaArrayIterator.java | 2 +- .../runtime/arrays/JavaListIterator.java | 2 +- .../arrays/LengthNotWritableFilter.java | 6 +- .../arrays/NonExtensibleArrayFilter.java | 8 +- .../runtime/arrays/NumberArrayData.java | 10 +- .../runtime/arrays/NumericElements.java | 2 +- .../runtime/arrays/ObjectArrayData.java | 8 +- .../arrays/ReverseJSObjectIterator.java | 6 +- .../arrays/ReverseJavaArrayIterator.java | 2 +- .../arrays/ReverseJavaListIterator.java | 2 +- .../arrays/ReverseScriptArrayIterator.java | 4 +- .../arrays/ReverseScriptObjectIterator.java | 6 +- .../runtime/arrays/ScriptArrayIterator.java | 4 +- .../runtime/arrays/ScriptObjectIterator.java | 6 +- .../runtime/arrays/SealedArrayFilter.java | 8 +- .../runtime/arrays/SparseArrayData.java | 8 +- .../runtime/arrays/TypedArrayData.java | 6 +- .../runtime/arrays/UndefinedArrayFilter.java | 8 +- .../internal/runtime/doubleconv/Bignum.java | 2 +- .../runtime/doubleconv/BignumDtoa.java | 2 +- .../runtime/doubleconv/CachedPowers.java | 2 +- .../internal/runtime/doubleconv/DiyFp.java | 2 +- .../runtime/doubleconv/DoubleConversion.java | 2 +- .../runtime/doubleconv/DtoaBuffer.java | 2 +- .../internal/runtime/doubleconv/DtoaMode.java | 2 +- .../internal/runtime/doubleconv/FastDtoa.java | 2 +- .../runtime/doubleconv/FixedDtoa.java | 2 +- .../runtime/doubleconv/IeeeDouble.java | 2 +- .../runtime/events/RecompilationEvent.java | 8 +- .../internal/runtime/events/RuntimeEvent.java | 6 +- .../runtime/linker/AdaptationException.java | 2 +- .../runtime/linker/AdaptationResult.java | 6 +- .../internal/runtime/linker/Bootstrap.java | 26 +- .../runtime/linker/BoundCallable.java | 4 +- .../runtime/linker/BoundCallableLinker.java | 2 +- .../runtime/linker/BrowserJSObjectLinker.java | 20 +- .../runtime/linker/ClassAndLoader.java | 4 +- .../internal/runtime/linker/InvokeByName.java | 2 +- .../runtime/linker/JSObjectLinker.java | 20 +- .../linker/JavaAdapterBytecodeGenerator.java | 22 +- .../linker/JavaAdapterClassLoader.java | 18 +- .../runtime/linker/JavaAdapterFactory.java | 24 +- .../runtime/linker/JavaAdapterServices.java | 20 +- .../linker/JavaArgumentConverters.java | 16 +- .../runtime/linker/JavaSuperAdapter.java | 2 +- .../linker/JavaSuperAdapterLinker.java | 6 +- .../runtime/linker/LinkerCallSite.java | 14 +- .../internal/runtime/linker/NameCodec.java | 2 +- .../runtime/linker/NashornBeansLinker.java | 14 +- .../runtime/linker/NashornBottomLinker.java | 18 +- .../linker/NashornCallSiteDescriptor.java | 8 +- .../runtime/linker/NashornGuards.java | 20 +- .../runtime/linker/NashornLinker.java | 26 +- .../linker/NashornPrimitiveLinker.java | 14 +- .../linker/NashornStaticClassLinker.java | 6 +- .../runtime/linker/PrimitiveLookup.java | 20 +- .../runtime/linker/ReflectionCheckLinker.java | 10 +- .../internal/runtime/logging/DebugLogger.java | 14 +- .../internal/runtime/logging/Loggable.java | 4 +- .../internal/runtime/logging/Logger.java | 2 +- .../runtime/options/KeyValueOption.java | 2 +- .../runtime/options/LoggingOption.java | 2 +- .../internal/runtime/options/Option.java | 2 +- .../runtime/options/OptionTemplate.java | 4 +- .../internal/runtime/options/Options.java | 6 +- .../internal/runtime/regexp/JdkRegExp.java | 4 +- .../internal/runtime/regexp/JoniRegExp.java | 16 +- .../internal/runtime/regexp/RegExp.java | 10 +- .../runtime/regexp/RegExpFactory.java | 6 +- .../runtime/regexp/RegExpMatcher.java | 2 +- .../internal/runtime/regexp/RegExpResult.java | 2 +- .../runtime/regexp/RegExpScanner.java | 8 +- .../runtime/regexp/joni/Analyser.java | 54 +- .../runtime/regexp/joni/ApplyCaseFold.java | 4 +- .../runtime/regexp/joni/ApplyCaseFoldArg.java | 6 +- .../runtime/regexp/joni/ArrayCompiler.java | 42 +- .../internal/runtime/regexp/joni/BitSet.java | 2 +- .../runtime/regexp/joni/BitStatus.java | 2 +- .../runtime/regexp/joni/ByteCodeMachine.java | 30 +- .../runtime/regexp/joni/ByteCodePrinter.java | 12 +- .../runtime/regexp/joni/CodeRangeBuffer.java | 6 +- .../runtime/regexp/joni/Compiler.java | 28 +- .../internal/runtime/regexp/joni/Config.java | 2 +- .../runtime/regexp/joni/EncodingHelper.java | 6 +- .../internal/runtime/regexp/joni/Lexer.java | 24 +- .../internal/runtime/regexp/joni/Matcher.java | 8 +- .../runtime/regexp/joni/MatcherFactory.java | 2 +- .../runtime/regexp/joni/MinMaxLen.java | 2 +- .../runtime/regexp/joni/NodeOptInfo.java | 2 +- .../runtime/regexp/joni/OptAnchorInfo.java | 4 +- .../runtime/regexp/joni/OptEnvironment.java | 2 +- .../runtime/regexp/joni/OptExactInfo.java | 2 +- .../runtime/regexp/joni/OptMapInfo.java | 2 +- .../internal/runtime/regexp/joni/Option.java | 2 +- .../internal/runtime/regexp/joni/Parser.java | 50 +- .../internal/runtime/regexp/joni/Regex.java | 10 +- .../internal/runtime/regexp/joni/Region.java | 2 +- .../runtime/regexp/joni/ScanEnvironment.java | 10 +- .../runtime/regexp/joni/ScannerSupport.java | 6 +- .../runtime/regexp/joni/SearchAlgorithm.java | 2 +- .../runtime/regexp/joni/StackEntry.java | 2 +- .../runtime/regexp/joni/StackMachine.java | 6 +- .../internal/runtime/regexp/joni/Syntax.java | 6 +- .../internal/runtime/regexp/joni/Token.java | 4 +- .../runtime/regexp/joni/WarnCallback.java | 2 +- .../runtime/regexp/joni/Warnings.java | 2 +- .../runtime/regexp/joni/ast/AnchorNode.java | 4 +- .../runtime/regexp/joni/ast/AnyCharNode.java | 2 +- .../runtime/regexp/joni/ast/BackRefNode.java | 4 +- .../runtime/regexp/joni/ast/CClassNode.java | 32 +- .../runtime/regexp/joni/ast/ConsAltNode.java | 8 +- .../runtime/regexp/joni/ast/EncloseNode.java | 6 +- .../runtime/regexp/joni/ast/Node.java | 8 +- .../regexp/joni/ast/QuantifierNode.java | 24 +- .../runtime/regexp/joni/ast/StateNode.java | 4 +- .../runtime/regexp/joni/ast/StringNode.java | 6 +- .../regexp/joni/constants/AnchorType.java | 2 +- .../regexp/joni/constants/Arguments.java | 2 +- .../regexp/joni/constants/AsmConstants.java | 2 +- .../regexp/joni/constants/CCSTATE.java | 2 +- .../regexp/joni/constants/CCVALTYPE.java | 2 +- .../regexp/joni/constants/EncloseType.java | 2 +- .../regexp/joni/constants/MetaChar.java | 2 +- .../regexp/joni/constants/NodeStatus.java | 2 +- .../regexp/joni/constants/NodeType.java | 2 +- .../runtime/regexp/joni/constants/OPCode.java | 2 +- .../runtime/regexp/joni/constants/OPSize.java | 2 +- .../regexp/joni/constants/RegexState.java | 2 +- .../regexp/joni/constants/StackPopLevel.java | 2 +- .../regexp/joni/constants/StackType.java | 2 +- .../regexp/joni/constants/StringType.java | 2 +- .../joni/constants/SyntaxProperties.java | 2 +- .../regexp/joni/constants/TargetInfo.java | 2 +- .../regexp/joni/constants/TokenType.java | 2 +- .../regexp/joni/constants/Traverse.java | 2 +- .../regexp/joni/encoding/CharacterType.java | 2 +- .../regexp/joni/encoding/IntHolder.java | 2 +- .../runtime/regexp/joni/encoding/ObjPtr.java | 2 +- .../regexp/joni/exception/ErrorMessages.java | 2 +- .../joni/exception/InternalException.java | 2 +- .../regexp/joni/exception/JOniException.java | 2 +- .../joni/exception/SyntaxException.java | 2 +- .../regexp/joni/exception/ValueException.java | 2 +- .../internal/runtime/resources/parser.js | 2 +- .../openjdk/nashorn/internal/scripts/JD.java | 10 +- .../openjdk/nashorn/internal/scripts/JO.java | 10 +- .../openjdk/nashorn/internal/scripts/JS.java | 2 +- .../scripts/ModuleGraphManipulator.java | 6 +- .../openjdk/nashorn/tools/PartialParser.java | 4 +- .../org/openjdk/nashorn/tools/Shell.java | 52 +- .../openjdk/nashorn/tools/ShellFunctions.java | 12 +- src/sample/nashorn/BufferArray.java | 4 +- src/sample/nashorn/EvalWithArbitraryThis.java | 2 +- .../nashorn/breakcontinue_in_tryfinally.js | 4 +- src/sample/nashorn/engine/foreignobject.js | 2 +- src/sample/nashorn/evalcheck.js | 6 +- src/sample/nashorn/findproto.js | 4 +- src/sample/nashorn/findvardelete.js | 8 +- src/sample/nashorn/findwith.js | 4 +- src/sample/nashorn/flexijson.js | 2 +- src/sample/nashorn/jsobj_example.js | 2 +- src/sample/nashorn/jsobject.js | 2 +- src/sample/nashorn/nashornastviewer.js | 4 +- src/sample/nashorn/prettyprinter.js | 20 +- src/sample/nashorn/staticchecker.js | 12 +- src/sample/nashorn/withcheck.js | 2 +- .../scripts/jdk.scripting.nashorn-list.txt | 4 +- .../compiler/aot/scripts/test-nashorn.sh | 10 +- test/jdk/com/sun/jdi/NashornPopFrameTest.java | 8 +- test/nashorn/script/basic/JDK-8008198.js | 2 +- test/nashorn/script/basic/JDK-8008448.js | 4 +- test/nashorn/script/basic/JDK-8011362.js | 2 +- test/nashorn/script/basic/JDK-8013167.js | 2 +- test/nashorn/script/basic/JDK-8014426.js | 2 +- test/nashorn/script/basic/JDK-8017768.js | 8 +- test/nashorn/script/basic/JDK-8019814.js | 10 +- test/nashorn/script/basic/JDK-8020324.js | 2 +- test/nashorn/script/basic/JDK-8024847.js | 2 +- test/nashorn/script/basic/JDK-8025515.js | 2 +- test/nashorn/script/basic/JDK-8026125.js | 2 +- test/nashorn/script/basic/JDK-8026161.js | 4 +- test/nashorn/script/basic/JDK-8027753.js | 4 +- .../script/basic/JDK-8029364.js.EXPECTED | 2 +- .../script/basic/JDK-8035312.js.EXPECTED | 66 +- test/nashorn/script/basic/JDK-8043930.js | 2 +- .../script/basic/JDK-8043930.js.EXPECTED | 2 +- test/nashorn/script/basic/JDK-8044534.js | 2 +- test/nashorn/script/basic/JDK-8049086.js | 2 +- test/nashorn/script/basic/JDK-8056978.js | 2 +- test/nashorn/script/basic/JDK-8059443.js | 2 +- test/nashorn/script/basic/JDK-8062799.js | 2 +- test/nashorn/script/basic/JDK-8068573.js | 4 +- test/nashorn/script/basic/JDK-8068580.js | 4 +- test/nashorn/script/basic/JDK-8068903.js | 2 +- test/nashorn/script/basic/JDK-8072426.js | 2 +- test/nashorn/script/basic/JDK-8072596.js | 2 +- test/nashorn/script/basic/JDK-8075207.js | 8 +- test/nashorn/script/basic/JDK-8075448.js | 6 +- test/nashorn/script/basic/JDK-8075454.js | 2 +- test/nashorn/script/basic/JDK-8079145.js | 2 +- test/nashorn/script/basic/JDK-8129410.js | 2 +- test/nashorn/script/basic/JDK-8134939.js | 10 +- test/nashorn/script/basic/JDK-8137134.js | 2 +- test/nashorn/script/basic/JDK-8144020.js | 2 +- test/nashorn/script/basic/JDK-8157160.js | 2 +- test/nashorn/script/basic/JDK-8157680.js | 2 +- test/nashorn/script/basic/JDK-8158467.js | 6 +- .../script/basic/JDK-8158467.js.EXPECTED | 4 +- test/nashorn/script/basic/JDK-8161579.js | 2 +- test/nashorn/script/basic/JDK-8171849.js | 2 +- test/nashorn/script/basic/JDK-8172006.js | 2 +- test/nashorn/script/basic/JDK-8188098.js | 6 +- test/nashorn/script/basic/JDK-8195829.js | 4 +- test/nashorn/script/basic/NASHORN-401.js | 2 +- test/nashorn/script/basic/NASHORN-556.js | 2 +- test/nashorn/script/basic/consstring.js | 2 +- test/nashorn/script/basic/convert.js | 2 +- test/nashorn/script/basic/es6/JDK-8185257.js | 2 +- test/nashorn/script/basic/fileline.js | 2 +- test/nashorn/script/basic/javainnerclasses.js | 18 +- .../basic/optimistic_arithmetic_check_type.js | 2 +- .../basic/optimistic_assignment_check_type.js | 2 +- .../script/basic/optimistic_check_type.js | 2 +- .../basic/optimistic_logical_check_type.js | 2 +- .../script/currently-failing/clone_ir.js | 14 +- .../optimistic_check_type_cases.js | 2 +- test/nashorn/script/nosecurity/JDK-8044798.js | 18 +- test/nashorn/script/nosecurity/JDK-8044851.js | 4 +- test/nashorn/script/nosecurity/JDK-8060688.js | 2 +- test/nashorn/script/nosecurity/JDK-8067215.js | 8 +- test/nashorn/script/nosecurity/JDK-8078049.js | 6 +- test/nashorn/script/nosecurity/JDK-8165198.js | 2 +- test/nashorn/script/nosecurity/JDK-8184241.js | 2 +- test/nashorn/script/nosecurity/JDK-8185252.js | 6 +- .../nosecurity/context-dependent-logging.js | 4 +- .../script/nosecurity/debuggersupportapi.js | 6 +- .../nosecurity/debuggersupportapi.js.EXPECTED | 34 +- test/nashorn/script/nosecurity/logcoverage.js | 2 +- test/nashorn/script/nosecurity/parser-args.js | 2 +- test/nashorn/script/nosecurity/parser.js | 4 +- test/nashorn/script/nosecurity/parserapi.js | 8 +- .../script/nosecurity/parserapi.js.EXPECTED | 14938 ++++++++-------- .../nosecurity/parserapi_const_as_var.js | 2 +- .../script/nosecurity/parserapi_empty_stat.js | 4 +- .../script/nosecurity/parserapi_nse.js | 2 +- .../script/nosecurity/parserapi_scripting.js | 2 +- .../script/nosecurity/parserapi_strict.js | 2 +- .../script/nosecurity/parservisitor.js | 4 +- .../script/nosecurity/treeapi/utils.js | 8 +- test/nashorn/script/sandbox/interfaceimpl.js | 4 +- test/nashorn/script/sandbox/javaextend.js | 2 +- .../script/sandbox/javaextend.js.EXPECTED | 10 +- .../script/sandbox/nashorninternals.js | 40 +- test/nashorn/script/sandbox/unsafe.js | 2 +- test/nashorn/script/trusted/JDK-8006529.js | 36 +- test/nashorn/script/trusted/JDK-8008305.js | 2 +- test/nashorn/script/trusted/JDK-8021129.js | 2 +- test/nashorn/script/trusted/JDK-8021189.js | 2 +- .../script/trusted/JDK-8021189.js.EXPECTED | 2 +- test/nashorn/script/trusted/JDK-8200215.js | 2 +- test/nashorn/script/trusted/NASHORN-638.js | 2 +- test/nashorn/script/trusted/NASHORN-653.js | 2 +- test/nashorn/script/trusted/classfilter.js | 2 +- .../script/trusted/classfilter_extends.js | 2 +- .../trusted/classfilter_extends.js.EXPECTED | 6 +- .../trusted/classfilter_mozilla_compat.js | 2 +- .../classfilter_mozilla_compat.js.EXPECTED | 6 +- test/nashorn/script/trusted/event_queue.js | 6 +- .../script/trusted/event_queue.js.EXPECTED | 28 +- .../trusted/optimistic_recompilation.js | 8 +- test/nashorn/script/trusted/urlreader.js | 4 +- .../src/META-INF/services/java.sql.Driver | 2 +- .../beans/test/CallerSensitiveTest.java | 2 +- .../test/DynamicLinkerFactoryTest.java | 2 +- .../javaaccess/test/ArrayConversionTest.java | 4 +- .../javaaccess/test/BooleanAccessTest.java | 8 +- .../api/javaaccess/test/ConsStringTest.java | 6 +- .../api/javaaccess/test/MethodAccessTest.java | 14 +- .../api/javaaccess/test/NumberAccessTest.java | 8 +- .../api/javaaccess/test/NumberBoxingTest.java | 8 +- .../api/javaaccess/test/ObjectAccessTest.java | 18 +- .../nashorn/api/javaaccess/test/Person.java | 2 +- .../api/javaaccess/test/SharedObject.java | 2 +- .../api/javaaccess/test/StringAccessTest.java | 8 +- .../api/scripting/test/InvocableTest.java | 6 +- .../api/scripting/test/JDK_8068741_Test.java | 6 +- .../api/scripting/test/JDK_8148140_Test.java | 4 +- .../api/scripting/test/JDK_8169050_Test.java | 2 +- .../api/scripting/test/JDK_8182996_Test.java | 2 +- .../scripting/test/JSONCompatibleTest.java | 10 +- .../scripting/test/MultipleEngineTest.java | 4 +- .../scripting/test/PluggableJSObjectTest.java | 10 +- .../nashorn/api/scripting/test/ScopeTest.java | 10 +- .../test/ScriptEngineSecurityTest.java | 8 +- .../api/scripting/test/ScriptEngineTest.java | 10 +- .../test/ScriptObjectMirrorTest.java | 14 +- .../test/VariableArityTestInterface.java | 2 +- .../nashorn/api/scripting/test/Window.java | 6 +- .../scripting/test/WindowEventHandler.java | 2 +- .../api/scripting/test/resources/func.js | 2 +- .../scripting/test/resources/gettersetter.js | 2 +- .../api/scripting/test/resources/witheval.js | 2 +- .../nashorn/api/test/NashornSQLDriver.java | 2 +- .../api/tree/test/JDK_8188098_Test.java | 8 +- .../api/tree/test/JDK_8193296_Test.java | 16 +- .../nashorn/api/tree/test/ParseAPITest.java | 12 +- .../internal/codegen/test/CompilerTest.java | 18 +- .../internal/parser/test/ParserTest.java | 16 +- .../internal/performance/AuroraWrapper.java | 2 +- .../internal/performance/OctaneTest.java | 2 +- .../performance/PerformanceWrapper.java | 14 +- .../internal/performance/SplayTest.java | 2 +- .../doubleconv/test/BignumDtoaTest.java | 8 +- .../runtime/doubleconv/test/BignumTest.java | 8 +- .../runtime/doubleconv/test/DiyFpTest.java | 8 +- .../runtime/doubleconv/test/FastDtoaTest.java | 6 +- .../doubleconv/test/FixedDtoaTest.java | 6 +- .../doubleconv/test/IeeeDoubleTest.java | 10 +- .../runtime/linker/test/JDK_8184723_Test.java | 14 +- .../runtime/linker/test/JavaAdapterTest.java | 16 +- .../runtime/linker/test/NameCodecTest.java | 6 +- .../runtime/regexp/joni/test/JoniTest.java | 8 +- .../runtime/regexp/test/JdkRegExpTest.java | 12 +- ...AdapterOutsideOfJavaScriptContextTest.java | 4 +- .../runtime/test/ClassFilterTest.java | 10 +- .../runtime/test/CodeStoreAndPathTest.java | 6 +- .../internal/runtime/test/ConsStringTest.java | 8 +- .../internal/runtime/test/ContextTest.java | 28 +- .../test/ExceptionsNotSerializable.java | 12 +- .../runtime/test/JDK_8078414_Test.java | 30 +- .../runtime/test/JDK_8081015_Test.java | 6 +- .../runtime/test/JDK_8142924_Test.java | 6 +- .../runtime/test/JDK_8186807_Test.java | 14 +- .../internal/runtime/test/JSTypeTest.java | 10 +- .../runtime/test/LexicalBindingTest.java | 6 +- .../test/NoPersistenceCachingTest.java | 6 +- .../runtime/test/PropertyMapTest.java | 10 +- .../internal/runtime/test/SourceTest.java | 8 +- .../runtime/test/TrustedScriptEngineTest.java | 8 +- .../test/nashorn/JDK_8187362_Test.java | 10 +- .../framework/AbstractScriptRunnable.java | 20 +- .../test/framework/JSJUnitReportReporter.java | 2 +- .../test/framework/OrphanTestFinder.java | 2 +- .../test/framework/ParallelTestRunner.java | 18 +- .../test/framework/ScriptEvaluator.java | 2 +- .../test/framework/ScriptRunnable.java | 4 +- .../internal/test/framework/ScriptTest.java | 6 +- .../framework/SeparateContextEvaluator.java | 4 +- .../framework/SharedContextEvaluator.java | 24 +- .../internal/test/framework/TestConfig.java | 2 +- .../internal/test/framework/TestFinder.java | 40 +- .../internal/test/framework/TestHelper.java | 2 +- .../framework/TestReorderInterceptor.java | 2 +- .../test/models/InternalRunnable.java | 2 +- .../test/models/RestrictedRunnable.java | 2 +- .../src/jdk/nashorn/test/models/A.java | 2 +- .../models/ArrayConversionPreferences.java | 2 +- .../src/jdk/nashorn/test/models/B.java | 2 +- .../jdk/nashorn/test/models/BigAbstract.java | 2 +- .../nashorn/test/models/ClassLoaderAware.java | 2 +- .../test/models/ClassWithFinalFinalizer.java | 2 +- .../ClassWithInheritedFinalFinalizer.java | 2 +- .../test/models/ConstructorWithArgument.java | 2 +- .../nashorn/test/models/DessertTopping.java | 2 +- .../models/DessertToppingFloorWaxDriver.java | 2 +- .../jdk/nashorn/test/models/FinalClass.java | 2 +- .../src/jdk/nashorn/test/models/FloorWax.java | 2 +- .../models/FunctionalInterfaceProvider.java | 4 +- .../models/IntFloatOverloadSelection.java | 2 +- .../models/InternalRunnableSuperclass.java | 4 +- .../test/models/JDK_8081015_TestModel.java | 2 +- .../nashorn/test/models/JDK_8184241Test.java | 2 +- .../test/models/Jdk8011362TestSubject.java | 2 +- .../test/models/Jdk8072596TestSubject.java | 6 +- .../jdk/nashorn/test/models/LongProvider.java | 2 +- .../test/models/Nashorn401TestSubject.java | 2 +- .../models/NoAccessibleConstructorClass.java | 2 +- .../nashorn/test/models/NonPublicClass.java | 2 +- .../jdk/nashorn/test/models/NullProvider.java | 2 +- .../jdk/nashorn/test/models/OuterClass.java | 2 +- .../nashorn/test/models/OverloadedSam.java | 2 +- .../nashorn/test/models/OverloadedSetter.java | 2 +- .../nashorn/test/models/OverrideObject.java | 2 +- .../jdk/nashorn/test/models/PropertyBind.java | 2 +- .../jdk/nashorn/test/models/Reflector.java | 4 +- .../jdk/nashorn/test/models/SourceHelper.java | 4 +- .../jdk/nashorn/test/models/StringArgs.java | 2 +- .../jdk/nashorn/test/models/Toothpaste.java | 2 +- .../test/models/VarArgConstructor.java | 2 +- .../nashorn/test/models/VarArgConsumer.java | 2 +- .../test/nashorn/models/ES6ASTVisitor.java | 6 +- .../test/tools/StaticTypeInspector.java | 4 +- 869 files changed, 12029 insertions(+), 12029 deletions(-) diff --git a/bin/nashorn/runopt.sh b/bin/nashorn/runopt.sh index bc9909572..c20c0386c 100644 --- a/bin/nashorn/runopt.sh +++ b/bin/nashorn/runopt.sh @@ -130,6 +130,6 @@ $PRINT_ASM_FLAGS \ -Xms2G -Xmx2G \ -XX:TypeProfileLevel=222 \ -cp $CLASSPATH:../build/test/classes/ \ -jdk.nashorn.tools.Shell $ENABLE_TIME_FLAGS ${@} +org.openjdk.nashorn.tools.Shell $ENABLE_TIME_FLAGS ${@} diff --git a/doc/nashorn/DEVELOPER_README b/doc/nashorn/DEVELOPER_README index 78f508234..039c7595d 100644 --- a/doc/nashorn/DEVELOPER_README +++ b/doc/nashorn/DEVELOPER_README @@ -344,7 +344,7 @@ For example: --log=codegen,fields:finest is equivalent to The following is an incomplete list of subsystems that currently support logging. Look for classes implementing -jdk.nashorn.internal.runtime.logging.Loggable for more loggers. +org.openjdk.nashorn.internal.runtime.logging.Loggable for more loggers. * compiler diff --git a/make/CompileJavaModulesNashorn.gmk b/make/CompileJavaModulesNashorn.gmk index cc09a88b3..c8a6f5cf6 100644 --- a/make/CompileJavaModulesNashorn.gmk +++ b/make/CompileJavaModulesNashorn.gmk @@ -43,12 +43,12 @@ NASGEN_OPTIONS := \ --add-exports java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED \ # -# Run nasgen to modify classes in jdk.nashorn.internal.objects package +# Run nasgen to modify classes in org.openjdk.nashorn.internal.objects package $(NASGEN_RUN_FILE): $(BUILD_NASGEN) $($(MODULE)) $(ECHO) Running nasgen $(JAVA_SMALL) $(NASGEN_OPTIONS) \ - jdk.nashorn.internal.tools.nasgen.Main $(@D) \ - jdk.nashorn.internal.objects $(@D) + org.openjdk.nashorn.internal.tools.nasgen.Main $(@D) \ + org.openjdk.nashorn.internal.objects $(@D) $(TOUCH) $@ TARGETS += $(NASGEN_RUN_FILE) diff --git a/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk b/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk index 82311e69f..1abae983c 100644 --- a/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk +++ b/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk @@ -26,7 +26,7 @@ include LauncherCommon.gmk $(eval $(call SetupBuildLauncher, jjs, \ - MAIN_CLASS := jdk.nashorn.tools.jjs.Main, \ + MAIN_CLASS := org.openjdk.nashorn.tools.jjs.Main, \ JAVA_ARGS := --add-modules ALL-DEFAULT, \ CFLAGS := -DENABLE_ARG_FILES, \ )) diff --git a/make/nashorn/build-benchmark.xml b/make/nashorn/build-benchmark.xml index 84f48518e..4cc4cec1d 100644 --- a/make/nashorn/build-benchmark.xml +++ b/make/nashorn/build-benchmark.xml @@ -219,7 +219,7 @@ - diff --git a/make/nashorn/build-nasgen.xml b/make/nashorn/build-nasgen.xml index 4bd18d422..2a73fa4c1 100644 --- a/make/nashorn/build-nasgen.xml +++ b/make/nashorn/build-nasgen.xml @@ -38,7 +38,7 @@ - + @@ -46,13 +46,13 @@ - + - + diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index b6a242229..c87e2c13b 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -392,7 +392,7 @@ package.access=sun.misc.,\ sun.reflect.,\ - jdk.nashorn.internal. + org.openjdk.nashorn.internal. diff --git a/make/nashorn/buildtools/nasgen/src/META-INF/MANIFEST.MF b/make/nashorn/buildtools/nasgen/src/META-INF/MANIFEST.MF index b70986369..3d81ec8e4 100644 --- a/make/nashorn/buildtools/nasgen/src/META-INF/MANIFEST.MF +++ b/make/nashorn/buildtools/nasgen/src/META-INF/MANIFEST.MF @@ -1,4 +1,4 @@ Manifest-Version: 1.0 Class-Path: lib/ant-1.7.1.jar -Main-Class: jdk.nashorn.internal.tools.nasgen.Main +Main-Class: org.openjdk.nashorn.internal.tools.nasgen.Main diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java index 98a11d984..696159024 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PRIVATE; @@ -31,42 +31,42 @@ import static jdk.internal.org.objectweb.asm.Opcodes.ACC_STATIC; import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKESTATIC; import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKEVIRTUAL; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.ACCESSORPROPERTY_CREATE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.ACCESSORPROPERTY_CREATE_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.ACCESSORPROPERTY_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.ARRAYLIST_INIT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.ARRAYLIST_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.CLINIT; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTIONS_EMPTY_LIST; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTIONS_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTION_ADD; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTION_ADD_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTION_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.GETTER_PREFIX; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.GET_CLASS_NAME; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.GET_CLASS_NAME_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.INIT; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.LIST_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.NATIVESYMBOL_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_FIELD_NAME; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_NEWMAP; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_NEWMAP_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_CREATEBUILTIN; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_CREATEBUILTIN_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_CREATEBUILTIN_SPECS_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETARITY; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETARITY_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETDOCUMENTATIONKEY; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETDOCUMENTATIONKEY_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SETTER_PREFIX; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SYMBOL_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SYMBOL_PREFIX; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.TYPE_OBJECT; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.ACCESSORPROPERTY_CREATE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.ACCESSORPROPERTY_CREATE_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.ACCESSORPROPERTY_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.ARRAYLIST_INIT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.ARRAYLIST_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.CLINIT; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTIONS_EMPTY_LIST; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTIONS_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTION_ADD; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTION_ADD_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.COLLECTION_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.GETTER_PREFIX; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.GET_CLASS_NAME; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.GET_CLASS_NAME_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.INIT; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.LIST_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.NATIVESYMBOL_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_FIELD_NAME; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_NEWMAP; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_NEWMAP_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_CREATEBUILTIN; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_CREATEBUILTIN_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_CREATEBUILTIN_SPECS_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETARITY; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETARITY_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETDOCUMENTATIONKEY; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETDOCUMENTATIONKEY_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SETTER_PREFIX; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SYMBOL_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SYMBOL_PREFIX; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.TYPE_OBJECT; import java.io.BufferedInputStream; import java.io.FileInputStream; @@ -79,7 +79,7 @@ import jdk.internal.org.objectweb.asm.Handle; import jdk.internal.org.objectweb.asm.MethodVisitor; import jdk.internal.org.objectweb.asm.Type; -import jdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; +import org.openjdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; /** * Base class for class generator classes. diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java index 1fa76ce98..52a344491 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java @@ -23,32 +23,32 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC; import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKESTATIC; import static jdk.internal.org.objectweb.asm.Opcodes.V1_7; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.CONSTRUCTOR_SUFFIX; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.INIT; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_FIELD_NAME; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPEOBJECT_SETCONSTRUCTOR; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPEOBJECT_SETCONSTRUCTOR_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPEOBJECT_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_INIT_DESC3; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_INIT_DESC4; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETARITY; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETARITY_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETDOCUMENTATIONKEY; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETDOCUMENTATIONKEY_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETPROTOTYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETPROTOTYPE_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTOBJECT_INIT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTOBJECT_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.CONSTRUCTOR_SUFFIX; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.INIT; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_FIELD_NAME; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPEOBJECT_SETCONSTRUCTOR; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPEOBJECT_SETCONSTRUCTOR_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPEOBJECT_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_INIT_DESC3; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_INIT_DESC4; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETARITY; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETARITY_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETDOCUMENTATIONKEY; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETDOCUMENTATIONKEY_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETPROTOTYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_SETPROTOTYPE_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTFUNCTION_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTOBJECT_INIT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTOBJECT_TYPE; import java.io.FileOutputStream; import java.io.IOException; diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java index 90dbcc484..b0b610740 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; import java.io.File; import java.io.FileInputStream; diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java index c5cb0b5de..51ee3f3ea 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java @@ -22,22 +22,22 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_ARRAY_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.OBJ_PKG; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.RUNTIME_PKG; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTS_PKG; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.STRING_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.TYPE_SYMBOL; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_ARRAY_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJ_PKG; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.RUNTIME_PKG; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTS_PKG; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.STRING_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.TYPE_SYMBOL; import jdk.internal.org.objectweb.asm.Opcodes; import jdk.internal.org.objectweb.asm.Type; /** * Details about a Java method or field annotated with any of the field/method - * annotations from the jdk.nashorn.internal.objects.annotations package. + * annotations from the org.openjdk.nashorn.internal.objects.annotations package. */ public final class MemberInfo implements Cloneable { // class loader of this class @@ -78,7 +78,7 @@ public static enum Kind { SPECIALIZED_FUNCTION, } - // keep in sync with jdk.nashorn.internal.objects.annotations.Attribute + // keep in sync with org.openjdk.nashorn.internal.objects.annotations.Attribute static final int DEFAULT_ATTRIBUTES = 0x0; static final int DEFAULT_ARITY = -2; diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java index e69f03644..22d0f5bf3 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; import static jdk.internal.org.objectweb.asm.Opcodes.AALOAD; import static jdk.internal.org.objectweb.asm.Opcodes.AASTORE; @@ -76,12 +76,12 @@ import static jdk.internal.org.objectweb.asm.Opcodes.SASTORE; import static jdk.internal.org.objectweb.asm.Opcodes.SIPUSH; import static jdk.internal.org.objectweb.asm.Opcodes.SWAP; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.INIT; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.OBJ_ANNO_PKG; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SPECIALIZATION_INIT2; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SPECIALIZATION_INIT3; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SPECIALIZATION_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.TYPE_SPECIALIZATION; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.INIT; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJ_ANNO_PKG; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SPECIALIZATION_INIT2; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SPECIALIZATION_INIT3; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SPECIALIZATION_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.TYPE_SPECIALIZATION; import java.util.List; import jdk.internal.org.objectweb.asm.Handle; import jdk.internal.org.objectweb.asm.MethodVisitor; diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java index 10d7f3f03..195f08f91 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; import jdk.internal.org.objectweb.asm.AnnotationVisitor; import jdk.internal.org.objectweb.asm.ClassVisitor; diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java index bcd543e8a..15ebde5d5 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java @@ -23,20 +23,20 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_SUPER; import static jdk.internal.org.objectweb.asm.Opcodes.V1_7; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.INIT; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_FIELD_NAME; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPEOBJECT_TYPE; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPE_SUFFIX; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTOBJECT_INIT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.INIT; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROPERTYMAP_FIELD_NAME; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPEOBJECT_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.PROTOTYPE_SUFFIX; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTOBJECT_INIT_DESC; import java.io.FileOutputStream; import java.io.IOException; diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java index 85582232a..fcaa3c871 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; import java.util.Collections; import java.util.HashMap; @@ -31,10 +31,10 @@ import java.util.List; import java.util.Map; import jdk.internal.org.objectweb.asm.Type; -import jdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; +import org.openjdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.OBJ_ANNO_PKG; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.RUNTIME_PKG; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJ_ANNO_PKG; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.RUNTIME_PKG; /** * All annotation information from a class that is annotated with diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java index a39204d3b..40c351f69 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; -import static jdk.nashorn.internal.tools.nasgen.ScriptClassInfo.SCRIPT_CLASS_ANNO_DESC; -import static jdk.nashorn.internal.tools.nasgen.ScriptClassInfo.WHERE_ENUM_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.ScriptClassInfo.SCRIPT_CLASS_ANNO_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.ScriptClassInfo.WHERE_ENUM_DESC; import java.io.BufferedInputStream; import java.io.FileInputStream; import java.io.IOException; @@ -41,7 +41,7 @@ import jdk.internal.org.objectweb.asm.MethodVisitor; import jdk.internal.org.objectweb.asm.Opcodes; import jdk.internal.org.objectweb.asm.Type; -import jdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; +import org.openjdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; /** * This class collects all @ScriptClass and other annotation information from a diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java index 4bdb35867..2a875c26e 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; import static jdk.internal.org.objectweb.asm.Opcodes.ALOAD; import static jdk.internal.org.objectweb.asm.Opcodes.DUP; @@ -32,12 +32,12 @@ import static jdk.internal.org.objectweb.asm.Opcodes.NEW; import static jdk.internal.org.objectweb.asm.Opcodes.PUTFIELD; import static jdk.internal.org.objectweb.asm.Opcodes.RETURN; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.$CLINIT$; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.CLINIT; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.INIT; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; -import static jdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTOBJECT_TYPE; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.$CLINIT$; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.CLINIT; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.INIT; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; +import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SCRIPTOBJECT_TYPE; import java.io.BufferedInputStream; import java.io.FileInputStream; import java.io.FileOutputStream; @@ -50,14 +50,14 @@ import jdk.internal.org.objectweb.asm.FieldVisitor; import jdk.internal.org.objectweb.asm.MethodVisitor; import jdk.internal.org.objectweb.asm.util.CheckClassAdapter; -import jdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; +import org.openjdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; /** * This class instruments the java class annotated with @ScriptClass. * * Changes done are: * - * 1) remove all jdk.nashorn.internal.objects.annotations.* annotations. + * 1) remove all org.openjdk.nashorn.internal.objects.annotations.* annotations. * 2) static final @Property fields stay here. Other @Property fields moved to * respective classes depending on 'where' value of annotation. * 2) add "Map" type static field named "$map". diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java index 2dc560af9..360c9abdf 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; import java.lang.invoke.MethodHandle; import java.util.ArrayList; diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Where.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Where.java index daaa2bc34..abbb1e93c 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Where.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Where.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.tools.nasgen; +package org.openjdk.nashorn.internal.tools.nasgen; /** * Enum to tell where a Function or Property belongs. - * Note: keep this in sync. with jdk.nashorn.internal.objects.annotations.Where. + * Note: keep this in sync. with org.openjdk.nashorn.internal.objects.annotations.Where. */ public enum Where { /** this means that the item belongs in the Constructor of an object */ diff --git a/make/nashorn/buildtools/nashorntask/src/jdk/nashorn/ant/NashornTask.java b/make/nashorn/buildtools/nashorntask/src/jdk/nashorn/ant/NashornTask.java index c417f731d..e0e610ddd 100644 --- a/make/nashorn/buildtools/nashorntask/src/jdk/nashorn/ant/NashornTask.java +++ b/make/nashorn/buildtools/nashorntask/src/jdk/nashorn/ant/NashornTask.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.ant; +package org.openjdk.nashorn.ant; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; diff --git a/make/nashorn/element-list b/make/nashorn/element-list index 34e6381e8..2019f5d1f 100644 --- a/make/nashorn/element-list +++ b/make/nashorn/element-list @@ -262,8 +262,8 @@ jdk.net jdk.nio module:jdk.rmic module:org.openjdk.nashorn -jdk.nashorn.api.scripting -jdk.nashorn.api.tree +org.openjdk.nashorn.api.scripting +org.openjdk.nashorn.api.tree module:jdk.sctp com.sun.nio.sctp module:jdk.security.auth diff --git a/make/nashorn/nbproject/ide-targets.xml b/make/nashorn/nbproject/ide-targets.xml index 503f89a18..767133750 100644 --- a/make/nashorn/nbproject/ide-targets.xml +++ b/make/nashorn/nbproject/ide-targets.xml @@ -30,7 +30,7 @@ - + diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index 2442640c1..4b998a538 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -65,17 +65,17 @@ nashorntask.dir=${nashorn.make.dir}/buildtools/nashorntask nashorntask.dist.dir=${build.dir}/nashorntask/dist # nashorn Shell tool -nashorn.shell.tool=jdk.nashorn.tools.Shell +nashorn.shell.tool=org.openjdk.nashorn.tools.Shell # nasgen tool -nasgen.tool=jdk.nashorn.internal.tools.nasgen.Main +nasgen.tool=org.openjdk.nashorn.internal.tools.nasgen.Main nasgen.module.imports=\ --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \ --add-exports java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED # parallel test runner tool -parallel.test.runner=jdk.nashorn.internal.test.framework.ParallelTestRunner +parallel.test.runner=org.openjdk.nashorn.internal.test.framework.ParallelTestRunner # test classes directory build.test.classes.dir=${build.dir}/test/classes @@ -136,7 +136,7 @@ testng.listeners=\ org.testng.reporters.FailedReporter, \ org.testng.reporters.XMLReporter \ org.testng.reporters.EmailableReporter, \ - jdk.nashorn.internal.test.framework.JSJUnitReportReporter + org.openjdk.nashorn.internal.test.framework.JSJUnitReportReporter javac.debug=true javac.encoding=ascii @@ -148,24 +148,24 @@ javac.test.classpath=\ ${file.reference.snakeyaml.jar} test.module.imports.compile.time=\ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.ir=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.codegen=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.parser=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.objects=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.linker=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.events=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.options=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.regexp=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.internal.runtime.regexp.joni=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/jdk.nashorn.tools=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.ir=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.codegen=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.parser=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.objects=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.doubleconv=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.linker=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.events=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.options=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp.joni=ALL-UNNAMED \ + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.tools=ALL-UNNAMED \ --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED test.module.imports.runtime=\ ${test.module.imports.compile.time} \ - --add-opens org.openjdk.nashorn/jdk.nashorn.internal.runtime=ALL-UNNAMED \ - --add-opens org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv=ALL-UNNAMED + --add-opens org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime=ALL-UNNAMED \ + --add-opens org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.doubleconv=ALL-UNNAMED meta.inf.dir=${nashorn.module.src.dir}/META-INF diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Console.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Console.java index 3a67c554a..cb43e3a2c 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Console.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Console.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; import java.io.File; import java.io.IOException; diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/EditObject.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/EditObject.java index 18640879c..80e83f32d 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/EditObject.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/EditObject.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.function.Consumer; import java.util.ServiceLoader; -import jdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; import jdk.internal.editor.spi.BuildInEditorProvider; -import jdk.nashorn.internal.runtime.JSType; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import org.openjdk.nashorn.internal.runtime.JSType; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; /* * "edit" top level script function which shows an external Window diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/ExternalEditor.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/ExternalEditor.java index c046a350a..baae4165b 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/ExternalEditor.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/ExternalEditor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; import java.io.IOException; import java.nio.charset.Charset; diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/HistoryObject.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/HistoryObject.java index 149e5883b..fc9d6ca03 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/HistoryObject.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/HistoryObject.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; import java.io.BufferedReader; import java.io.File; @@ -39,11 +39,11 @@ import java.util.function.Supplier; import jdk.internal.org.jline.reader.History; -import jdk.nashorn.api.scripting.AbstractJSObject; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.internal.runtime.JSType; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.internal.runtime.JSType; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; /* * A script friendly object that exposes history of commands to scripts. diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JavacPackagesHelper.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JavacPackagesHelper.java index d5a22dffe..171744359 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JavacPackagesHelper.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JavacPackagesHelper.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; import java.io.IOException; import java.io.File; @@ -40,7 +40,7 @@ import javax.tools.StandardJavaFileManager; import javax.tools.StandardLocation; import javax.tools.ToolProvider; -import jdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Context; /** * A javac package helper that uses javac to complete package names. diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JrtPackagesHelper.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JrtPackagesHelper.java index 4a7e3fd2e..8067b9e54 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JrtPackagesHelper.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/JrtPackagesHelper.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; import java.io.IOException; import java.net.URI; @@ -34,7 +34,7 @@ import java.nio.file.Path; import java.util.HashSet; import java.util.Set; -import jdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Context; /** * A java packages helper that uses jrt file system. diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Main.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Main.java index 21e1bfe7f..e32c04c12 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Main.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/Main.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.io.File; import java.io.InputStream; @@ -39,18 +39,18 @@ import java.util.function.Consumer; import jdk.internal.org.jline.reader.UserInterruptException; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.objects.NativeJava; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.NativeJavaPackage; -import jdk.nashorn.internal.runtime.Property; -import jdk.nashorn.internal.runtime.ScriptEnvironment; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptingFunctions; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.tools.Shell; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.objects.NativeJava; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.NativeJavaPackage; +import org.openjdk.nashorn.internal.runtime.Property; +import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptingFunctions; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.tools.Shell; /** * Interactive command line Shell for Nashorn. diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/NashornCompleter.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/NashornCompleter.java index 7f0db6633..ea87fe0fd 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/NashornCompleter.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/NashornCompleter.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; import java.io.File; import java.io.PrintWriter; @@ -37,31 +37,31 @@ import jdk.internal.org.jline.reader.LineReader; import jdk.internal.org.jline.reader.ParsedLine; import jdk.internal.org.jline.reader.UserInterruptException; -import jdk.nashorn.api.tree.AssignmentTree; -import jdk.nashorn.api.tree.BinaryTree; -import jdk.nashorn.api.tree.CompilationUnitTree; -import jdk.nashorn.api.tree.CompoundAssignmentTree; -import jdk.nashorn.api.tree.ConditionalExpressionTree; -import jdk.nashorn.api.tree.ExpressionTree; -import jdk.nashorn.api.tree.ExpressionStatementTree; -import jdk.nashorn.api.tree.FunctionCallTree; -import jdk.nashorn.api.tree.IdentifierTree; -import jdk.nashorn.api.tree.InstanceOfTree; -import jdk.nashorn.api.tree.MemberSelectTree; -import jdk.nashorn.api.tree.NewTree; -import jdk.nashorn.api.tree.SimpleTreeVisitorES5_1; -import jdk.nashorn.api.tree.Tree; -import jdk.nashorn.api.tree.UnaryTree; -import jdk.nashorn.api.tree.Parser; -import jdk.nashorn.api.scripting.NashornException; -import jdk.nashorn.tools.PartialParser; -import jdk.nashorn.internal.objects.NativeSyntaxError; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.ECMAException; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ScriptEnvironment; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.api.tree.AssignmentTree; +import org.openjdk.nashorn.api.tree.BinaryTree; +import org.openjdk.nashorn.api.tree.CompilationUnitTree; +import org.openjdk.nashorn.api.tree.CompoundAssignmentTree; +import org.openjdk.nashorn.api.tree.ConditionalExpressionTree; +import org.openjdk.nashorn.api.tree.ExpressionTree; +import org.openjdk.nashorn.api.tree.ExpressionStatementTree; +import org.openjdk.nashorn.api.tree.FunctionCallTree; +import org.openjdk.nashorn.api.tree.IdentifierTree; +import org.openjdk.nashorn.api.tree.InstanceOfTree; +import org.openjdk.nashorn.api.tree.MemberSelectTree; +import org.openjdk.nashorn.api.tree.NewTree; +import org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1; +import org.openjdk.nashorn.api.tree.Tree; +import org.openjdk.nashorn.api.tree.UnaryTree; +import org.openjdk.nashorn.api.tree.Parser; +import org.openjdk.nashorn.api.scripting.NashornException; +import org.openjdk.nashorn.tools.PartialParser; +import org.openjdk.nashorn.internal.objects.NativeSyntaxError; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.ECMAException; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * A simple source completer for nashorn. Handles code completion for diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PackagesHelper.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PackagesHelper.java index f14e97db1..5601b36b8 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PackagesHelper.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PackagesHelper.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; import java.lang.reflect.Modifier; import java.io.IOException; @@ -33,7 +33,7 @@ import java.util.List; import java.util.Map; import java.util.Set; -import jdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Context; /** * Abstract helper class to compute properties of a Java package object. Properties of diff --git a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PropertiesHelper.java b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PropertiesHelper.java index bc95844bb..f95b6ee8b 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PropertiesHelper.java +++ b/src/org.openjdk.nashorn.shell/share/classes/org/openjdk/nashorn/tools/jjs/PropertiesHelper.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.tools.jjs; +package org.openjdk.nashorn.tools.jjs; import java.io.IOException; import java.util.ArrayList; @@ -33,13 +33,13 @@ import java.util.WeakHashMap; import java.util.regex.Pattern; import java.util.stream.Collectors; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.NativeJavaPackage; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.objects.NativeJava; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.NativeJavaPackage; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.objects.NativeJava; /* * A helper class to get properties of a given object for source code completion. diff --git a/src/org.openjdk.nashorn/share/classes/module-info.java b/src/org.openjdk.nashorn/share/classes/module-info.java index 13f022d5f..9852adf51 100644 --- a/src/org.openjdk.nashorn/share/classes/module-info.java +++ b/src/org.openjdk.nashorn/share/classes/module-info.java @@ -44,7 +44,7 @@ * * and then use it just as you would any other JSR-223 script engine. See - * {@link jdk.nashorn.api.scripting} package for details. + * {@link org.openjdk.nashorn.api.scripting} package for details. *

Compatibility

* Nashorn is 100% compliant with the * Nashorn script engines implement the optional {@link javax.script.Invocable} and {@link javax.script.Compilable} * interfaces, allowing for efficient pre-compilation and repeated execution of scripts. In addition, * this package provides nashorn specific extension classes, interfaces and methods. See - * {@link jdk.nashorn.api.scripting.NashornScriptEngineFactory} for further details. + * {@link org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory} for further details. * * @since 1.8u40 */ -package jdk.nashorn.api.scripting; +package org.openjdk.nashorn.api.scripting; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTree.java index 4fda2dc91..efb697947 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for an array access expression. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTreeImpl.java index 820c1fb39..815e7e4de 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayAccessTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.Expression; final class ArrayAccessTreeImpl extends ExpressionTreeImpl implements ArrayAccessTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTree.java index f6ed2211f..f8a8559c7 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTreeImpl.java index e69032450..5e8025317 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ArrayLiteralTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.LiteralNode; final class ArrayLiteralTreeImpl extends ExpressionTreeImpl implements ArrayLiteralTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTree.java index 5999cc71a..5c4d9865b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for an assignment expression. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTreeImpl.java index 94ef39962..2c852c39d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/AssignmentTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; final class AssignmentTreeImpl extends ExpressionTreeImpl implements AssignmentTree { private final Tree.Kind kind; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTree.java index ecc807277..989fb08ed 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a binary expression. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTreeImpl.java index cad9db2ac..c2c159965 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BinaryTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; class BinaryTreeImpl extends ExpressionTreeImpl implements BinaryTree { private final Tree.Kind kind; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTree.java index afb7f1cd0..0c6dad8a4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTreeImpl.java index c74a0eaa0..8fbd9e58e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BlockTreeImpl.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.BlockStatement; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.BlockStatement; final class BlockTreeImpl extends StatementTreeImpl implements BlockTree { private final List statements; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTree.java index 81d606778..1d0c6a7d2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a 'break' statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTreeImpl.java index b2b5ce4cc..0281e3641 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/BreakTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.BreakNode; +import org.openjdk.nashorn.internal.ir.BreakNode; final class BreakTreeImpl extends StatementTreeImpl implements BreakTree { private final String label; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTree.java index b01d1984b..54552b87c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTreeImpl.java index 4f12f413e..128e76bf3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CaseTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.CaseNode; +import org.openjdk.nashorn.internal.ir.CaseNode; final class CaseTreeImpl extends TreeImpl implements CaseTree { private final ExpressionTree expression; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTree.java index 25b4b710a..dbdb3a2b2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a 'catch' block in a 'try' statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTreeImpl.java index f392d59ad..2cde09e24 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CatchTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.CatchNode; +import org.openjdk.nashorn.internal.ir.CatchNode; final class CatchTreeImpl extends TreeImpl implements CatchTree { private final ExpressionTree param; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTree.java index 0eb98cfe9..31c3729b8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTree.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTreeImpl.java index 824f67748..fcddbed0e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassDeclarationTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.VarNode; final class ClassDeclarationTreeImpl extends StatementTreeImpl implements ClassDeclarationTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTree.java index 938c6849b..1a12c5e7d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTreeImpl.java index c4108c969..153509141 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ClassExpressionTreeImpl.java @@ -22,10 +22,10 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.ClassNode; +import org.openjdk.nashorn.internal.ir.ClassNode; final class ClassExpressionTreeImpl extends ExpressionTreeImpl implements ClassExpressionTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTree.java index a7afb51f8..659d89b8d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTreeImpl.java index 552a4c581..243a28899 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompilationUnitTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; final class CompilationUnitTreeImpl extends TreeImpl implements CompilationUnitTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTree.java index b181759ed..d807e5d10 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for compound assignment operator. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTreeImpl.java index 3916377de..4a34a7672 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/CompoundAssignmentTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; final class CompoundAssignmentTreeImpl extends ExpressionTreeImpl implements CompoundAssignmentTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTree.java index 459682fed..20bba3447 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for the conditional operator ? :. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTreeImpl.java index 152c61086..a96ffa4b1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalExpressionTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.TernaryNode; +import org.openjdk.nashorn.internal.ir.TernaryNode; final class ConditionalExpressionTreeImpl extends ExpressionTreeImpl implements ConditionalExpressionTree { private final ExpressionTree condExpr, trueExpr, falseExpr; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalLoopTree.java index 10031edee..e3f476123 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalLoopTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ConditionalLoopTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A mixin for conditional "loop" statements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTree.java index 6be05bd37..f811b4a65 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a 'continue' statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTreeImpl.java index b974cb735..152c07811 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ContinueTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.ContinueNode; +import org.openjdk.nashorn.internal.ir.ContinueNode; final class ContinueTreeImpl extends StatementTreeImpl implements ContinueTree { private final String label; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTree.java index 625ca0dba..5ec7505ff 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a 'debugger' statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTreeImpl.java index 45eda3ed1..7a73b4468 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DebuggerTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.DebuggerNode; +import org.openjdk.nashorn.internal.ir.DebuggerNode; final class DebuggerTreeImpl extends StatementTreeImpl implements DebuggerTree { DebuggerTreeImpl(final DebuggerNode node) { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DestructuringDeclTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DestructuringDeclTreeImpl.java index c69630196..0b7f2e15c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DestructuringDeclTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DestructuringDeclTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.ExpressionStatement; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.ir.ExpressionStatement; +import org.openjdk.nashorn.internal.parser.TokenType; // This implementation of VariableTree represents a destructuring declaration final class DestructuringDeclTreeImpl extends StatementTreeImpl diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Diagnostic.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Diagnostic.java index 3ca43457c..05cfb0f55 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Diagnostic.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Diagnostic.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * Interface for diagnostics from tools. A diagnostic usually reports diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticImpl.java index ee4eadf7f..56049b6bb 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.runtime.ParserException; final class DiagnosticImpl implements Diagnostic { private final ParserException exp; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticListener.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticListener.java index e0053a795..cbcaff949 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticListener.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DiagnosticListener.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * Interface for receiving diagnostics from Nashorn parser. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTree.java index 45f4a8abd..e84704a8a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a 'do' statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTreeImpl.java index a86ca9d52..882545a61 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/DoWhileLoopTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.WhileNode; +import org.openjdk.nashorn.internal.ir.WhileNode; final class DoWhileLoopTreeImpl extends StatementTreeImpl implements DoWhileLoopTree { private final ExpressionTree cond; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTree.java index 5f4999249..c0ed6c2cc 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for an empty (skip) statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTreeImpl.java index c5d689dc9..fdac25776 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/EmptyStatementTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.EmptyNode; +import org.openjdk.nashorn.internal.ir.EmptyNode; final class EmptyStatementTreeImpl extends StatementTreeImpl implements EmptyStatementTree { EmptyStatementTreeImpl(final EmptyNode node) { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTree.java index dd0c95a6d..954bac71f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node to stand in for a malformed expression. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTreeImpl.java index bee4feeab..fdfcebff8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ErroneousTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.ErrorNode; +import org.openjdk.nashorn.internal.ir.ErrorNode; final class ErroneousTreeImpl extends ExpressionTreeImpl implements ErroneousTree { ErroneousTreeImpl(final ErrorNode errorNode) { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTree.java index 2e830abd2..b84ddd26d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTree.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTreeImpl.java index 04d2ead57..641126c6a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExportEntryTreeImpl.java @@ -22,14 +22,14 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; import java.util.stream.Collectors; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.Module; -import static jdk.nashorn.api.tree.ModuleTreeImpl.identOrNull; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.Module; +import static org.openjdk.nashorn.api.tree.ModuleTreeImpl.identOrNull; final class ExportEntryTreeImpl extends TreeImpl implements ExportEntryTree { private final long startPos, endPos; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTree.java index dbf09a59d..ae23286d2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for an expression statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTreeImpl.java index a3a602f3e..c8275e4c3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionStatementTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.ExpressionStatement; +import org.openjdk.nashorn.internal.ir.ExpressionStatement; final class ExpressionStatementTreeImpl extends StatementTreeImpl implements ExpressionStatementTree { private final ExpressionTree expr; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTree.java index 6076ba077..ed1b74ee2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node used as the base class for the different types of diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTreeImpl.java index 3024f51ea..e6f3156fa 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ExpressionTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.Expression; abstract class ExpressionTreeImpl extends TreeImpl implements ExpressionTree { ExpressionTreeImpl(final Expression expr) { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTree.java index 302a4f53d..12488dd87 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for for..in statement diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTreeImpl.java index 3ba38eb75..f43598964 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForInLoopTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.ForNode; +import org.openjdk.nashorn.internal.ir.ForNode; final class ForInLoopTreeImpl extends StatementTreeImpl implements ForInLoopTree { private final ExpressionTree lhsExpr; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTree.java index 1e260a8e3..78b8bc3d0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a basic 'for' loop statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTreeImpl.java index 4cedbe19e..1f9758e1b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForLoopTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.ForNode; +import org.openjdk.nashorn.internal.ir.ForNode; final class ForLoopTreeImpl extends StatementTreeImpl implements ForLoopTree { private final ExpressionTree init; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java index 999c4d3e3..5402b96f9 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for for..of statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTreeImpl.java index e2306e51c..64b6e26d8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTreeImpl.java @@ -22,9 +22,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.ForNode; +import org.openjdk.nashorn.internal.ir.ForNode; final class ForOfLoopTreeImpl extends StatementTreeImpl implements ForOfLoopTree { private final ExpressionTree lhsExpr; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTree.java index 38ee487d4..5554c0b79 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTreeImpl.java index aaeb930d1..717625313 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionCallTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.CallNode; +import org.openjdk.nashorn.internal.ir.CallNode; class FunctionCallTreeImpl extends ExpressionTreeImpl implements FunctionCallTree { private final List arguments; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTree.java index 2ff8eb7d8..7c1dbe2c5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTreeImpl.java index 592e4dce9..d74ca9f03 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionDeclarationTreeImpl.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.VarNode; final class FunctionDeclarationTreeImpl extends StatementTreeImpl implements FunctionDeclarationTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTree.java index d3cd3d233..fc7725c85 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTreeImpl.java index 57b060b64..1d667c9df 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/FunctionExpressionTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; final class FunctionExpressionTreeImpl extends ExpressionTreeImpl implements FunctionExpressionTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/GotoTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/GotoTree.java index b08484c4d..d1a98703f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/GotoTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/GotoTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a statement that jumps to a target. Note that diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IRTranslator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IRTranslator.java index 55bedf37b..93e73e177 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IRTranslator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IRTranslator.java @@ -22,53 +22,53 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.Map; -import jdk.nashorn.internal.ir.AccessNode; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.BlockStatement; -import jdk.nashorn.internal.ir.BreakNode; -import jdk.nashorn.internal.ir.CallNode; -import jdk.nashorn.internal.ir.CaseNode; -import jdk.nashorn.internal.ir.CatchNode; -import jdk.nashorn.internal.ir.ClassNode; -import jdk.nashorn.internal.ir.ContinueNode; -import jdk.nashorn.internal.ir.DebuggerNode; -import jdk.nashorn.internal.ir.EmptyNode; -import jdk.nashorn.internal.ir.ErrorNode; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.ExpressionStatement; -import jdk.nashorn.internal.ir.ForNode; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.IfNode; -import jdk.nashorn.internal.ir.IndexNode; -import jdk.nashorn.internal.ir.LabelNode; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.ObjectNode; -import jdk.nashorn.internal.ir.PropertyNode; -import jdk.nashorn.internal.ir.ReturnNode; -import jdk.nashorn.internal.ir.RuntimeNode; -import jdk.nashorn.internal.ir.SplitNode; -import jdk.nashorn.internal.ir.Statement; -import jdk.nashorn.internal.ir.SwitchNode; -import jdk.nashorn.internal.ir.TemplateLiteral; -import jdk.nashorn.internal.ir.TernaryNode; -import jdk.nashorn.internal.ir.ThrowNode; -import jdk.nashorn.internal.ir.TryNode; -import jdk.nashorn.internal.ir.UnaryNode; -import jdk.nashorn.internal.ir.VarNode; -import jdk.nashorn.internal.ir.WhileNode; -import jdk.nashorn.internal.ir.WithNode; -import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; -import jdk.nashorn.internal.parser.Lexer; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.ir.AccessNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.BlockStatement; +import org.openjdk.nashorn.internal.ir.BreakNode; +import org.openjdk.nashorn.internal.ir.CallNode; +import org.openjdk.nashorn.internal.ir.CaseNode; +import org.openjdk.nashorn.internal.ir.CatchNode; +import org.openjdk.nashorn.internal.ir.ClassNode; +import org.openjdk.nashorn.internal.ir.ContinueNode; +import org.openjdk.nashorn.internal.ir.DebuggerNode; +import org.openjdk.nashorn.internal.ir.EmptyNode; +import org.openjdk.nashorn.internal.ir.ErrorNode; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.ExpressionStatement; +import org.openjdk.nashorn.internal.ir.ForNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.IfNode; +import org.openjdk.nashorn.internal.ir.IndexNode; +import org.openjdk.nashorn.internal.ir.LabelNode; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.ObjectNode; +import org.openjdk.nashorn.internal.ir.PropertyNode; +import org.openjdk.nashorn.internal.ir.ReturnNode; +import org.openjdk.nashorn.internal.ir.RuntimeNode; +import org.openjdk.nashorn.internal.ir.SplitNode; +import org.openjdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.SwitchNode; +import org.openjdk.nashorn.internal.ir.TemplateLiteral; +import org.openjdk.nashorn.internal.ir.TernaryNode; +import org.openjdk.nashorn.internal.ir.ThrowNode; +import org.openjdk.nashorn.internal.ir.TryNode; +import org.openjdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.WhileNode; +import org.openjdk.nashorn.internal.ir.WithNode; +import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; +import org.openjdk.nashorn.internal.parser.Lexer; +import org.openjdk.nashorn.internal.parser.TokenType; /** * This class translates from nashorn IR Node objects diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTree.java index e82e257cd..66e72041f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for an identifier expression. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTreeImpl.java index a2af0dda8..eae1a8ba4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IdentifierTreeImpl.java @@ -24,10 +24,10 @@ */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.Module; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.Module; final class IdentifierTreeImpl extends ExpressionTreeImpl implements IdentifierTree { private final String name; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTree.java index a1a65691d..a278f4b9d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for an 'if' statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTreeImpl.java index f095531fa..26ce39d47 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/IfTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.IfNode; +import org.openjdk.nashorn.internal.ir.IfNode; final class IfTreeImpl extends StatementTreeImpl implements IfTree { private final ExpressionTree cond; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTree.java index f28db0740..00f40df59 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTree.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTreeImpl.java index c0a023032..dd9381bca 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ImportEntryTreeImpl.java @@ -22,14 +22,14 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; import java.util.stream.Collectors; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.Module; -import static jdk.nashorn.api.tree.ModuleTreeImpl.identOrNull; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.Module; +import static org.openjdk.nashorn.api.tree.ModuleTreeImpl.identOrNull; final class ImportEntryTreeImpl extends TreeImpl implements ImportEntryTree { private final long startPos, endPos; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTree.java index 5b72ead22..12f70c8d6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for an 'instanceof' expression. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTreeImpl.java index 34714145e..80f7056d7 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/InstanceOfTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.parser.TokenType; final class InstanceOfTreeImpl extends BinaryTreeImpl implements InstanceOfTree { InstanceOfTreeImpl(final BinaryNode node, diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTree.java index 3b009fff5..d572c79a3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a labeled statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTreeImpl.java index 796dd4e5b..dc45aeaf0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LabeledStatementTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.LabelNode; +import org.openjdk.nashorn.internal.ir.LabelNode; final class LabeledStatementTreeImpl extends StatementTreeImpl implements LabeledStatementTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMap.java index 042df249b..373402292 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMap.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMap.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * Provides methods to convert between character positions and line numbers diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMapImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMapImpl.java index 7cfa4abca..62742ae17 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMapImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LineMapImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.Source; final class LineMapImpl implements LineMap { private final Source source; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTree.java index b1c94f72f..a526cb964 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a literal expression. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTreeImpl.java index 3335a4cb0..b5605f19e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LiteralTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.LiteralNode; final class LiteralTreeImpl extends ExpressionTreeImpl implements LiteralTree { private final Object value; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LoopTree.java index 54f7e3973..489996449 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LoopTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/LoopTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A mixin for "loop" statements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTree.java index 61fd6f1a7..bf8c1eb7c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a member access expression. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTreeImpl.java index 61b6f403b..79c950984 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/MemberSelectTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.AccessNode; +import org.openjdk.nashorn.internal.ir.AccessNode; final class MemberSelectTreeImpl extends ExpressionTreeImpl implements MemberSelectTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTree.java index cb7d3538c..0a70d1051 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTree.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTreeImpl.java index df32b0914..885681a7e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ModuleTreeImpl.java @@ -22,15 +22,15 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; import java.util.stream.Collectors; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.Module; -import static jdk.nashorn.api.tree.ExportEntryTreeImpl.createExportList; -import static jdk.nashorn.api.tree.ImportEntryTreeImpl.createImportList; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.Module; +import static org.openjdk.nashorn.api.tree.ExportEntryTreeImpl.createExportList; +import static org.openjdk.nashorn.api.tree.ImportEntryTreeImpl.createImportList; final class ModuleTreeImpl extends TreeImpl implements ModuleTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTree.java index 35e51ac53..a49d502ed 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node to declare a new instance of a class. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTreeImpl.java index 4bfec68ec..6234932e6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/NewTreeImpl.java @@ -22,10 +22,10 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.UnaryNode; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.parser.TokenType; final class NewTreeImpl extends ExpressionTreeImpl implements NewTree { private final ExpressionTree constrExpr; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTree.java index 35c745e9f..2983cf218 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTreeImpl.java index cc0dfdf0d..c43b45081 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ObjectLiteralTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.ObjectNode; +import org.openjdk.nashorn.internal.ir.ObjectNode; final class ObjectLiteralTreeImpl extends ExpressionTreeImpl implements ObjectLiteralTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParenthesizedTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParenthesizedTree.java index 8a840d4c0..9a6e55637 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParenthesizedTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParenthesizedTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a parenthesized expression. Note: parentheses diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Parser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Parser.java index 2ab805083..d701a5c5e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Parser.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Parser.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.io.File; import java.io.IOException; import java.io.Reader; import java.net.URL; import java.nio.file.Path; -import jdk.nashorn.api.scripting.NashornException; -import jdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.NashornException; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; /** * Represents nashorn ECMAScript parser instance. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParserImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParserImpl.java index 5a10526fe..2a111bfa5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParserImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ParserImpl.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.io.File; import java.io.IOException; @@ -33,16 +33,16 @@ import java.util.Arrays; import java.util.Map; import java.util.Objects; -import jdk.nashorn.api.scripting.NashornException; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.ScriptEnvironment; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.api.scripting.NashornException; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.options.Options; final class ParserImpl implements Parser { @@ -184,9 +184,9 @@ private CompilationUnitTree makeModule(final Source src, final DiagnosticListene return new IRTranslator().translate(modFunc); } - private jdk.nashorn.internal.parser.Parser makeParser(final Source source, final DiagnosticListener listener) { + private org.openjdk.nashorn.internal.parser.Parser makeParser(final Source source, final DiagnosticListener listener) { final ErrorManager errMgr = listener != null ? new ListenerErrorManager(listener) : new Context.ThrowErrorManager(); - return new jdk.nashorn.internal.parser.Parser(env, source, errMgr); + return new org.openjdk.nashorn.internal.parser.Parser(env, source, errMgr); } private static class ListenerErrorManager extends ErrorManager { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTree.java index 9292bdb15..e16dc64ab 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * To represent property setting in an object literal tree. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTreeImpl.java index 1ba734ec7..bf6484526 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/PropertyTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.PropertyNode; +import org.openjdk.nashorn.internal.ir.PropertyNode; final class PropertyTreeImpl extends TreeImpl implements PropertyTree { private final ExpressionTree key; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTree.java index ff77c267d..be318f0e8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * Represents regular expression literal in the source code. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTreeImpl.java index 451147a95..37fa9494e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/RegExpLiteralTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.parser.Lexer; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.parser.Lexer; final class RegExpLiteralTreeImpl extends ExpressionTreeImpl implements RegExpLiteralTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTree.java index b8d2dc8e9..0390fb57e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a 'return' statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTreeImpl.java index 9eab46416..23f7016ae 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ReturnTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.ReturnNode; +import org.openjdk.nashorn.internal.ir.ReturnNode; final class ReturnTreeImpl extends StatementTreeImpl implements ReturnTree { private final ExpressionTree expr; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java index 043eb32dc..793cc9aa3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A simple implementation of the TreeVisitor for ECMAScript edition 5.1. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES6.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES6.java index 8e4faf073..c6586e1c0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES6.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SimpleTreeVisitorES6.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTree.java index ca66dce85..908e51f80 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for spread operator in array elements, function call arguments. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTreeImpl.java index a01601f70..322d1cf88 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SpreadTreeImpl.java @@ -22,9 +22,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.Expression; final class SpreadTreeImpl extends ExpressionTreeImpl implements SpreadTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTree.java index a62d463a0..3e34bf54f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node used as the base class for the different kinds of diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTreeImpl.java index 338b23ba2..77d420ade 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/StatementTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.Statement; abstract class StatementTreeImpl extends TreeImpl implements StatementTree { StatementTreeImpl(final Statement stat) { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTree.java index 0f70dd5c8..d6d16faca 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTreeImpl.java index 19b23f9a3..6b82b7c2e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/SwitchTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.SwitchNode; +import org.openjdk.nashorn.internal.ir.SwitchNode; final class SwitchTreeImpl extends StatementTreeImpl implements SwitchTree { private final ExpressionTree expr; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTree.java index 86bc4195e..d68a4e223 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTreeImpl.java index 87de44a14..3a3779791 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TemplateLiteralTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.Expression; final class TemplateLiteralTreeImpl extends ExpressionTreeImpl implements TemplateLiteralTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTree.java index 230b5b6f9..bfd596320 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a 'throw' statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTreeImpl.java index 8d0776fcd..e72d6d6bb 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ThrowTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.ThrowNode; +import org.openjdk.nashorn.internal.ir.ThrowNode; final class ThrowTreeImpl extends StatementTreeImpl implements ThrowTree { private final ExpressionTree expr; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Tree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Tree.java index eddeab54c..3500c24f2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Tree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/Tree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * Common interface for all nodes in an abstract syntax tree. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeImpl.java index 5ec1e2242..d84c9288e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeImpl.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.parser.TokenType; abstract class TreeImpl implements Tree { protected final Node node; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeVisitor.java index 70c124d45..039920edf 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeVisitor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TreeVisitor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A visitor of trees, in the style of the visitor design pattern. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTree.java index e6b6bb8f8..37c05d1fa 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTreeImpl.java index e9aafff76..034747aa4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/TryTreeImpl.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; import java.util.List; -import jdk.nashorn.internal.ir.TryNode; +import org.openjdk.nashorn.internal.ir.TryNode; final class TryTreeImpl extends StatementTreeImpl implements TryTree { private final BlockTree block; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTree.java index 2e57ad819..444a5a64a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for postfix and unary expressions. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTreeImpl.java index 6b72c2422..04504bff4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnaryTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.ir.UnaryNode; class UnaryTreeImpl extends ExpressionTreeImpl implements UnaryTree { private final ExpressionTree expr; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnknownTreeException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnknownTreeException.java index e14a01df5..8bc583476 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnknownTreeException.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/UnknownTreeException.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTree.java index b0cbada63..b224eba41 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a variable declaration statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTreeImpl.java index a1e6f6f7e..259dd86d1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/VariableTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.VarNode; final class VariableTreeImpl extends StatementTreeImpl implements VariableTree { private final IdentifierTree ident; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTree.java index a345e503b..ac7f8375f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a 'while' loop statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTreeImpl.java index 3bc1507d2..73609cfc4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WhileLoopTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.WhileNode; +import org.openjdk.nashorn.internal.ir.WhileNode; final class WhileLoopTreeImpl extends StatementTreeImpl implements WhileLoopTree { private final ExpressionTree cond; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTree.java index a7af28239..3b53fd2d8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for a 'with' statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTreeImpl.java index 4b726551a..7a917d728 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/WithTreeImpl.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.WithNode; +import org.openjdk.nashorn.internal.ir.WithNode; final class WithTreeImpl extends StatementTreeImpl implements WithTree { private final ExpressionTree scope; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTree.java index 0b21bb0be..80e166713 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTree.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; /** * A tree node for yield expressions used in generator functions. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTreeImpl.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTreeImpl.java index aea75d81a..9486233d9 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTreeImpl.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/YieldTreeImpl.java @@ -22,11 +22,11 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree; +package org.openjdk.nashorn.api.tree; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.UnaryNode; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.parser.TokenType; final class YieldTreeImpl extends ExpressionTreeImpl implements YieldTree { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java index 832de0b05..e725b73f3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java @@ -37,7 +37,7 @@ * *
  * 
- * import jdk.nashorn.api.tree.*;
+ * import org.openjdk.nashorn.api.tree.*;
  * import java.io.File;
  *
  * // Simple example that prints warning on 'with' statements
@@ -70,5 +70,5 @@
  *
  * @since 9
  */
-package jdk.nashorn.api.tree;
+package org.openjdk.nashorn.api.tree;
 
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/AssertsEnabled.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/AssertsEnabled.java
index e47526581..28de6a937 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/AssertsEnabled.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/AssertsEnabled.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal;
+package org.openjdk.nashorn.internal;
 
 /**
  * Class that exposes the current state of asserts.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/IntDeque.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/IntDeque.java
index 477afcf94..d8e378db2 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/IntDeque.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/IntDeque.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal;
+package org.openjdk.nashorn.internal;
 
 /**
  * Small helper class for fast int deques
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/WeakValueCache.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/WeakValueCache.java
index b1a1671e2..bcfc26fef 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/WeakValueCache.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/WeakValueCache.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal;
+package org.openjdk.nashorn.internal;
 
 import java.lang.ref.ReferenceQueue;
 import java.lang.ref.WeakReference;
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ApplySpecialization.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ApplySpecialization.java
index 51abacdbb..b16028bed 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ApplySpecialization.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ApplySpecialization.java
@@ -23,10 +23,10 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS_VAR;
-import static jdk.nashorn.internal.codegen.CompilerConstants.EXPLODED_ARGUMENT_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS_VAR;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.EXPLODED_ARGUMENT_PREFIX;
 
 import java.lang.invoke.MethodType;
 import java.net.URL;
@@ -36,19 +36,19 @@
 import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
-import jdk.nashorn.internal.ir.AccessNode;
-import jdk.nashorn.internal.ir.CallNode;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.IdentNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.objects.Global;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.logging.Loggable;
-import jdk.nashorn.internal.runtime.logging.Logger;
-import jdk.nashorn.internal.runtime.options.Options;
+import org.openjdk.nashorn.internal.ir.AccessNode;
+import org.openjdk.nashorn.internal.ir.CallNode;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.IdentNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.objects.Global;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.logging.Loggable;
+import org.openjdk.nashorn.internal.runtime.logging.Logger;
+import org.openjdk.nashorn.internal.runtime.options.Options;
 
 /**
  * An optimization that attempts to turn applies into calls. This pattern
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/AssignSymbols.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/AssignSymbols.java
index f01c7f9c2..cebdb29e7 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/AssignSymbols.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/AssignSymbols.java
@@ -23,30 +23,30 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
-
-import static jdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS_VAR;
-import static jdk.nashorn.internal.codegen.CompilerConstants.CALLEE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.EXCEPTION_PREFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.ITERATOR_PREFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.RETURN;
-import static jdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.SWITCH_TAG_PREFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.THIS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.VARARGS;
-import static jdk.nashorn.internal.ir.Symbol.HAS_OBJECT_VALUE;
-import static jdk.nashorn.internal.ir.Symbol.IS_CONST;
-import static jdk.nashorn.internal.ir.Symbol.IS_FUNCTION_SELF;
-import static jdk.nashorn.internal.ir.Symbol.IS_GLOBAL;
-import static jdk.nashorn.internal.ir.Symbol.IS_INTERNAL;
-import static jdk.nashorn.internal.ir.Symbol.IS_LET;
-import static jdk.nashorn.internal.ir.Symbol.IS_PARAM;
-import static jdk.nashorn.internal.ir.Symbol.IS_PROGRAM_LEVEL;
-import static jdk.nashorn.internal.ir.Symbol.IS_SCOPE;
-import static jdk.nashorn.internal.ir.Symbol.IS_THIS;
-import static jdk.nashorn.internal.ir.Symbol.IS_VAR;
-import static jdk.nashorn.internal.ir.Symbol.KINDMASK;
+package org.openjdk.nashorn.internal.codegen;
+
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS_VAR;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CALLEE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.EXCEPTION_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ITERATOR_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.RETURN;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SWITCH_TAG_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.THIS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.VARARGS;
+import static org.openjdk.nashorn.internal.ir.Symbol.HAS_OBJECT_VALUE;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_CONST;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_FUNCTION_SELF;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_GLOBAL;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_INTERNAL;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_LET;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_PARAM;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_PROGRAM_LEVEL;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_SCOPE;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_THIS;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_VAR;
+import static org.openjdk.nashorn.internal.ir.Symbol.KINDMASK;
 
 import java.util.ArrayDeque;
 import java.util.ArrayList;
@@ -58,40 +58,40 @@
 import java.util.ListIterator;
 import java.util.Map;
 import java.util.Set;
-import jdk.nashorn.internal.ir.AccessNode;
-import jdk.nashorn.internal.ir.BaseNode;
-import jdk.nashorn.internal.ir.BinaryNode;
-import jdk.nashorn.internal.ir.Block;
-import jdk.nashorn.internal.ir.CatchNode;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.ForNode;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.IdentNode;
-import jdk.nashorn.internal.ir.IndexNode;
-import jdk.nashorn.internal.ir.LexicalContextNode;
-import jdk.nashorn.internal.ir.LiteralNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.RuntimeNode;
-import jdk.nashorn.internal.ir.RuntimeNode.Request;
-import jdk.nashorn.internal.ir.Splittable;
-import jdk.nashorn.internal.ir.Statement;
-import jdk.nashorn.internal.ir.SwitchNode;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.TryNode;
-import jdk.nashorn.internal.ir.UnaryNode;
-import jdk.nashorn.internal.ir.VarNode;
-import jdk.nashorn.internal.ir.WithNode;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.parser.TokenType;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.ECMAErrors;
-import jdk.nashorn.internal.runtime.ErrorManager;
-import jdk.nashorn.internal.runtime.JSErrorType;
-import jdk.nashorn.internal.runtime.ParserException;
-import jdk.nashorn.internal.runtime.Source;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.logging.Loggable;
-import jdk.nashorn.internal.runtime.logging.Logger;
+import org.openjdk.nashorn.internal.ir.AccessNode;
+import org.openjdk.nashorn.internal.ir.BaseNode;
+import org.openjdk.nashorn.internal.ir.BinaryNode;
+import org.openjdk.nashorn.internal.ir.Block;
+import org.openjdk.nashorn.internal.ir.CatchNode;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.ForNode;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.IdentNode;
+import org.openjdk.nashorn.internal.ir.IndexNode;
+import org.openjdk.nashorn.internal.ir.LexicalContextNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.RuntimeNode;
+import org.openjdk.nashorn.internal.ir.RuntimeNode.Request;
+import org.openjdk.nashorn.internal.ir.Splittable;
+import org.openjdk.nashorn.internal.ir.Statement;
+import org.openjdk.nashorn.internal.ir.SwitchNode;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.TryNode;
+import org.openjdk.nashorn.internal.ir.UnaryNode;
+import org.openjdk.nashorn.internal.ir.VarNode;
+import org.openjdk.nashorn.internal.ir.WithNode;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.parser.TokenType;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.ECMAErrors;
+import org.openjdk.nashorn.internal.runtime.ErrorManager;
+import org.openjdk.nashorn.internal.runtime.JSErrorType;
+import org.openjdk.nashorn.internal.runtime.ParserException;
+import org.openjdk.nashorn.internal.runtime.Source;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.logging.Loggable;
+import org.openjdk.nashorn.internal.runtime.logging.Logger;
 
 /**
  * This visitor assigns symbols to identifiers denoting variables. It does few more minor calculations that are only
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/BranchOptimizer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/BranchOptimizer.java
index 99862fe92..dd0c8e066 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/BranchOptimizer.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/BranchOptimizer.java
@@ -23,21 +23,21 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
-
-import static jdk.nashorn.internal.codegen.Condition.EQ;
-import static jdk.nashorn.internal.codegen.Condition.GE;
-import static jdk.nashorn.internal.codegen.Condition.GT;
-import static jdk.nashorn.internal.codegen.Condition.LE;
-import static jdk.nashorn.internal.codegen.Condition.LT;
-import static jdk.nashorn.internal.codegen.Condition.NE;
-import static jdk.nashorn.internal.parser.TokenType.NOT;
-
-import jdk.nashorn.internal.ir.BinaryNode;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.JoinPredecessorExpression;
-import jdk.nashorn.internal.ir.LocalVariableConversion;
-import jdk.nashorn.internal.ir.UnaryNode;
+package org.openjdk.nashorn.internal.codegen;
+
+import static org.openjdk.nashorn.internal.codegen.Condition.EQ;
+import static org.openjdk.nashorn.internal.codegen.Condition.GE;
+import static org.openjdk.nashorn.internal.codegen.Condition.GT;
+import static org.openjdk.nashorn.internal.codegen.Condition.LE;
+import static org.openjdk.nashorn.internal.codegen.Condition.LT;
+import static org.openjdk.nashorn.internal.codegen.Condition.NE;
+import static org.openjdk.nashorn.internal.parser.TokenType.NOT;
+
+import org.openjdk.nashorn.internal.ir.BinaryNode;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.JoinPredecessorExpression;
+import org.openjdk.nashorn.internal.ir.LocalVariableConversion;
+import org.openjdk.nashorn.internal.ir.UnaryNode;
 
 /**
  * Branch optimizer for CodeGenerator. Given a jump condition this helper
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CacheAst.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CacheAst.java
index 6f66ea34c..d7ce77d9f 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CacheAst.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CacheAst.java
@@ -23,16 +23,16 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import java.util.ArrayDeque;
 import java.util.Collections;
 import java.util.Deque;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.Statement;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.Statement;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
 
 class CacheAst extends SimpleNodeVisitor {
     private final Deque dataStack = new ArrayDeque<>();
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java
index c01ddcb64..969546e2f 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL;
 import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PRIVATE;
@@ -37,20 +37,20 @@
 import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKEVIRTUAL;
 import static jdk.internal.org.objectweb.asm.Opcodes.H_NEWINVOKESPECIAL;
 import static jdk.internal.org.objectweb.asm.Opcodes.V1_7;
-import static jdk.nashorn.internal.codegen.CompilerConstants.CLINIT;
-import static jdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.GET_ARRAY_PREFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.GET_ARRAY_SUFFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.GET_MAP;
-import static jdk.nashorn.internal.codegen.CompilerConstants.GET_STRING;
-import static jdk.nashorn.internal.codegen.CompilerConstants.INIT;
-import static jdk.nashorn.internal.codegen.CompilerConstants.SET_MAP;
-import static jdk.nashorn.internal.codegen.CompilerConstants.SOURCE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.STRICT_MODE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.className;
-import static jdk.nashorn.internal.codegen.CompilerConstants.methodDescriptor;
-import static jdk.nashorn.internal.codegen.CompilerConstants.typeDescriptor;
-import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CLINIT;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.GET_ARRAY_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.GET_ARRAY_SUFFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.GET_MAP;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.GET_STRING;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.INIT;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SET_MAP;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SOURCE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.STRICT_MODE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.className;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.methodDescriptor;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.typeDescriptor;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
 
 import java.io.ByteArrayOutputStream;
 import java.io.PrintWriter;
@@ -63,15 +63,15 @@
 import jdk.internal.org.objectweb.asm.ClassWriter;
 import jdk.internal.org.objectweb.asm.MethodVisitor;
 import jdk.internal.org.objectweb.asm.util.TraceClassVisitor;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.debug.NashornClassReader;
-import jdk.nashorn.internal.ir.debug.NashornTextifier;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.PropertyMap;
-import jdk.nashorn.internal.runtime.RewriteException;
-import jdk.nashorn.internal.runtime.ScriptObject;
-import jdk.nashorn.internal.runtime.Source;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.debug.NashornClassReader;
+import org.openjdk.nashorn.internal.ir.debug.NashornTextifier;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.PropertyMap;
+import org.openjdk.nashorn.internal.runtime.RewriteException;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.runtime.Source;
 
 /**
  * The interface responsible for speaking to ASM, emitting classes,
@@ -207,7 +207,7 @@ protected String getCommonSuperClass(final String type1, final String type2) {
         this.unitClassName        = unitClassName;
         this.constantMethodNeeded = new HashSet<>();
 
-        cw.visit(V1_7, ACC_PUBLIC | ACC_SUPER, unitClassName, null, pathName(jdk.nashorn.internal.scripts.JS.class.getName()), null);
+        cw.visit(V1_7, ACC_PUBLIC | ACC_SUPER, unitClassName, null, pathName(org.openjdk.nashorn.internal.scripts.JS.class.getName()), null);
         cw.visitSource(sourceName, null);
 
         defineCommonStatics(strictMode);
@@ -420,7 +420,7 @@ public void end() {
             final MethodEmitter initMethod = init(EnumSet.of(Flag.PRIVATE));
             initMethod.begin();
             initMethod.load(Type.OBJECT, 0);
-            initMethod.newInstance(jdk.nashorn.internal.scripts.JS.class);
+            initMethod.newInstance(org.openjdk.nashorn.internal.scripts.JS.class);
             initMethod.returnVoid();
             initMethod.end();
 
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java
index 212282965..ddb6b29d3 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java
@@ -23,36 +23,36 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
-
-import static jdk.nashorn.internal.codegen.ClassEmitter.Flag.PRIVATE;
-import static jdk.nashorn.internal.codegen.ClassEmitter.Flag.STATIC;
-import static jdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.CALLEE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.CREATE_PROGRAM_FUNCTION;
-import static jdk.nashorn.internal.codegen.CompilerConstants.GET_MAP;
-import static jdk.nashorn.internal.codegen.CompilerConstants.GET_STRING;
-import static jdk.nashorn.internal.codegen.CompilerConstants.QUICK_PREFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.REGEX_PREFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.SPLIT_PREFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.THIS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.VARARGS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.interfaceCallNoLookup;
-import static jdk.nashorn.internal.codegen.CompilerConstants.methodDescriptor;
-import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup;
-import static jdk.nashorn.internal.codegen.CompilerConstants.typeDescriptor;
-import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
-import static jdk.nashorn.internal.ir.Symbol.HAS_SLOT;
-import static jdk.nashorn.internal.ir.Symbol.IS_INTERNAL;
-import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT;
-import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_APPLY_TO_CALL;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_DECLARE;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_FAST_SCOPE;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_OPTIMISTIC;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_PROGRAM_POINT_SHIFT;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_SCOPE;
+package org.openjdk.nashorn.internal.codegen;
+
+import static org.openjdk.nashorn.internal.codegen.ClassEmitter.Flag.PRIVATE;
+import static org.openjdk.nashorn.internal.codegen.ClassEmitter.Flag.STATIC;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CALLEE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CREATE_PROGRAM_FUNCTION;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.GET_MAP;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.GET_STRING;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.QUICK_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.REGEX_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SPLIT_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.THIS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.VARARGS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.interfaceCallNoLookup;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.methodDescriptor;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.typeDescriptor;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
+import static org.openjdk.nashorn.internal.ir.Symbol.HAS_SLOT;
+import static org.openjdk.nashorn.internal.ir.Symbol.IS_INTERNAL;
+import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT;
+import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_APPLY_TO_CALL;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_DECLARE;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_FAST_SCOPE;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_OPTIMISTIC;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_PROGRAM_POINT_SHIFT;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_SCOPE;
 
 import java.io.PrintWriter;
 import java.util.ArrayDeque;
@@ -72,90 +72,90 @@
 import java.util.Set;
 import java.util.TreeMap;
 import java.util.function.Supplier;
-import jdk.nashorn.internal.AssertsEnabled;
-import jdk.nashorn.internal.IntDeque;
-import jdk.nashorn.internal.codegen.ClassEmitter.Flag;
-import jdk.nashorn.internal.codegen.CompilerConstants.Call;
-import jdk.nashorn.internal.codegen.types.ArrayType;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.AccessNode;
-import jdk.nashorn.internal.ir.BaseNode;
-import jdk.nashorn.internal.ir.BinaryNode;
-import jdk.nashorn.internal.ir.Block;
-import jdk.nashorn.internal.ir.BlockStatement;
-import jdk.nashorn.internal.ir.BreakNode;
-import jdk.nashorn.internal.ir.CallNode;
-import jdk.nashorn.internal.ir.CaseNode;
-import jdk.nashorn.internal.ir.CatchNode;
-import jdk.nashorn.internal.ir.ContinueNode;
-import jdk.nashorn.internal.ir.EmptyNode;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.ExpressionStatement;
-import jdk.nashorn.internal.ir.ForNode;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.GetSplitState;
-import jdk.nashorn.internal.ir.IdentNode;
-import jdk.nashorn.internal.ir.IfNode;
-import jdk.nashorn.internal.ir.IndexNode;
-import jdk.nashorn.internal.ir.JoinPredecessorExpression;
-import jdk.nashorn.internal.ir.JumpStatement;
-import jdk.nashorn.internal.ir.JumpToInlinedFinally;
-import jdk.nashorn.internal.ir.LabelNode;
-import jdk.nashorn.internal.ir.LexicalContext;
-import jdk.nashorn.internal.ir.LexicalContextNode;
-import jdk.nashorn.internal.ir.LiteralNode;
-import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
-import jdk.nashorn.internal.ir.LiteralNode.PrimitiveLiteralNode;
-import jdk.nashorn.internal.ir.LocalVariableConversion;
-import jdk.nashorn.internal.ir.LoopNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.ObjectNode;
-import jdk.nashorn.internal.ir.Optimistic;
-import jdk.nashorn.internal.ir.PropertyNode;
-import jdk.nashorn.internal.ir.ReturnNode;
-import jdk.nashorn.internal.ir.RuntimeNode;
-import jdk.nashorn.internal.ir.RuntimeNode.Request;
-import jdk.nashorn.internal.ir.SetSplitState;
-import jdk.nashorn.internal.ir.SplitReturn;
-import jdk.nashorn.internal.ir.Splittable;
-import jdk.nashorn.internal.ir.Statement;
-import jdk.nashorn.internal.ir.SwitchNode;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.TernaryNode;
-import jdk.nashorn.internal.ir.ThrowNode;
-import jdk.nashorn.internal.ir.TryNode;
-import jdk.nashorn.internal.ir.UnaryNode;
-import jdk.nashorn.internal.ir.VarNode;
-import jdk.nashorn.internal.ir.WhileNode;
-import jdk.nashorn.internal.ir.WithNode;
-import jdk.nashorn.internal.ir.visitor.NodeOperatorVisitor;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.objects.Global;
-import jdk.nashorn.internal.parser.Lexer.RegexToken;
-import jdk.nashorn.internal.parser.TokenType;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.Debug;
-import jdk.nashorn.internal.runtime.ECMAException;
-import jdk.nashorn.internal.runtime.JSType;
-import jdk.nashorn.internal.runtime.OptimisticReturnFilters;
-import jdk.nashorn.internal.runtime.PropertyMap;
-import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
-import jdk.nashorn.internal.runtime.RewriteException;
-import jdk.nashorn.internal.runtime.Scope;
-import jdk.nashorn.internal.runtime.ScriptEnvironment;
-import jdk.nashorn.internal.runtime.ScriptFunction;
-import jdk.nashorn.internal.runtime.ScriptObject;
-import jdk.nashorn.internal.runtime.ScriptRuntime;
-import jdk.nashorn.internal.runtime.Source;
-import jdk.nashorn.internal.runtime.Undefined;
-import jdk.nashorn.internal.runtime.UnwarrantedOptimismException;
-import jdk.nashorn.internal.runtime.arrays.ArrayData;
-import jdk.nashorn.internal.runtime.linker.LinkerCallSite;
-import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.logging.Loggable;
-import jdk.nashorn.internal.runtime.logging.Logger;
-import jdk.nashorn.internal.runtime.options.Options;
+import org.openjdk.nashorn.internal.AssertsEnabled;
+import org.openjdk.nashorn.internal.IntDeque;
+import org.openjdk.nashorn.internal.codegen.ClassEmitter.Flag;
+import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call;
+import org.openjdk.nashorn.internal.codegen.types.ArrayType;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.AccessNode;
+import org.openjdk.nashorn.internal.ir.BaseNode;
+import org.openjdk.nashorn.internal.ir.BinaryNode;
+import org.openjdk.nashorn.internal.ir.Block;
+import org.openjdk.nashorn.internal.ir.BlockStatement;
+import org.openjdk.nashorn.internal.ir.BreakNode;
+import org.openjdk.nashorn.internal.ir.CallNode;
+import org.openjdk.nashorn.internal.ir.CaseNode;
+import org.openjdk.nashorn.internal.ir.CatchNode;
+import org.openjdk.nashorn.internal.ir.ContinueNode;
+import org.openjdk.nashorn.internal.ir.EmptyNode;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.ExpressionStatement;
+import org.openjdk.nashorn.internal.ir.ForNode;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.GetSplitState;
+import org.openjdk.nashorn.internal.ir.IdentNode;
+import org.openjdk.nashorn.internal.ir.IfNode;
+import org.openjdk.nashorn.internal.ir.IndexNode;
+import org.openjdk.nashorn.internal.ir.JoinPredecessorExpression;
+import org.openjdk.nashorn.internal.ir.JumpStatement;
+import org.openjdk.nashorn.internal.ir.JumpToInlinedFinally;
+import org.openjdk.nashorn.internal.ir.LabelNode;
+import org.openjdk.nashorn.internal.ir.LexicalContext;
+import org.openjdk.nashorn.internal.ir.LexicalContextNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode.PrimitiveLiteralNode;
+import org.openjdk.nashorn.internal.ir.LocalVariableConversion;
+import org.openjdk.nashorn.internal.ir.LoopNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.ObjectNode;
+import org.openjdk.nashorn.internal.ir.Optimistic;
+import org.openjdk.nashorn.internal.ir.PropertyNode;
+import org.openjdk.nashorn.internal.ir.ReturnNode;
+import org.openjdk.nashorn.internal.ir.RuntimeNode;
+import org.openjdk.nashorn.internal.ir.RuntimeNode.Request;
+import org.openjdk.nashorn.internal.ir.SetSplitState;
+import org.openjdk.nashorn.internal.ir.SplitReturn;
+import org.openjdk.nashorn.internal.ir.Splittable;
+import org.openjdk.nashorn.internal.ir.Statement;
+import org.openjdk.nashorn.internal.ir.SwitchNode;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.TernaryNode;
+import org.openjdk.nashorn.internal.ir.ThrowNode;
+import org.openjdk.nashorn.internal.ir.TryNode;
+import org.openjdk.nashorn.internal.ir.UnaryNode;
+import org.openjdk.nashorn.internal.ir.VarNode;
+import org.openjdk.nashorn.internal.ir.WhileNode;
+import org.openjdk.nashorn.internal.ir.WithNode;
+import org.openjdk.nashorn.internal.ir.visitor.NodeOperatorVisitor;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.objects.Global;
+import org.openjdk.nashorn.internal.parser.Lexer.RegexToken;
+import org.openjdk.nashorn.internal.parser.TokenType;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.Debug;
+import org.openjdk.nashorn.internal.runtime.ECMAException;
+import org.openjdk.nashorn.internal.runtime.JSType;
+import org.openjdk.nashorn.internal.runtime.OptimisticReturnFilters;
+import org.openjdk.nashorn.internal.runtime.PropertyMap;
+import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
+import org.openjdk.nashorn.internal.runtime.RewriteException;
+import org.openjdk.nashorn.internal.runtime.Scope;
+import org.openjdk.nashorn.internal.runtime.ScriptEnvironment;
+import org.openjdk.nashorn.internal.runtime.ScriptFunction;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.runtime.ScriptRuntime;
+import org.openjdk.nashorn.internal.runtime.Source;
+import org.openjdk.nashorn.internal.runtime.Undefined;
+import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException;
+import org.openjdk.nashorn.internal.runtime.arrays.ArrayData;
+import org.openjdk.nashorn.internal.runtime.linker.LinkerCallSite;
+import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.logging.Loggable;
+import org.openjdk.nashorn.internal.runtime.logging.Logger;
+import org.openjdk.nashorn.internal.runtime.options.Options;
 
 /**
  * This is the lowest tier of the code generator. It takes lowered ASTs emitted
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java
index d38126f97..e07478d13 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import java.util.ArrayDeque;
 import java.util.Collection;
@@ -31,16 +31,16 @@
 import java.util.Deque;
 import java.util.HashMap;
 import java.util.Map;
-import jdk.nashorn.internal.IntDeque;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.Block;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.LexicalContext;
-import jdk.nashorn.internal.ir.LexicalContextNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.WithNode;
+import org.openjdk.nashorn.internal.IntDeque;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.Block;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.LexicalContext;
+import org.openjdk.nashorn.internal.ir.LexicalContextNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.WithNode;
 
 /**
  * A lexical context that also tracks if we have any dynamic scopes in the context. Such scopes can have new
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationException.java
index 66fa32405..ea4cca667 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationException.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationException.java
@@ -22,7 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 /**
  * Exception when something in the compiler breaks down. Can only
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationPhase.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationPhase.java
index 9209129f2..b93fa5404 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationPhase.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilationPhase.java
@@ -23,9 +23,9 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.runtime.logging.DebugLogger.quote;
+import static org.openjdk.nashorn.internal.runtime.logging.DebugLogger.quote;
 
 import java.io.PrintWriter;
 import java.util.HashMap;
@@ -33,20 +33,20 @@
 import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Set;
-import jdk.nashorn.internal.codegen.Compiler.CompilationPhases;
-import jdk.nashorn.internal.ir.Block;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.LiteralNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.debug.ASTWriter;
-import jdk.nashorn.internal.ir.debug.PrintVisitor;
-import jdk.nashorn.internal.ir.visitor.NodeVisitor;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.runtime.CodeInstaller;
-import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
-import jdk.nashorn.internal.runtime.ScriptEnvironment;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.codegen.Compiler.CompilationPhases;
+import org.openjdk.nashorn.internal.ir.Block;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.debug.ASTWriter;
+import org.openjdk.nashorn.internal.ir.debug.PrintVisitor;
+import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.runtime.CodeInstaller;
+import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
+import org.openjdk.nashorn.internal.runtime.ScriptEnvironment;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
 
 /**
  * A compilation phase is a step in the processes of turning a JavaScript
@@ -558,10 +558,10 @@ public String toString() {
 
     static final CompilationPhase INSTALL_PHASE = new InstallPhase();
 
-    /** start time of transform - used for timing, see {@link jdk.nashorn.internal.runtime.Timing} */
+    /** start time of transform - used for timing, see {@link org.openjdk.nashorn.internal.runtime.Timing} */
     private long startTime;
 
-    /** start time of transform - used for timing, see {@link jdk.nashorn.internal.runtime.Timing} */
+    /** start time of transform - used for timing, see {@link org.openjdk.nashorn.internal.runtime.Timing} */
     private long endTime;
 
     /** boolean that is true upon transform completion */
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompileUnit.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompileUnit.java
index 07347cf3e..d2025d0da 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompileUnit.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompileUnit.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import java.io.Serializable;
 import java.util.Collection;
@@ -33,9 +33,9 @@
 import java.util.Objects;
 import java.util.Set;
 import java.util.TreeSet;
-import jdk.nashorn.internal.ir.CompileUnitHolder;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
+import org.openjdk.nashorn.internal.ir.CompileUnitHolder;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
 
 /**
   * Used to track split class compilation. Note that instances of the class are serializable, but all fields are
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java
index f3f847ed2..6dc9c0b8f 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java
@@ -23,15 +23,15 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.CALLEE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.RETURN;
-import static jdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.THIS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.VARARGS;
-import static jdk.nashorn.internal.runtime.logging.DebugLogger.quote;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CALLEE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.RETURN;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.THIS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.VARARGS;
+import static org.openjdk.nashorn.internal.runtime.logging.DebugLogger.quote;
 
 import java.io.File;
 import java.lang.invoke.MethodType;
@@ -49,24 +49,24 @@
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.function.Consumer;
 import java.util.logging.Level;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.Optimistic;
-import jdk.nashorn.internal.runtime.CodeInstaller;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.ErrorManager;
-import jdk.nashorn.internal.runtime.FunctionInitializer;
-import jdk.nashorn.internal.runtime.ParserException;
-import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
-import jdk.nashorn.internal.runtime.ScriptEnvironment;
-import jdk.nashorn.internal.runtime.ScriptObject;
-import jdk.nashorn.internal.runtime.ScriptRuntime;
-import jdk.nashorn.internal.runtime.Source;
-import jdk.nashorn.internal.runtime.linker.NameCodec;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.logging.Loggable;
-import jdk.nashorn.internal.runtime.logging.Logger;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.Optimistic;
+import org.openjdk.nashorn.internal.runtime.CodeInstaller;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.ErrorManager;
+import org.openjdk.nashorn.internal.runtime.FunctionInitializer;
+import org.openjdk.nashorn.internal.runtime.ParserException;
+import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
+import org.openjdk.nashorn.internal.runtime.ScriptEnvironment;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.runtime.ScriptRuntime;
+import org.openjdk.nashorn.internal.runtime.Source;
+import org.openjdk.nashorn.internal.runtime.linker.NameCodec;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.logging.Loggable;
+import org.openjdk.nashorn.internal.runtime.logging.Logger;
 
 /**
  * Responsible for converting JavaScripts to java byte code. Main entry
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java
index 28bd19f87..7e34f6fff 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java
@@ -23,9 +23,9 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.lookup.Lookup.MH;
+import static org.openjdk.nashorn.internal.lookup.Lookup.MH;
 
 import java.lang.invoke.MethodHandle;
 import java.lang.invoke.MethodHandles;
@@ -34,10 +34,10 @@
 import java.util.Set;
 import jdk.internal.org.objectweb.asm.MethodVisitor;
 import jdk.internal.org.objectweb.asm.Opcodes;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.runtime.ScriptFunction;
-import jdk.nashorn.internal.runtime.ScriptObject;
-import jdk.nashorn.internal.runtime.Source;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.runtime.ScriptFunction;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.runtime.Source;
 
 /**
  * This class represents constant names of variables, methods and fields in
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java
index 27402ed81..81e5f2a00 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import static jdk.internal.org.objectweb.asm.Opcodes.IFEQ;
 import static jdk.internal.org.objectweb.asm.Opcodes.IFGE;
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ConstantData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ConstantData.java
index 91faea874..c4f612a62 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ConstantData.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ConstantData.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -32,7 +32,7 @@
 import java.util.Map;
 import java.util.Objects;
 
-import jdk.nashorn.internal.runtime.PropertyMap;
+import org.openjdk.nashorn.internal.runtime.PropertyMap;
 
 /**
  * Manages constants needed by code generation.  Objects are maintained in an
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/DumpBytecode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/DumpBytecode.java
index 55de34056..f682fd62f 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/DumpBytecode.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/DumpBytecode.java
@@ -23,15 +23,15 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import java.io.File;
 import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.PrintWriter;
-import jdk.nashorn.internal.runtime.ECMAErrors;
-import jdk.nashorn.internal.runtime.ScriptEnvironment;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.ECMAErrors;
+import org.openjdk.nashorn.internal.runtime.ScriptEnvironment;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
 
 /**
  * Class that facilitates printing bytecode and dumping it to disk.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FieldObjectCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FieldObjectCreator.java
index 77b612f08..1c3795905 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FieldObjectCreator.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FieldObjectCreator.java
@@ -23,25 +23,25 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.constructorNoLookup;
-import static jdk.nashorn.internal.codegen.CompilerConstants.typeDescriptor;
-import static jdk.nashorn.internal.codegen.ObjectClassGenerator.PRIMITIVE_FIELD_TYPE;
-import static jdk.nashorn.internal.codegen.ObjectClassGenerator.getFieldName;
-import static jdk.nashorn.internal.codegen.ObjectClassGenerator.getPaddedFieldCount;
-import static jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex;
-import static jdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.constructorNoLookup;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.typeDescriptor;
+import static org.openjdk.nashorn.internal.codegen.ObjectClassGenerator.PRIMITIVE_FIELD_TYPE;
+import static org.openjdk.nashorn.internal.codegen.ObjectClassGenerator.getFieldName;
+import static org.openjdk.nashorn.internal.codegen.ObjectClassGenerator.getPaddedFieldCount;
+import static org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex;
+import static org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex;
 
 import java.util.List;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.JSType;
-import jdk.nashorn.internal.runtime.PropertyMap;
-import jdk.nashorn.internal.runtime.ScriptObject;
-import jdk.nashorn.internal.runtime.arrays.ArrayIndex;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.JSType;
+import org.openjdk.nashorn.internal.runtime.PropertyMap;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex;
 
 /**
  * Analyze an object's characteristics for appropriate code generation. This
@@ -49,7 +49,7 @@
  * to assign to the various fields in the object. This is done by the generated code
  *
  * @param  the value type for the fields being written on object creation, e.g. Node
- * @see jdk.nashorn.internal.ir.Node
+ * @see org.openjdk.nashorn.internal.ir.Node
  */
 public abstract class FieldObjectCreator extends ObjectCreator {
 
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FindScopeDepths.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FindScopeDepths.java
index 40c529a8d..b778bbc52 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FindScopeDepths.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FindScopeDepths.java
@@ -23,28 +23,28 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.runtime.logging.DebugLogger.quote;
+import static org.openjdk.nashorn.internal.runtime.logging.DebugLogger.quote;
 
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Iterator;
 import java.util.Map;
 import java.util.Set;
-import jdk.nashorn.internal.ir.Block;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.IdentNode;
-import jdk.nashorn.internal.ir.LexicalContext;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.WithNode;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.logging.Loggable;
-import jdk.nashorn.internal.runtime.logging.Logger;
+import org.openjdk.nashorn.internal.ir.Block;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.IdentNode;
+import org.openjdk.nashorn.internal.ir.LexicalContext;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.WithNode;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.logging.Loggable;
+import org.openjdk.nashorn.internal.runtime.logging.Logger;
 
 /**
  * Establishes depth of scope for non local symbols at the start of method.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FoldConstants.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FoldConstants.java
index d66a2e9e3..3f7d2ccfe 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FoldConstants.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FoldConstants.java
@@ -23,36 +23,36 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import java.util.ArrayList;
 import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.BinaryNode;
-import jdk.nashorn.internal.ir.Block;
-import jdk.nashorn.internal.ir.BlockStatement;
-import jdk.nashorn.internal.ir.CaseNode;
-import jdk.nashorn.internal.ir.EmptyNode;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.IfNode;
-import jdk.nashorn.internal.ir.LiteralNode;
-import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.Statement;
-import jdk.nashorn.internal.ir.SwitchNode;
-import jdk.nashorn.internal.ir.TernaryNode;
-import jdk.nashorn.internal.ir.UnaryNode;
-import jdk.nashorn.internal.ir.VarNode;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.JSType;
-import jdk.nashorn.internal.runtime.ScriptRuntime;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.logging.Loggable;
-import jdk.nashorn.internal.runtime.logging.Logger;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.BinaryNode;
+import org.openjdk.nashorn.internal.ir.Block;
+import org.openjdk.nashorn.internal.ir.BlockStatement;
+import org.openjdk.nashorn.internal.ir.CaseNode;
+import org.openjdk.nashorn.internal.ir.EmptyNode;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.IfNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.Statement;
+import org.openjdk.nashorn.internal.ir.SwitchNode;
+import org.openjdk.nashorn.internal.ir.TernaryNode;
+import org.openjdk.nashorn.internal.ir.UnaryNode;
+import org.openjdk.nashorn.internal.ir.VarNode;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.JSType;
+import org.openjdk.nashorn.internal.runtime.ScriptRuntime;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.logging.Loggable;
+import org.openjdk.nashorn.internal.runtime.logging.Logger;
 
 /**
  * Simple constant folding pass, executed before IR is starting to be lowered.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FunctionSignature.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FunctionSignature.java
index ab80c3d3a..b21f62fa4 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FunctionSignature.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/FunctionSignature.java
@@ -23,18 +23,18 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.lookup.Lookup.MH;
+import static org.openjdk.nashorn.internal.lookup.Lookup.MH;
 
 import java.lang.invoke.MethodType;
 import java.util.ArrayList;
 import java.util.List;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.runtime.ScriptFunction;
-import jdk.nashorn.internal.runtime.linker.LinkerCallSite;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.runtime.ScriptFunction;
+import org.openjdk.nashorn.internal.runtime.linker.LinkerCallSite;
 
 /**
  * Class that generates function signatures for dynamic calls
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java
index a54f35e6c..0b17761dc 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java
@@ -22,7 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import java.io.Serializable;
 import java.util.ArrayList;
@@ -31,7 +31,7 @@
 import java.util.Iterator;
 import java.util.List;
 import java.util.ListIterator;
-import jdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.codegen.types.Type;
 
 /**
  * Abstraction for labels, separating a label from the underlying
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalStateRestorationInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalStateRestorationInfo.java
index 8ee1e9e5c..31300c1a5 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalStateRestorationInfo.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalStateRestorationInfo.java
@@ -22,9 +22,9 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import jdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.codegen.types.Type;
 
 /**
  * Encapsulates the information for restoring the local state when continuing execution after a rewrite triggered by
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
index 154686999..165be5a32 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
@@ -23,11 +23,11 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.codegen.CompilerConstants.RETURN;
-import static jdk.nashorn.internal.ir.Expression.isAlwaysFalse;
-import static jdk.nashorn.internal.ir.Expression.isAlwaysTrue;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.RETURN;
+import static org.openjdk.nashorn.internal.ir.Expression.isAlwaysFalse;
+import static org.openjdk.nashorn.internal.ir.Expression.isAlwaysTrue;
 
 import java.util.ArrayDeque;
 import java.util.ArrayList;
@@ -41,56 +41,56 @@
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.AccessNode;
-import jdk.nashorn.internal.ir.BaseNode;
-import jdk.nashorn.internal.ir.BinaryNode;
-import jdk.nashorn.internal.ir.Block;
-import jdk.nashorn.internal.ir.BreakNode;
-import jdk.nashorn.internal.ir.BreakableNode;
-import jdk.nashorn.internal.ir.CallNode;
-import jdk.nashorn.internal.ir.CaseNode;
-import jdk.nashorn.internal.ir.CatchNode;
-import jdk.nashorn.internal.ir.ContinueNode;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.ExpressionStatement;
-import jdk.nashorn.internal.ir.ForNode;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.GetSplitState;
-import jdk.nashorn.internal.ir.IdentNode;
-import jdk.nashorn.internal.ir.IfNode;
-import jdk.nashorn.internal.ir.IndexNode;
-import jdk.nashorn.internal.ir.JoinPredecessor;
-import jdk.nashorn.internal.ir.JoinPredecessorExpression;
-import jdk.nashorn.internal.ir.JumpStatement;
-import jdk.nashorn.internal.ir.JumpToInlinedFinally;
-import jdk.nashorn.internal.ir.LabelNode;
-import jdk.nashorn.internal.ir.LexicalContext;
-import jdk.nashorn.internal.ir.LexicalContextNode;
-import jdk.nashorn.internal.ir.LiteralNode;
-import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
-import jdk.nashorn.internal.ir.LocalVariableConversion;
-import jdk.nashorn.internal.ir.LoopNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.ObjectNode;
-import jdk.nashorn.internal.ir.PropertyNode;
-import jdk.nashorn.internal.ir.ReturnNode;
-import jdk.nashorn.internal.ir.RuntimeNode;
-import jdk.nashorn.internal.ir.RuntimeNode.Request;
-import jdk.nashorn.internal.ir.SplitReturn;
-import jdk.nashorn.internal.ir.Statement;
-import jdk.nashorn.internal.ir.SwitchNode;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.TernaryNode;
-import jdk.nashorn.internal.ir.ThrowNode;
-import jdk.nashorn.internal.ir.TryNode;
-import jdk.nashorn.internal.ir.UnaryNode;
-import jdk.nashorn.internal.ir.VarNode;
-import jdk.nashorn.internal.ir.WhileNode;
-import jdk.nashorn.internal.ir.WithNode;
-import jdk.nashorn.internal.ir.visitor.NodeVisitor;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.parser.TokenType;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.AccessNode;
+import org.openjdk.nashorn.internal.ir.BaseNode;
+import org.openjdk.nashorn.internal.ir.BinaryNode;
+import org.openjdk.nashorn.internal.ir.Block;
+import org.openjdk.nashorn.internal.ir.BreakNode;
+import org.openjdk.nashorn.internal.ir.BreakableNode;
+import org.openjdk.nashorn.internal.ir.CallNode;
+import org.openjdk.nashorn.internal.ir.CaseNode;
+import org.openjdk.nashorn.internal.ir.CatchNode;
+import org.openjdk.nashorn.internal.ir.ContinueNode;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.ExpressionStatement;
+import org.openjdk.nashorn.internal.ir.ForNode;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.GetSplitState;
+import org.openjdk.nashorn.internal.ir.IdentNode;
+import org.openjdk.nashorn.internal.ir.IfNode;
+import org.openjdk.nashorn.internal.ir.IndexNode;
+import org.openjdk.nashorn.internal.ir.JoinPredecessor;
+import org.openjdk.nashorn.internal.ir.JoinPredecessorExpression;
+import org.openjdk.nashorn.internal.ir.JumpStatement;
+import org.openjdk.nashorn.internal.ir.JumpToInlinedFinally;
+import org.openjdk.nashorn.internal.ir.LabelNode;
+import org.openjdk.nashorn.internal.ir.LexicalContext;
+import org.openjdk.nashorn.internal.ir.LexicalContextNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
+import org.openjdk.nashorn.internal.ir.LocalVariableConversion;
+import org.openjdk.nashorn.internal.ir.LoopNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.ObjectNode;
+import org.openjdk.nashorn.internal.ir.PropertyNode;
+import org.openjdk.nashorn.internal.ir.ReturnNode;
+import org.openjdk.nashorn.internal.ir.RuntimeNode;
+import org.openjdk.nashorn.internal.ir.RuntimeNode.Request;
+import org.openjdk.nashorn.internal.ir.SplitReturn;
+import org.openjdk.nashorn.internal.ir.Statement;
+import org.openjdk.nashorn.internal.ir.SwitchNode;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.TernaryNode;
+import org.openjdk.nashorn.internal.ir.ThrowNode;
+import org.openjdk.nashorn.internal.ir.TryNode;
+import org.openjdk.nashorn.internal.ir.UnaryNode;
+import org.openjdk.nashorn.internal.ir.VarNode;
+import org.openjdk.nashorn.internal.ir.WhileNode;
+import org.openjdk.nashorn.internal.ir.WithNode;
+import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.parser.TokenType;
 
 /**
  * Calculates types for local variables. For purposes of local variable type calculation, the only types used are
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Lower.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Lower.java
index 4c50be22a..56b5357f4 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Lower.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Lower.java
@@ -23,11 +23,11 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.codegen.CompilerConstants.EVAL;
-import static jdk.nashorn.internal.codegen.CompilerConstants.RETURN;
-import static jdk.nashorn.internal.ir.Expression.isAlwaysTrue;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.EVAL;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.RETURN;
+import static org.openjdk.nashorn.internal.ir.Expression.isAlwaysTrue;
 
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -35,60 +35,60 @@
 import java.util.List;
 import java.util.ListIterator;
 import java.util.regex.Pattern;
-import jdk.nashorn.internal.ir.AccessNode;
-import jdk.nashorn.internal.ir.BaseNode;
-import jdk.nashorn.internal.ir.BinaryNode;
-import jdk.nashorn.internal.ir.Block;
-import jdk.nashorn.internal.ir.BlockLexicalContext;
-import jdk.nashorn.internal.ir.BlockStatement;
-import jdk.nashorn.internal.ir.BreakNode;
-import jdk.nashorn.internal.ir.CallNode;
-import jdk.nashorn.internal.ir.CaseNode;
-import jdk.nashorn.internal.ir.CatchNode;
-import jdk.nashorn.internal.ir.ClassNode;
-import jdk.nashorn.internal.ir.ContinueNode;
-import jdk.nashorn.internal.ir.DebuggerNode;
-import jdk.nashorn.internal.ir.EmptyNode;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.ExpressionStatement;
-import jdk.nashorn.internal.ir.ForNode;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.IdentNode;
-import jdk.nashorn.internal.ir.IfNode;
-import jdk.nashorn.internal.ir.IndexNode;
-import jdk.nashorn.internal.ir.JumpStatement;
-import jdk.nashorn.internal.ir.JumpToInlinedFinally;
-import jdk.nashorn.internal.ir.LabelNode;
-import jdk.nashorn.internal.ir.LexicalContext;
-import jdk.nashorn.internal.ir.LiteralNode;
-import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
-import jdk.nashorn.internal.ir.LiteralNode.PrimitiveLiteralNode;
-import jdk.nashorn.internal.ir.LoopNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.ObjectNode;
-import jdk.nashorn.internal.ir.ReturnNode;
-import jdk.nashorn.internal.ir.RuntimeNode;
-import jdk.nashorn.internal.ir.Statement;
-import jdk.nashorn.internal.ir.SwitchNode;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.ThrowNode;
-import jdk.nashorn.internal.ir.TryNode;
-import jdk.nashorn.internal.ir.UnaryNode;
-import jdk.nashorn.internal.ir.VarNode;
-import jdk.nashorn.internal.ir.WhileNode;
-import jdk.nashorn.internal.ir.WithNode;
-import jdk.nashorn.internal.ir.visitor.NodeOperatorVisitor;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.parser.Token;
-import jdk.nashorn.internal.parser.TokenType;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.ECMAErrors;
-import jdk.nashorn.internal.runtime.ErrorManager;
-import jdk.nashorn.internal.runtime.JSType;
-import jdk.nashorn.internal.runtime.Source;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.logging.Loggable;
-import jdk.nashorn.internal.runtime.logging.Logger;
+import org.openjdk.nashorn.internal.ir.AccessNode;
+import org.openjdk.nashorn.internal.ir.BaseNode;
+import org.openjdk.nashorn.internal.ir.BinaryNode;
+import org.openjdk.nashorn.internal.ir.Block;
+import org.openjdk.nashorn.internal.ir.BlockLexicalContext;
+import org.openjdk.nashorn.internal.ir.BlockStatement;
+import org.openjdk.nashorn.internal.ir.BreakNode;
+import org.openjdk.nashorn.internal.ir.CallNode;
+import org.openjdk.nashorn.internal.ir.CaseNode;
+import org.openjdk.nashorn.internal.ir.CatchNode;
+import org.openjdk.nashorn.internal.ir.ClassNode;
+import org.openjdk.nashorn.internal.ir.ContinueNode;
+import org.openjdk.nashorn.internal.ir.DebuggerNode;
+import org.openjdk.nashorn.internal.ir.EmptyNode;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.ExpressionStatement;
+import org.openjdk.nashorn.internal.ir.ForNode;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.IdentNode;
+import org.openjdk.nashorn.internal.ir.IfNode;
+import org.openjdk.nashorn.internal.ir.IndexNode;
+import org.openjdk.nashorn.internal.ir.JumpStatement;
+import org.openjdk.nashorn.internal.ir.JumpToInlinedFinally;
+import org.openjdk.nashorn.internal.ir.LabelNode;
+import org.openjdk.nashorn.internal.ir.LexicalContext;
+import org.openjdk.nashorn.internal.ir.LiteralNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode;
+import org.openjdk.nashorn.internal.ir.LiteralNode.PrimitiveLiteralNode;
+import org.openjdk.nashorn.internal.ir.LoopNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.ObjectNode;
+import org.openjdk.nashorn.internal.ir.ReturnNode;
+import org.openjdk.nashorn.internal.ir.RuntimeNode;
+import org.openjdk.nashorn.internal.ir.Statement;
+import org.openjdk.nashorn.internal.ir.SwitchNode;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.ThrowNode;
+import org.openjdk.nashorn.internal.ir.TryNode;
+import org.openjdk.nashorn.internal.ir.UnaryNode;
+import org.openjdk.nashorn.internal.ir.VarNode;
+import org.openjdk.nashorn.internal.ir.WhileNode;
+import org.openjdk.nashorn.internal.ir.WithNode;
+import org.openjdk.nashorn.internal.ir.visitor.NodeOperatorVisitor;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.parser.Token;
+import org.openjdk.nashorn.internal.parser.TokenType;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.ECMAErrors;
+import org.openjdk.nashorn.internal.runtime.ErrorManager;
+import org.openjdk.nashorn.internal.runtime.JSType;
+import org.openjdk.nashorn.internal.runtime.Source;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.logging.Loggable;
+import org.openjdk.nashorn.internal.runtime.logging.Logger;
 
 /**
  * Lower to more primitive operations. After lowering, an AST still has no symbols
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapCreator.java
index be99db99c..7b35df7bb 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapCreator.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapCreator.java
@@ -23,19 +23,19 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex;
-import static jdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex;
+import static org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex;
+import static org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex;
 
 import java.util.ArrayList;
 import java.util.List;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.runtime.AccessorProperty;
-import jdk.nashorn.internal.runtime.Property;
-import jdk.nashorn.internal.runtime.PropertyMap;
-import jdk.nashorn.internal.runtime.ScriptObject;
-import jdk.nashorn.internal.runtime.SpillProperty;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.runtime.AccessorProperty;
+import org.openjdk.nashorn.internal.runtime.Property;
+import org.openjdk.nashorn.internal.runtime.PropertyMap;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.runtime.SpillProperty;
 
 /**
  * Class that creates PropertyMap sent to script object constructors.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapTuple.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapTuple.java
index 44cdc8b2c..c8ef2e5d9 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapTuple.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MapTuple.java
@@ -23,10 +23,10 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.Symbol;
 
 /**
  * A tuple of values used for map creation
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java
index f45f65dc7..25c7b363f 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import static jdk.internal.org.objectweb.asm.Opcodes.ATHROW;
 import static jdk.internal.org.objectweb.asm.Opcodes.CHECKCAST;
@@ -58,21 +58,21 @@
 import static jdk.internal.org.objectweb.asm.Opcodes.PUTFIELD;
 import static jdk.internal.org.objectweb.asm.Opcodes.PUTSTATIC;
 import static jdk.internal.org.objectweb.asm.Opcodes.RETURN;
-import static jdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.THIS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.THIS_DEBUGGER;
-import static jdk.nashorn.internal.codegen.CompilerConstants.VARARGS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.className;
-import static jdk.nashorn.internal.codegen.CompilerConstants.constructorNoLookup;
-import static jdk.nashorn.internal.codegen.CompilerConstants.methodDescriptor;
-import static jdk.nashorn.internal.codegen.CompilerConstants.staticField;
-import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
-import static jdk.nashorn.internal.codegen.ObjectClassGenerator.PRIMITIVE_FIELD_TYPE;
-import static jdk.nashorn.internal.runtime.linker.NameCodec.EMPTY_NAME;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_OPTIMISTIC;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_PROGRAM_POINT_SHIFT;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.THIS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.THIS_DEBUGGER;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.VARARGS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.className;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.constructorNoLookup;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.methodDescriptor;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticField;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
+import static org.openjdk.nashorn.internal.codegen.ObjectClassGenerator.PRIMITIVE_FIELD_TYPE;
+import static org.openjdk.nashorn.internal.runtime.linker.NameCodec.EMPTY_NAME;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_OPTIMISTIC;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_PROGRAM_POINT_SHIFT;
 
 import java.io.PrintStream;
 import java.lang.reflect.Array;
@@ -83,35 +83,35 @@
 import java.util.Map;
 import jdk.internal.org.objectweb.asm.Handle;
 import jdk.internal.org.objectweb.asm.MethodVisitor;
-import jdk.nashorn.internal.codegen.ClassEmitter.Flag;
-import jdk.nashorn.internal.codegen.CompilerConstants.Call;
-import jdk.nashorn.internal.codegen.CompilerConstants.FieldAccess;
-import jdk.nashorn.internal.codegen.types.ArrayType;
-import jdk.nashorn.internal.codegen.types.BitwiseType;
-import jdk.nashorn.internal.codegen.types.NumericType;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.IdentNode;
-import jdk.nashorn.internal.ir.JoinPredecessor;
-import jdk.nashorn.internal.ir.LiteralNode;
-import jdk.nashorn.internal.ir.LocalVariableConversion;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.TryNode;
-import jdk.nashorn.internal.objects.NativeArray;
-import jdk.nashorn.internal.runtime.ArgumentSetter;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.Debug;
-import jdk.nashorn.internal.runtime.JSType;
-import jdk.nashorn.internal.runtime.RewriteException;
-import jdk.nashorn.internal.runtime.Scope;
-import jdk.nashorn.internal.runtime.ScriptObject;
-import jdk.nashorn.internal.runtime.ScriptRuntime;
-import jdk.nashorn.internal.runtime.UnwarrantedOptimismException;
-import jdk.nashorn.internal.runtime.linker.Bootstrap;
-import jdk.nashorn.internal.runtime.linker.NameCodec;
-import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.options.Options;
+import org.openjdk.nashorn.internal.codegen.ClassEmitter.Flag;
+import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call;
+import org.openjdk.nashorn.internal.codegen.CompilerConstants.FieldAccess;
+import org.openjdk.nashorn.internal.codegen.types.ArrayType;
+import org.openjdk.nashorn.internal.codegen.types.BitwiseType;
+import org.openjdk.nashorn.internal.codegen.types.NumericType;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.IdentNode;
+import org.openjdk.nashorn.internal.ir.JoinPredecessor;
+import org.openjdk.nashorn.internal.ir.LiteralNode;
+import org.openjdk.nashorn.internal.ir.LocalVariableConversion;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.TryNode;
+import org.openjdk.nashorn.internal.objects.NativeArray;
+import org.openjdk.nashorn.internal.runtime.ArgumentSetter;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.Debug;
+import org.openjdk.nashorn.internal.runtime.JSType;
+import org.openjdk.nashorn.internal.runtime.RewriteException;
+import org.openjdk.nashorn.internal.runtime.Scope;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.runtime.ScriptRuntime;
+import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException;
+import org.openjdk.nashorn.internal.runtime.linker.Bootstrap;
+import org.openjdk.nashorn.internal.runtime.linker.NameCodec;
+import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.options.Options;
 
 /**
  * This is the main function responsible for emitting method code
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Namespace.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Namespace.java
index 08ae356ed..1e73d8bd7 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Namespace.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Namespace.java
@@ -23,9 +23,9 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.codegen.MethodEmitter.LARGE_STRING_THRESHOLD;
+import static org.openjdk.nashorn.internal.codegen.MethodEmitter.LARGE_STRING_THRESHOLD;
 
 import java.util.HashMap;
 
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectClassGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectClassGenerator.java
index 72689175a..ca27b38df 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectClassGenerator.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectClassGenerator.java
@@ -23,28 +23,28 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
-
-import static jdk.nashorn.internal.codegen.Compiler.SCRIPTS_PACKAGE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.ALLOCATE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.INIT_ARGUMENTS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.INIT_MAP;
-import static jdk.nashorn.internal.codegen.CompilerConstants.INIT_SCOPE;
-import static jdk.nashorn.internal.codegen.CompilerConstants.JAVA_THIS;
-import static jdk.nashorn.internal.codegen.CompilerConstants.JS_OBJECT_DUAL_FIELD_PREFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.JS_OBJECT_SINGLE_FIELD_PREFIX;
-import static jdk.nashorn.internal.codegen.CompilerConstants.className;
-import static jdk.nashorn.internal.codegen.CompilerConstants.constructorNoLookup;
-import static jdk.nashorn.internal.lookup.Lookup.MH;
-import static jdk.nashorn.internal.runtime.JSType.CONVERT_OBJECT;
-import static jdk.nashorn.internal.runtime.JSType.CONVERT_OBJECT_OPTIMISTIC;
-import static jdk.nashorn.internal.runtime.JSType.GET_UNDEFINED;
-import static jdk.nashorn.internal.runtime.JSType.TYPE_DOUBLE_INDEX;
-import static jdk.nashorn.internal.runtime.JSType.TYPE_INT_INDEX;
-import static jdk.nashorn.internal.runtime.JSType.TYPE_OBJECT_INDEX;
-import static jdk.nashorn.internal.runtime.JSType.TYPE_UNDEFINED_INDEX;
-import static jdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex;
-import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
+package org.openjdk.nashorn.internal.codegen;
+
+import static org.openjdk.nashorn.internal.codegen.Compiler.SCRIPTS_PACKAGE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ALLOCATE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.INIT_ARGUMENTS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.INIT_MAP;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.INIT_SCOPE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.JAVA_THIS;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.JS_OBJECT_DUAL_FIELD_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.JS_OBJECT_SINGLE_FIELD_PREFIX;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.className;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.constructorNoLookup;
+import static org.openjdk.nashorn.internal.lookup.Lookup.MH;
+import static org.openjdk.nashorn.internal.runtime.JSType.CONVERT_OBJECT;
+import static org.openjdk.nashorn.internal.runtime.JSType.CONVERT_OBJECT_OPTIMISTIC;
+import static org.openjdk.nashorn.internal.runtime.JSType.GET_UNDEFINED;
+import static org.openjdk.nashorn.internal.runtime.JSType.TYPE_DOUBLE_INDEX;
+import static org.openjdk.nashorn.internal.runtime.JSType.TYPE_INT_INDEX;
+import static org.openjdk.nashorn.internal.runtime.JSType.TYPE_OBJECT_INDEX;
+import static org.openjdk.nashorn.internal.runtime.JSType.TYPE_UNDEFINED_INDEX;
+import static org.openjdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex;
+import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
 
 import java.lang.invoke.MethodHandle;
 import java.lang.invoke.MethodHandles;
@@ -53,21 +53,21 @@
 import java.util.Iterator;
 import java.util.LinkedList;
 import java.util.List;
-import jdk.nashorn.internal.codegen.ClassEmitter.Flag;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.runtime.AccessorProperty;
-import jdk.nashorn.internal.runtime.AllocationStrategy;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.FunctionScope;
-import jdk.nashorn.internal.runtime.JSType;
-import jdk.nashorn.internal.runtime.PropertyMap;
-import jdk.nashorn.internal.runtime.ScriptEnvironment;
-import jdk.nashorn.internal.runtime.ScriptObject;
-import jdk.nashorn.internal.runtime.Undefined;
-import jdk.nashorn.internal.runtime.UnwarrantedOptimismException;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.logging.Loggable;
-import jdk.nashorn.internal.runtime.logging.Logger;
+import org.openjdk.nashorn.internal.codegen.ClassEmitter.Flag;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.runtime.AccessorProperty;
+import org.openjdk.nashorn.internal.runtime.AllocationStrategy;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.FunctionScope;
+import org.openjdk.nashorn.internal.runtime.JSType;
+import org.openjdk.nashorn.internal.runtime.PropertyMap;
+import org.openjdk.nashorn.internal.runtime.ScriptEnvironment;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.runtime.Undefined;
+import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.logging.Loggable;
+import org.openjdk.nashorn.internal.runtime.logging.Logger;
 
 /**
  * Generates the ScriptObject subclass structure with fields for a user objects.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectCreator.java
index 9d4efecb8..bbd42a458 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectCreator.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ObjectCreator.java
@@ -23,15 +23,15 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SCOPE;
 
 import java.util.List;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.runtime.JSType;
-import jdk.nashorn.internal.runtime.PropertyMap;
-import jdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.runtime.JSType;
+import org.openjdk.nashorn.internal.runtime.PropertyMap;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
 
 /**
  * Base class for object creation code generation.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesCalculator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesCalculator.java
index 42f017f3b..c439a0438 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesCalculator.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesCalculator.java
@@ -23,39 +23,39 @@
  * questions.
  */
 
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
-import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
+import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
 
 import java.util.ArrayDeque;
 import java.util.BitSet;
 import java.util.Deque;
-import jdk.nashorn.internal.ir.AccessNode;
-import jdk.nashorn.internal.ir.BinaryNode;
-import jdk.nashorn.internal.ir.CallNode;
-import jdk.nashorn.internal.ir.CatchNode;
-import jdk.nashorn.internal.ir.Expression;
-import jdk.nashorn.internal.ir.ExpressionStatement;
-import jdk.nashorn.internal.ir.ForNode;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.IdentNode;
-import jdk.nashorn.internal.ir.IfNode;
-import jdk.nashorn.internal.ir.IndexNode;
-import jdk.nashorn.internal.ir.JoinPredecessorExpression;
-import jdk.nashorn.internal.ir.LiteralNode;
-import jdk.nashorn.internal.ir.LoopNode;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.ObjectNode;
-import jdk.nashorn.internal.ir.Optimistic;
-import jdk.nashorn.internal.ir.PropertyNode;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.TernaryNode;
-import jdk.nashorn.internal.ir.UnaryNode;
-import jdk.nashorn.internal.ir.VarNode;
-import jdk.nashorn.internal.ir.WhileNode;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.parser.TokenType;
-import jdk.nashorn.internal.runtime.ScriptObject;
+import org.openjdk.nashorn.internal.ir.AccessNode;
+import org.openjdk.nashorn.internal.ir.BinaryNode;
+import org.openjdk.nashorn.internal.ir.CallNode;
+import org.openjdk.nashorn.internal.ir.CatchNode;
+import org.openjdk.nashorn.internal.ir.Expression;
+import org.openjdk.nashorn.internal.ir.ExpressionStatement;
+import org.openjdk.nashorn.internal.ir.ForNode;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.IdentNode;
+import org.openjdk.nashorn.internal.ir.IfNode;
+import org.openjdk.nashorn.internal.ir.IndexNode;
+import org.openjdk.nashorn.internal.ir.JoinPredecessorExpression;
+import org.openjdk.nashorn.internal.ir.LiteralNode;
+import org.openjdk.nashorn.internal.ir.LoopNode;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.ObjectNode;
+import org.openjdk.nashorn.internal.ir.Optimistic;
+import org.openjdk.nashorn.internal.ir.PropertyNode;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.TernaryNode;
+import org.openjdk.nashorn.internal.ir.UnaryNode;
+import org.openjdk.nashorn.internal.ir.VarNode;
+import org.openjdk.nashorn.internal.ir.WhileNode;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.parser.TokenType;
+import org.openjdk.nashorn.internal.runtime.ScriptObject;
 
 /**
  * Assigns optimistic types to expressions that can have them. This class mainly contains logic for which expressions
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java
index 3fcb1ec27..ad8544d35 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/OptimisticTypesPersistence.java
@@ -22,7 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
-package jdk.nashorn.internal.codegen;
+package org.openjdk.nashorn.internal.codegen;
 
 import java.io.BufferedInputStream;
 import java.io.BufferedOutputStream;
@@ -59,12 +59,12 @@
 import java.util.function.IntFunction;
 import java.util.function.Predicate;
 import java.util.stream.Stream;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.runtime.Context;
-import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
-import jdk.nashorn.internal.runtime.Source;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.options.Options;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.runtime.Context;
+import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData;
+import org.openjdk.nashorn.internal.runtime.Source;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.options.Options;
 
 /**
  * 

Static utility that encapsulates persistence of type information for functions compiled with optimistic diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ProgramPoints.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ProgramPoints.java index bfc47eab7..3c524fb10 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ProgramPoints.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ProgramPoints.java @@ -22,26 +22,26 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.codegen; +package org.openjdk.nashorn.internal.codegen; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.FIRST_PROGRAM_POINT; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.MAX_PROGRAM_POINT_VALUE; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.FIRST_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.MAX_PROGRAM_POINT_VALUE; import java.util.HashSet; import java.util.Set; -import jdk.nashorn.internal.IntDeque; -import jdk.nashorn.internal.ir.AccessNode; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.CallNode; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.IndexNode; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.Optimistic; -import jdk.nashorn.internal.ir.UnaryNode; -import jdk.nashorn.internal.ir.VarNode; -import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; +import org.openjdk.nashorn.internal.IntDeque; +import org.openjdk.nashorn.internal.ir.AccessNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.CallNode; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.IndexNode; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.Optimistic; +import org.openjdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; /** * Find program points in the code that are needed for optimistic assumptions diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ReplaceCompileUnits.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ReplaceCompileUnits.java index 594ba668d..dfbdd2319 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ReplaceCompileUnits.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ReplaceCompileUnits.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.codegen; +package org.openjdk.nashorn.internal.codegen; import java.util.ArrayList; import java.util.List; -import jdk.nashorn.internal.ir.CompileUnitHolder; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.ObjectNode; -import jdk.nashorn.internal.ir.Splittable; -import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; +import org.openjdk.nashorn.internal.ir.CompileUnitHolder; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.ObjectNode; +import org.openjdk.nashorn.internal.ir.Splittable; +import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; /** * Base class for a node visitor that replaces {@link CompileUnit}s in {@link CompileUnitHolder}s. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SharedScopeCall.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SharedScopeCall.java index 0d7e54995..c71a9adac 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SharedScopeCall.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SharedScopeCall.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.codegen; +package org.openjdk.nashorn.internal.codegen; -import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_OPTIMISTIC; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_OPTIMISTIC; import java.util.Arrays; import java.util.EnumSet; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.Symbol; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.UnwarrantedOptimismException; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.Symbol; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * A scope call or get operation that can be shared by several call sites. This generates a static diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SpillObjectCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SpillObjectCreator.java index c23920bf7..488ddb539 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SpillObjectCreator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SpillObjectCreator.java @@ -23,26 +23,26 @@ * questions. */ -package jdk.nashorn.internal.codegen; +package org.openjdk.nashorn.internal.codegen; -import static jdk.nashorn.internal.codegen.CompilerConstants.constructorNoLookup; -import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.constructorNoLookup; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.Property; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.ArrayIndex; -import jdk.nashorn.internal.scripts.JD; -import jdk.nashorn.internal.scripts.JO; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.Property; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex; +import org.openjdk.nashorn.internal.scripts.JD; +import org.openjdk.nashorn.internal.scripts.JO; /** * An object creator that uses spill properties. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SplitIntoFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SplitIntoFunctions.java index 1054fae29..e366bd2b6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SplitIntoFunctions.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/SplitIntoFunctions.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.codegen; +package org.openjdk.nashorn.internal.codegen; -import static jdk.nashorn.internal.ir.Node.NO_FINISH; -import static jdk.nashorn.internal.ir.Node.NO_LINE_NUMBER; -import static jdk.nashorn.internal.ir.Node.NO_TOKEN; +import static org.openjdk.nashorn.internal.ir.Node.NO_FINISH; +import static org.openjdk.nashorn.internal.ir.Node.NO_LINE_NUMBER; +import static org.openjdk.nashorn.internal.ir.Node.NO_TOKEN; import java.util.ArrayDeque; import java.util.ArrayList; @@ -36,34 +36,34 @@ import java.util.Deque; import java.util.List; import java.util.Objects; -import jdk.nashorn.internal.ir.AccessNode; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.BlockLexicalContext; -import jdk.nashorn.internal.ir.BreakNode; -import jdk.nashorn.internal.ir.CallNode; -import jdk.nashorn.internal.ir.CaseNode; -import jdk.nashorn.internal.ir.ContinueNode; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.ExpressionStatement; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.GetSplitState; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.IfNode; -import jdk.nashorn.internal.ir.JumpStatement; -import jdk.nashorn.internal.ir.JumpToInlinedFinally; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.ReturnNode; -import jdk.nashorn.internal.ir.SetSplitState; -import jdk.nashorn.internal.ir.SplitNode; -import jdk.nashorn.internal.ir.SplitReturn; -import jdk.nashorn.internal.ir.Statement; -import jdk.nashorn.internal.ir.SwitchNode; -import jdk.nashorn.internal.ir.VarNode; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.ir.AccessNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.BlockLexicalContext; +import org.openjdk.nashorn.internal.ir.BreakNode; +import org.openjdk.nashorn.internal.ir.CallNode; +import org.openjdk.nashorn.internal.ir.CaseNode; +import org.openjdk.nashorn.internal.ir.ContinueNode; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.ExpressionStatement; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.GetSplitState; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.IfNode; +import org.openjdk.nashorn.internal.ir.JumpStatement; +import org.openjdk.nashorn.internal.ir.JumpToInlinedFinally; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.ReturnNode; +import org.openjdk.nashorn.internal.ir.SetSplitState; +import org.openjdk.nashorn.internal.ir.SplitNode; +import org.openjdk.nashorn.internal.ir.SplitReturn; +import org.openjdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.SwitchNode; +import org.openjdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.parser.TokenType; /** * A node visitor that replaces {@link SplitNode}s with anonymous function invocations and some additional constructs diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java index 7f3680eb5..b1d8b3db5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java @@ -23,31 +23,31 @@ * questions. */ -package jdk.nashorn.internal.codegen; +package org.openjdk.nashorn.internal.codegen; -import static jdk.nashorn.internal.codegen.CompilerConstants.SPLIT_PREFIX; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SPLIT_PREFIX; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.ObjectNode; -import jdk.nashorn.internal.ir.PropertyNode; -import jdk.nashorn.internal.ir.SplitNode; -import jdk.nashorn.internal.ir.Splittable; -import jdk.nashorn.internal.ir.Statement; -import jdk.nashorn.internal.ir.VarNode; -import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.logging.DebugLogger; -import jdk.nashorn.internal.runtime.logging.Loggable; -import jdk.nashorn.internal.runtime.logging.Logger; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.ObjectNode; +import org.openjdk.nashorn.internal.ir.PropertyNode; +import org.openjdk.nashorn.internal.ir.SplitNode; +import org.openjdk.nashorn.internal.ir.Splittable; +import org.openjdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.logging.DebugLogger; +import org.openjdk.nashorn.internal.runtime.logging.Loggable; +import org.openjdk.nashorn.internal.runtime.logging.Logger; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * Split the IR into smaller compile units. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeEvaluator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeEvaluator.java index 96e334a49..b2cecf233 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeEvaluator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeEvaluator.java @@ -23,30 +23,30 @@ * questions. */ -package jdk.nashorn.internal.codegen; +package org.openjdk.nashorn.internal.codegen; -import static jdk.nashorn.internal.runtime.Property.NOT_CONFIGURABLE; -import static jdk.nashorn.internal.runtime.Property.NOT_ENUMERABLE; -import static jdk.nashorn.internal.runtime.Property.NOT_WRITABLE; +import static org.openjdk.nashorn.internal.runtime.Property.NOT_CONFIGURABLE; +import static org.openjdk.nashorn.internal.runtime.Property.NOT_ENUMERABLE; +import static org.openjdk.nashorn.internal.runtime.Property.NOT_WRITABLE; import java.lang.invoke.MethodType; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.AccessNode; -import jdk.nashorn.internal.ir.CallNode; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.IndexNode; -import jdk.nashorn.internal.ir.Optimistic; -import jdk.nashorn.internal.objects.ArrayBufferView; -import jdk.nashorn.internal.objects.NativeArray; -import jdk.nashorn.internal.runtime.FindProperty; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.Property; -import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.AccessNode; +import org.openjdk.nashorn.internal.ir.CallNode; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.IndexNode; +import org.openjdk.nashorn.internal.ir.Optimistic; +import org.openjdk.nashorn.internal.objects.ArrayBufferView; +import org.openjdk.nashorn.internal.objects.NativeArray; +import org.openjdk.nashorn.internal.runtime.FindProperty; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.Property; +import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Functionality for using a runtime scope to look up value types. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeMap.java index 729d9c105..e773d8499 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeMap.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/TypeMap.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.codegen; +package org.openjdk.nashorn.internal.codegen; import java.lang.invoke.MethodType; import java.util.Arrays; import java.util.NoSuchElementException; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; /** * A tuple containing function id, parameter types, return type and needsCallee flag. @@ -93,7 +93,7 @@ MethodType getCallSiteType(final FunctionNode functionNode) { /** * Does the function using this TypeMap need a callee argument. This is used - * to compute correct param index offsets in {@link jdk.nashorn.internal.codegen.ApplySpecialization} + * to compute correct param index offsets in {@link org.openjdk.nashorn.internal.codegen.ApplySpecialization} * @return true if a callee is needed, false otherwise */ public boolean needsCallee() { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/WeighNodes.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/WeighNodes.java index a2a6713dd..addb227ee 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/WeighNodes.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/WeighNodes.java @@ -23,42 +23,42 @@ * questions. */ -package jdk.nashorn.internal.codegen; +package org.openjdk.nashorn.internal.codegen; import java.util.List; import java.util.Map; -import jdk.nashorn.internal.ir.AccessNode; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.BreakNode; -import jdk.nashorn.internal.ir.CallNode; -import jdk.nashorn.internal.ir.CatchNode; -import jdk.nashorn.internal.ir.ContinueNode; -import jdk.nashorn.internal.ir.ExpressionStatement; -import jdk.nashorn.internal.ir.ForNode; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.IfNode; -import jdk.nashorn.internal.ir.IndexNode; -import jdk.nashorn.internal.ir.JumpToInlinedFinally; -import jdk.nashorn.internal.ir.LexicalContext; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.ObjectNode; -import jdk.nashorn.internal.ir.PropertyNode; -import jdk.nashorn.internal.ir.ReturnNode; -import jdk.nashorn.internal.ir.RuntimeNode; -import jdk.nashorn.internal.ir.SplitNode; -import jdk.nashorn.internal.ir.Splittable; -import jdk.nashorn.internal.ir.SwitchNode; -import jdk.nashorn.internal.ir.ThrowNode; -import jdk.nashorn.internal.ir.TryNode; -import jdk.nashorn.internal.ir.UnaryNode; -import jdk.nashorn.internal.ir.VarNode; -import jdk.nashorn.internal.ir.WhileNode; -import jdk.nashorn.internal.ir.WithNode; -import jdk.nashorn.internal.ir.visitor.NodeOperatorVisitor; +import org.openjdk.nashorn.internal.ir.AccessNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.BreakNode; +import org.openjdk.nashorn.internal.ir.CallNode; +import org.openjdk.nashorn.internal.ir.CatchNode; +import org.openjdk.nashorn.internal.ir.ContinueNode; +import org.openjdk.nashorn.internal.ir.ExpressionStatement; +import org.openjdk.nashorn.internal.ir.ForNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.IfNode; +import org.openjdk.nashorn.internal.ir.IndexNode; +import org.openjdk.nashorn.internal.ir.JumpToInlinedFinally; +import org.openjdk.nashorn.internal.ir.LexicalContext; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.LiteralNode.ArrayLiteralNode; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.ObjectNode; +import org.openjdk.nashorn.internal.ir.PropertyNode; +import org.openjdk.nashorn.internal.ir.ReturnNode; +import org.openjdk.nashorn.internal.ir.RuntimeNode; +import org.openjdk.nashorn.internal.ir.SplitNode; +import org.openjdk.nashorn.internal.ir.Splittable; +import org.openjdk.nashorn.internal.ir.SwitchNode; +import org.openjdk.nashorn.internal.ir.ThrowNode; +import org.openjdk.nashorn.internal.ir.TryNode; +import org.openjdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.WhileNode; +import org.openjdk.nashorn.internal.ir.WithNode; +import org.openjdk.nashorn.internal.ir.visitor.NodeOperatorVisitor; /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java index 442e3955f..b4275f990 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import static jdk.internal.org.objectweb.asm.Opcodes.AALOAD; import static jdk.internal.org.objectweb.asm.Opcodes.AASTORE; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BitwiseType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BitwiseType.java index 45fa52767..dcf125097 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BitwiseType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BitwiseType.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; /** * This class represents a numeric type that can be used for bit operations. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java index 1dcd8e8a5..323326168 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import static jdk.internal.org.objectweb.asm.Opcodes.I2D; import static jdk.internal.org.objectweb.asm.Opcodes.I2L; @@ -32,11 +32,11 @@ import static jdk.internal.org.objectweb.asm.Opcodes.ILOAD; import static jdk.internal.org.objectweb.asm.Opcodes.IRETURN; import static jdk.internal.org.objectweb.asm.Opcodes.ISTORE; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; -import static jdk.nashorn.internal.runtime.JSType.UNDEFINED_INT; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; +import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_INT; import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; /** * The boolean type class diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java index d38cec318..fb88c3265 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import jdk.internal.org.objectweb.asm.MethodVisitor; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java index ca3e1d3f0..0703459ed 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import jdk.internal.org.objectweb.asm.MethodVisitor; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java index 91209c264..055be2b33 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import jdk.internal.org.objectweb.asm.MethodVisitor; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java index 31e4bb620..e400ec3a5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import jdk.internal.org.objectweb.asm.MethodVisitor; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java index c5ee415d4..00cb59948 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import static jdk.internal.org.objectweb.asm.Opcodes.BIPUSH; import static jdk.internal.org.objectweb.asm.Opcodes.I2D; @@ -49,13 +49,13 @@ import static jdk.internal.org.objectweb.asm.Opcodes.IUSHR; import static jdk.internal.org.objectweb.asm.Opcodes.IXOR; import static jdk.internal.org.objectweb.asm.Opcodes.SIPUSH; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; -import static jdk.nashorn.internal.runtime.JSType.UNDEFINED_INT; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; +import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_INT; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.runtime.JSType; /** * Type class: INT diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java index 7a19d3bbe..a267d269f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import static jdk.internal.org.objectweb.asm.Opcodes.L2D; import static jdk.internal.org.objectweb.asm.Opcodes.L2I; @@ -32,12 +32,12 @@ import static jdk.internal.org.objectweb.asm.Opcodes.LLOAD; import static jdk.internal.org.objectweb.asm.Opcodes.LRETURN; import static jdk.internal.org.objectweb.asm.Opcodes.LSTORE; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; -import static jdk.nashorn.internal.runtime.JSType.UNDEFINED_LONG; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; +import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_LONG; import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.runtime.JSType; /** * Type class: LONG diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java index 924880b18..065d84423 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import static jdk.internal.org.objectweb.asm.Opcodes.DADD; import static jdk.internal.org.objectweb.asm.Opcodes.DCMPG; @@ -38,12 +38,12 @@ import static jdk.internal.org.objectweb.asm.Opcodes.DRETURN; import static jdk.internal.org.objectweb.asm.Opcodes.DSTORE; import static jdk.internal.org.objectweb.asm.Opcodes.DSUB; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; -import static jdk.nashorn.internal.runtime.JSType.UNDEFINED_DOUBLE; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; +import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_DOUBLE; import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.runtime.JSType; class NumberType extends NumericType { private static final long serialVersionUID = 1L; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumericType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumericType.java index d536cc7d1..e112be41b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumericType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumericType.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; /** * This is a numeric type, i.e. NUMBER, LONG, INT, INT32. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java index 1538489e9..bab1d1070 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import static jdk.internal.org.objectweb.asm.Opcodes.ACONST_NULL; import static jdk.internal.org.objectweb.asm.Opcodes.ALOAD; @@ -31,16 +31,16 @@ import static jdk.internal.org.objectweb.asm.Opcodes.ASTORE; import static jdk.internal.org.objectweb.asm.Opcodes.CHECKCAST; import static jdk.internal.org.objectweb.asm.Opcodes.GETSTATIC; -import static jdk.nashorn.internal.codegen.CompilerConstants.className; -import static jdk.nashorn.internal.codegen.CompilerConstants.typeDescriptor; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.className; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.typeDescriptor; import java.lang.invoke.MethodHandle; import jdk.internal.org.objectweb.asm.Handle; import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; /** * Type class: OBJECT This is the object type, used for all object types. It can diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java index fe8ab811f..31a0f109f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.codegen.types; +package org.openjdk.nashorn.internal.codegen.types; import static jdk.internal.org.objectweb.asm.Opcodes.DALOAD; import static jdk.internal.org.objectweb.asm.Opcodes.DASTORE; @@ -57,10 +57,10 @@ import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.nashorn.internal.codegen.CompilerConstants.Call; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.Undefined; /** * This is the representation of a JavaScript type, disassociated from java @@ -912,7 +912,7 @@ private static void swap(final MethodVisitor method, final Type above, final Typ /** * This is the CharSequence singleton used to represent JS strings internally - * (either a {@code java.lang.String} or {@code jdk.nashorn.internal.runtime.ConsString}. + * (either a {@code java.lang.String} or {@code org.openjdk.nashorn.internal.runtime.ConsString}. */ public static final Type CHARSEQUENCE = putInCache(new ObjectType(CharSequence.class)); diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/AccessNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/AccessNode.java index d490bbbfc..4a34f0e08 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/AccessNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/AccessNode.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation of a property access (period operator.) diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Assignment.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Assignment.java index 093b0d80a..1a07f5f29 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Assignment.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Assignment.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; /** * Can a node be an assignment under certain circumstances? diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BaseNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BaseNode.java index 85ded3e92..d0b3f313e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BaseNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BaseNode.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.parser.TokenType; /** * IR base for accessing/indexing nodes. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BinaryNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BinaryNode.java index 4c8a6abae..efeab74a1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BinaryNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BinaryNode.java @@ -23,19 +23,19 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.Set; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Ignore; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Ignore; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.parser.TokenType; /** * BinaryNode nodes represent two operand operations. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Block.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Block.java index 522b4c56b..b1b83c43b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Block.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Block.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.io.PrintWriter; import java.util.ArrayList; @@ -33,9 +33,9 @@ import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import jdk.nashorn.internal.codegen.Label; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for a list of statements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockLexicalContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockLexicalContext.java index 1848d2ace..db5c2b715 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockLexicalContext.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockLexicalContext.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.ArrayDeque; import java.util.ArrayList; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockStatement.java index 8f077e8d2..711b29635 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockStatement.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BlockStatement.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.List; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * Represents a block used as a statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakNode.java index 3e80bccd3..b74013329 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakNode.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.Label; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for {@code break} statements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableNode.java index 160a1f63f..0bcceae50 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableNode.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.codegen.Label; /** * This class represents a node from which control flow can execute diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableStatement.java index 7e1afaf0a..1bd7d790b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableStatement.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/BreakableStatement.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.Label; -import jdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; @Immutable abstract class BreakableStatement extends LexicalContextStatement implements BreakableNode { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CallNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CallNode.java index 95a116652..7c65da788 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CallNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CallNode.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; import java.io.Serializable; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Ignore; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Ignore; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for a function call. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CaseNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CaseNode.java index 48f961845..cf22efac4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CaseNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CaseNode.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.Label; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation of CASE clause. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CatchNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CatchNode.java index 9431f3b3a..5ea9a4366 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CatchNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CatchNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation of a catch clause. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ClassNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ClassNode.java index 4b06d223a..7fbc8f86b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ClassNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ClassNode.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for class definitions. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CompileUnitHolder.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CompileUnitHolder.java index 27d69d53f..c582f3223 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CompileUnitHolder.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/CompileUnitHolder.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.CompileUnit; +import org.openjdk.nashorn.internal.codegen.CompileUnit; /** * Marker interface for things in the IR that can hold compile units. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ContinueNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ContinueNode.java index eb67f4126..f5f8c2e7b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ContinueNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ContinueNode.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.Label; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for CONTINUE statements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java index 70df83897..cfaf2d191 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for a debugger statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/EmptyNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/EmptyNode.java index 2c9d976dc..582d9db06 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/EmptyNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/EmptyNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for an empty statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java index c8ba0e806..2806d87ee 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for an error expression. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Expression.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Expression.java index e62eb732d..330edfd25 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Expression.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Expression.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.runtime.UnwarrantedOptimismException; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException; /** * Common superclass for all expression nodes. Expression nodes can have diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionList.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionList.java index 16fd147b8..b08f4d4df 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionList.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionList.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR for CoverParenthesizedExpressionAndArrowParameterList, used only during parsing. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionStatement.java index 21618ab86..76c503261 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionStatement.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ExpressionStatement.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.parser.TokenType; /** * IR representation for executing bare expressions. Basically, an expression diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Flags.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Flags.java index fb4b5de9b..c1dfc202d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Flags.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Flags.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; /** * Interface implemented by all nodes that have flags in diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ForNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ForNode.java index df104340a..75cd7814f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ForNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ForNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representing a FOR statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionCall.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionCall.java index 98533bcad..3783d85e5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionCall.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionCall.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; /** * Interface used by AccessNodes, IndexNodes and IdentNodes to signal that when evaluated, their value will be treated diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionNode.java index ce0d661d9..4bf9c824a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/FunctionNode.java @@ -23,33 +23,33 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_PROFILE; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_STRICT; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_TRACE; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_TRACE_ENTEREXIT; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_TRACE_MISSES; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_TRACE_VALUES; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_PROFILE; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_STRICT; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_TRACE; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_TRACE_ENTEREXIT; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_TRACE_MISSES; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_TRACE_VALUES; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map; -import jdk.nashorn.internal.codegen.CompileUnit; -import jdk.nashorn.internal.codegen.Compiler; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.codegen.Namespace; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Ignore; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.internal.runtime.UserAccessorProperty; -import jdk.nashorn.internal.runtime.linker.LinkerCallSite; +import org.openjdk.nashorn.internal.codegen.CompileUnit; +import org.openjdk.nashorn.internal.codegen.Compiler; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.codegen.Namespace; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Ignore; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.UserAccessorProperty; +import org.openjdk.nashorn.internal.runtime.linker.LinkerCallSite; /** * IR representation for function (or script.) diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/GetSplitState.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/GetSplitState.java index 6e360291a..3901bd5f9 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/GetSplitState.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/GetSplitState.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Ignore; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.runtime.Scope; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Ignore; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.runtime.Scope; /** * Synthetic AST node that represents loading of the scope object and invocation of the {@link Scope#getSplitState()} diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IdentNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IdentNode.java index 216fda09e..577eb7b8f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IdentNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IdentNode.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.ir; - -import static jdk.nashorn.internal.codegen.CompilerConstants.__DIR__; -import static jdk.nashorn.internal.codegen.CompilerConstants.__FILE__; -import static jdk.nashorn.internal.codegen.CompilerConstants.__LINE__; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; - -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.parser.TokenType; +package org.openjdk.nashorn.internal.ir; + +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.__DIR__; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.__FILE__; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.__LINE__; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; + +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.parser.TokenType; /** * IR representation for an identifier. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IfNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IfNode.java index cdebaad91..cf241faa4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IfNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IfNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for an IF statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IndexNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IndexNode.java index 73e220d69..59326493b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IndexNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/IndexNode.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation of an indexed access (brackets operator.) */ diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessor.java index e55aec092..ce77d1b3e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; /** * Interface implemented by AST nodes that either can occur as predecessors of a control flow join, or contain a control diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessorExpression.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessorExpression.java index 7f0d990de..fb47002d8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessorExpression.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JoinPredecessorExpression.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * A wrapper for an expression that is in a position to be a join predecessor. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpStatement.java index 628bc772d..fa7fc3071 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpStatement.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpStatement.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.codegen.Label; /** * Common base class for jump statements (e.g. {@code break} and {@code continue}). diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpToInlinedFinally.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpToInlinedFinally.java index bba0d99e0..eec1a02c6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpToInlinedFinally.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/JumpToInlinedFinally.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Objects; -import jdk.nashorn.internal.codegen.Label; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for synthetic jump into an inlined finally statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LabelNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LabelNode.java index 744ba54b9..a6da70f16 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LabelNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LabelNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for a labeled statement. It implements JoinPredecessor to hold conversions that need to be effected diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Labels.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Labels.java index ce5e9dc4f..475219d4d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Labels.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Labels.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.List; -import jdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.codegen.Label; /** * Interface that can be used to get a list of all labels in a node diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContext.java index 527a1bb32..702545c00 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContext.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContext.java @@ -22,13 +22,13 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.io.File; import java.util.Iterator; import java.util.NoSuchElementException; -import jdk.nashorn.internal.runtime.Debug; -import jdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.Debug; +import org.openjdk.nashorn.internal.runtime.Source; /** * A class that tracks the current lexical context of node visitation as a stack diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextExpression.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextExpression.java index e9a88cc84..8df160b04 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextExpression.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextExpression.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; abstract class LexicalContextExpression extends Expression implements LexicalContextNode { private static final long serialVersionUID = 1L; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextNode.java index 5054b014f..94e9330ab 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextNode.java @@ -22,9 +22,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextStatement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextStatement.java index 6a65fad27..e9f215c68 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextStatement.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LexicalContextStatement.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; abstract class LexicalContextStatement extends Statement implements LexicalContextNode { private static final long serialVersionUID = 1L; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LiteralNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LiteralNode.java index ceedab098..fd3e4774c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LiteralNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LiteralNode.java @@ -23,23 +23,23 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Arrays; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.types.ArrayType; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Ignore; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.objects.NativeArray; -import jdk.nashorn.internal.parser.Lexer.LexerToken; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.parser.TokenType; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.codegen.types.ArrayType; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Ignore; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.objects.NativeArray; +import org.openjdk.nashorn.internal.parser.Lexer.LexerToken; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; /** * Literal nodes represent JavaScript values. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LocalVariableConversion.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LocalVariableConversion.java index b66a2fd9e..8049823f6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LocalVariableConversion.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LocalVariableConversion.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.codegen.types.Type; /** * Class describing one or more local variable conversions that needs to be performed on entry to a control flow join diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LoopNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LoopNode.java index bbc6d595c..43ff6f15c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LoopNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/LoopNode.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Arrays; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.codegen.Label; /** * A loop node, for example a while node, do while node or for node diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Module.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Module.java index 1745c974d..c6c344aa5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Module.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Module.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Node.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Node.java index bd1045ca2..5ccdb8037 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Node.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Node.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.io.Serializable; import java.util.ArrayList; import java.util.List; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.parser.TokenType; /** * Nodes are used to compose Abstract Syntax Trees. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ObjectNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ObjectNode.java index a38d6e2a6..6c0d4cae7 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ObjectNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ObjectNode.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Collections; import java.util.List; import java.util.RandomAccess; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Ignore; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Ignore; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation of an object literal. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Optimistic.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Optimistic.java index 8337d0879..8abf58a20 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Optimistic.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Optimistic.java @@ -22,9 +22,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.codegen.types.Type; /** * Is this a node that can be optimistically typed? This means that it diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/OptimisticLexicalContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/OptimisticLexicalContext.java index 18f68fe67..0a968cc03 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/OptimisticLexicalContext.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/OptimisticLexicalContext.java @@ -22,14 +22,14 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collections; import java.util.Deque; import java.util.List; -import jdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.codegen.types.Type; /** * Lexical context that keeps track of optimistic assumptions (if any) diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyKey.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyKey.java index e4a72aa5c..937266d5c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyKey.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyKey.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; /** * Any node that can be a property key inherits this diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyNode.java index 24eddf303..40c8c7967 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/PropertyNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation of an object literal property. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ReturnNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ReturnNode.java index 1491b834e..ca46f491f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ReturnNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ReturnNode.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import static jdk.nashorn.internal.parser.TokenType.RETURN; -import static jdk.nashorn.internal.parser.TokenType.YIELD; +import static org.openjdk.nashorn.internal.parser.TokenType.RETURN; +import static org.openjdk.nashorn.internal.parser.TokenType.YIELD; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for RETURN or YIELD statements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/RuntimeNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/RuntimeNode.java index afc52bf3f..8e1b801ea 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/RuntimeNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/RuntimeNode.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Arrays; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.parser.TokenType; /** * IR representation for a runtime call. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SetSplitState.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SetSplitState.java index 33ca3d156..758a142ad 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SetSplitState.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SetSplitState.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.runtime.Scope; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.runtime.Scope; /** * Synthetic AST node that represents loading of the scope object and invocation of the {@link Scope#setSplitState(int)} diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitNode.java index 43b511d62..30fcc80c1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitNode.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.io.IOException; import java.io.NotSerializableException; import java.io.ObjectOutputStream; -import jdk.nashorn.internal.codegen.CompileUnit; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.CompileUnit; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * Node indicating code is split across classes. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitReturn.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitReturn.java index 9fed5ff23..1b83ba21b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitReturn.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SplitReturn.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Ignore; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Ignore; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * Synthetic AST node that represents return from a split fragment of a split function for control flow reasons (break diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Splittable.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Splittable.java index d33117122..31513e96e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Splittable.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Splittable.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.io.Serializable; import java.util.List; -import jdk.nashorn.internal.codegen.CompileUnit; +import org.openjdk.nashorn.internal.codegen.CompileUnit; /** * An interface for splittable expressions. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java index f9a335c74..cb3f7006f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; /** * Statement is something that becomes code and can be stepped past. A block is diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SwitchNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SwitchNode.java index 4f2515111..2fe996717 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SwitchNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/SwitchNode.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.ArrayList; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.Label; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.Label; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation of a SWITCH statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Symbol.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Symbol.java index d08352b7c..2e509a694 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Symbol.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Symbol.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.io.IOException; import java.io.ObjectInputStream; @@ -32,10 +32,10 @@ import java.util.HashSet; import java.util.Set; import java.util.StringTokenizer; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.Debug; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Debug; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * Symbol is a symbolic address for a value ("variable" if you wish). Identifiers in JavaScript source, as well as diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TemplateLiteral.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TemplateLiteral.java index 9e5024408..caa6a6aff 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TemplateLiteral.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TemplateLiteral.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * Represents ES6 template string expression. Note that this Node class is used diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Terminal.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Terminal.java index 3f5c25bc0..586ecfcc3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Terminal.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Terminal.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; /** * Interface for AST nodes that can have a flag determining if they can terminate function control flow. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TernaryNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TernaryNode.java index e3bca0b98..25a8b7648 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TernaryNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TernaryNode.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.parser.TokenType; /** * TernaryNode represent the ternary operator {@code ?:}. Note that for control-flow calculation reasons its branch diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ThrowNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ThrowNode.java index f422aea4e..019f6d499 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ThrowNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ThrowNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for THROW statements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TryNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TryNode.java index 661281e1a..c809b5841 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TryNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/TryNode.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation of a TRY statement. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/UnaryNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/UnaryNode.java index 1eb07ed45..d72d14123 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/UnaryNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/UnaryNode.java @@ -23,22 +23,22 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import static jdk.nashorn.internal.parser.TokenType.BIT_NOT; -import static jdk.nashorn.internal.parser.TokenType.DECPOSTFIX; -import static jdk.nashorn.internal.parser.TokenType.INCPOSTFIX; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.parser.TokenType.BIT_NOT; +import static org.openjdk.nashorn.internal.parser.TokenType.DECPOSTFIX; +import static org.openjdk.nashorn.internal.parser.TokenType.INCPOSTFIX; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; import java.util.Arrays; import java.util.Collections; import java.util.List; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.annotations.Ignore; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.annotations.Ignore; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.parser.TokenType; /** * UnaryNode nodes represent single operand operations. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/VarNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/VarNode.java index 6de025581..f77343c6c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/VarNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/VarNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * Node represents a var/let declaration. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WhileNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WhileNode.java index e6304f4e9..9e03b9d1f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WhileNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WhileNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for a WHILE statement. This is the superclass of all diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java index 2e2be8875..163f7b66f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.ir; +package org.openjdk.nashorn.internal.ir; -import jdk.nashorn.internal.ir.annotations.Immutable; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.ir.annotations.Immutable; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for {@code with} statements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Ignore.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Ignore.java index 171eaccec..30ec35c40 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Ignore.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Ignore.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.ir.annotations; +package org.openjdk.nashorn.internal.ir.annotations; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; -import jdk.nashorn.internal.ir.debug.ASTWriter; +import org.openjdk.nashorn.internal.ir.debug.ASTWriter; /** * This signifies a node that should be ignored in traversal, for example @@ -35,7 +35,7 @@ * has no actual IR representations, but yet reside in the node. * * @see ASTWriter - * @see jdk.nashorn.internal.ir.Node + * @see org.openjdk.nashorn.internal.ir.Node */ @Retention(value=RetentionPolicy.RUNTIME) public @interface Ignore { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Immutable.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Immutable.java index 663abf7c3..e5aa12b23 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Immutable.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Immutable.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir.annotations; +package org.openjdk.nashorn.internal.ir.annotations; /** * Tag for nodes that are immutable. To be immutable all fields must be diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Reference.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Reference.java index 27f6a6976..8381607b2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Reference.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/annotations/Reference.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir.annotations; +package org.openjdk.nashorn.internal.ir.annotations; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/ASTWriter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/ASTWriter.java index 93cede30f..58abf0517 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/ASTWriter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/ASTWriter.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir.debug; +package org.openjdk.nashorn.internal.ir.debug; import java.lang.reflect.Field; import java.util.ArrayDeque; @@ -33,20 +33,20 @@ import java.util.Iterator; import java.util.LinkedList; import java.util.List; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.Statement; -import jdk.nashorn.internal.ir.Symbol; -import jdk.nashorn.internal.ir.Terminal; -import jdk.nashorn.internal.ir.TernaryNode; -import jdk.nashorn.internal.ir.annotations.Ignore; -import jdk.nashorn.internal.ir.annotations.Reference; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.Debug; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.Symbol; +import org.openjdk.nashorn.internal.ir.Terminal; +import org.openjdk.nashorn.internal.ir.TernaryNode; +import org.openjdk.nashorn.internal.ir.annotations.Ignore; +import org.openjdk.nashorn.internal.ir.annotations.Reference; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Debug; /** * AST-as-text visualizer. Sometimes you want tree form and not source diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/JSONWriter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/JSONWriter.java index f8484f378..d6a23263a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/JSONWriter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/JSONWriter.java @@ -23,56 +23,56 @@ * questions. */ -package jdk.nashorn.internal.ir.debug; +package org.openjdk.nashorn.internal.ir.debug; -import static jdk.nashorn.internal.runtime.Source.sourceFor; +import static org.openjdk.nashorn.internal.runtime.Source.sourceFor; import java.util.ArrayList; import java.util.List; -import jdk.nashorn.internal.ir.AccessNode; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.BlockStatement; -import jdk.nashorn.internal.ir.BreakNode; -import jdk.nashorn.internal.ir.CallNode; -import jdk.nashorn.internal.ir.CaseNode; -import jdk.nashorn.internal.ir.CatchNode; -import jdk.nashorn.internal.ir.ContinueNode; -import jdk.nashorn.internal.ir.DebuggerNode; -import jdk.nashorn.internal.ir.EmptyNode; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.ExpressionStatement; -import jdk.nashorn.internal.ir.ForNode; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.IfNode; -import jdk.nashorn.internal.ir.IndexNode; -import jdk.nashorn.internal.ir.JoinPredecessorExpression; -import jdk.nashorn.internal.ir.LabelNode; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.ObjectNode; -import jdk.nashorn.internal.ir.PropertyNode; -import jdk.nashorn.internal.ir.ReturnNode; -import jdk.nashorn.internal.ir.RuntimeNode; -import jdk.nashorn.internal.ir.SplitNode; -import jdk.nashorn.internal.ir.Statement; -import jdk.nashorn.internal.ir.SwitchNode; -import jdk.nashorn.internal.ir.TernaryNode; -import jdk.nashorn.internal.ir.ThrowNode; -import jdk.nashorn.internal.ir.TryNode; -import jdk.nashorn.internal.ir.UnaryNode; -import jdk.nashorn.internal.ir.VarNode; -import jdk.nashorn.internal.ir.WhileNode; -import jdk.nashorn.internal.ir.WithNode; -import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; -import jdk.nashorn.internal.parser.JSONParser; -import jdk.nashorn.internal.parser.Lexer.RegexToken; -import jdk.nashorn.internal.parser.Parser; -import jdk.nashorn.internal.parser.TokenType; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.ir.AccessNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.BlockStatement; +import org.openjdk.nashorn.internal.ir.BreakNode; +import org.openjdk.nashorn.internal.ir.CallNode; +import org.openjdk.nashorn.internal.ir.CaseNode; +import org.openjdk.nashorn.internal.ir.CatchNode; +import org.openjdk.nashorn.internal.ir.ContinueNode; +import org.openjdk.nashorn.internal.ir.DebuggerNode; +import org.openjdk.nashorn.internal.ir.EmptyNode; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.ExpressionStatement; +import org.openjdk.nashorn.internal.ir.ForNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.IfNode; +import org.openjdk.nashorn.internal.ir.IndexNode; +import org.openjdk.nashorn.internal.ir.JoinPredecessorExpression; +import org.openjdk.nashorn.internal.ir.LabelNode; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.ObjectNode; +import org.openjdk.nashorn.internal.ir.PropertyNode; +import org.openjdk.nashorn.internal.ir.ReturnNode; +import org.openjdk.nashorn.internal.ir.RuntimeNode; +import org.openjdk.nashorn.internal.ir.SplitNode; +import org.openjdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.SwitchNode; +import org.openjdk.nashorn.internal.ir.TernaryNode; +import org.openjdk.nashorn.internal.ir.ThrowNode; +import org.openjdk.nashorn.internal.ir.TryNode; +import org.openjdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.WhileNode; +import org.openjdk.nashorn.internal.ir.WithNode; +import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; +import org.openjdk.nashorn.internal.parser.JSONParser; +import org.openjdk.nashorn.internal.parser.Lexer.RegexToken; +import org.openjdk.nashorn.internal.parser.Parser; +import org.openjdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.Source; /** * This IR writer produces a JSON string that represents AST as a JSON string. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java index b23724dfc..3ed22d120 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir.debug; +package org.openjdk.nashorn.internal.ir.debug; import java.util.ArrayList; import java.util.HashMap; @@ -33,7 +33,7 @@ import jdk.internal.org.objectweb.asm.ClassReader; import jdk.internal.org.objectweb.asm.ClassVisitor; import jdk.internal.org.objectweb.asm.Label; -import jdk.nashorn.internal.ir.debug.NashornTextifier.NashornLabel; +import org.openjdk.nashorn.internal.ir.debug.NashornTextifier.NashornLabel; /** * Subclass of the ASM class reader that retains more info, such diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java index 22797e839..c32cc6e70 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.ir.debug; +package org.openjdk.nashorn.internal.ir.debug; import java.io.File; import java.io.FileNotFoundException; @@ -44,10 +44,10 @@ import jdk.internal.org.objectweb.asm.signature.SignatureReader; import jdk.internal.org.objectweb.asm.util.Printer; import jdk.internal.org.objectweb.asm.util.TraceSignatureVisitor; -import jdk.nashorn.internal.runtime.ScriptEnvironment; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.NameCodec; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.NameCodec; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; /** * Pretty printer for --print-code. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/PrintVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/PrintVisitor.java index fccad1532..4ae15fdc8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/PrintVisitor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/PrintVisitor.java @@ -23,36 +23,36 @@ * questions. */ -package jdk.nashorn.internal.ir.debug; +package org.openjdk.nashorn.internal.ir.debug; import java.util.List; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.BlockStatement; -import jdk.nashorn.internal.ir.BreakNode; -import jdk.nashorn.internal.ir.CaseNode; -import jdk.nashorn.internal.ir.CatchNode; -import jdk.nashorn.internal.ir.ContinueNode; -import jdk.nashorn.internal.ir.ExpressionStatement; -import jdk.nashorn.internal.ir.ForNode; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.IfNode; -import jdk.nashorn.internal.ir.JoinPredecessor; -import jdk.nashorn.internal.ir.JoinPredecessorExpression; -import jdk.nashorn.internal.ir.LabelNode; -import jdk.nashorn.internal.ir.LocalVariableConversion; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.SplitNode; -import jdk.nashorn.internal.ir.Statement; -import jdk.nashorn.internal.ir.SwitchNode; -import jdk.nashorn.internal.ir.ThrowNode; -import jdk.nashorn.internal.ir.TryNode; -import jdk.nashorn.internal.ir.UnaryNode; -import jdk.nashorn.internal.ir.VarNode; -import jdk.nashorn.internal.ir.WhileNode; -import jdk.nashorn.internal.ir.WithNode; -import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.BlockStatement; +import org.openjdk.nashorn.internal.ir.BreakNode; +import org.openjdk.nashorn.internal.ir.CaseNode; +import org.openjdk.nashorn.internal.ir.CatchNode; +import org.openjdk.nashorn.internal.ir.ContinueNode; +import org.openjdk.nashorn.internal.ir.ExpressionStatement; +import org.openjdk.nashorn.internal.ir.ForNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.IfNode; +import org.openjdk.nashorn.internal.ir.JoinPredecessor; +import org.openjdk.nashorn.internal.ir.JoinPredecessorExpression; +import org.openjdk.nashorn.internal.ir.LabelNode; +import org.openjdk.nashorn.internal.ir.LocalVariableConversion; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.SplitNode; +import org.openjdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.SwitchNode; +import org.openjdk.nashorn.internal.ir.ThrowNode; +import org.openjdk.nashorn.internal.ir.TryNode; +import org.openjdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.WhileNode; +import org.openjdk.nashorn.internal.ir.WithNode; +import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor; /** * Print out the AST as human readable source code. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java index c61e22f73..abdcc4a96 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.ir.visitor; +package org.openjdk.nashorn.internal.ir.visitor; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.LexicalContext; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.LexicalContext; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.UnaryNode; /** * Like NodeVisitor but navigating further into operators. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeVisitor.java index 2aba91fad..6ae0d6df7 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeVisitor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/NodeVisitor.java @@ -23,50 +23,50 @@ * questions. */ -package jdk.nashorn.internal.ir.visitor; - -import jdk.nashorn.internal.ir.AccessNode; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.BlockStatement; -import jdk.nashorn.internal.ir.BreakNode; -import jdk.nashorn.internal.ir.CallNode; -import jdk.nashorn.internal.ir.CaseNode; -import jdk.nashorn.internal.ir.CatchNode; -import jdk.nashorn.internal.ir.ClassNode; -import jdk.nashorn.internal.ir.ContinueNode; -import jdk.nashorn.internal.ir.DebuggerNode; -import jdk.nashorn.internal.ir.EmptyNode; -import jdk.nashorn.internal.ir.ErrorNode; -import jdk.nashorn.internal.ir.ExpressionStatement; -import jdk.nashorn.internal.ir.ForNode; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.GetSplitState; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.IfNode; -import jdk.nashorn.internal.ir.IndexNode; -import jdk.nashorn.internal.ir.JoinPredecessorExpression; -import jdk.nashorn.internal.ir.JumpToInlinedFinally; -import jdk.nashorn.internal.ir.LabelNode; -import jdk.nashorn.internal.ir.LexicalContext; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.ObjectNode; -import jdk.nashorn.internal.ir.PropertyNode; -import jdk.nashorn.internal.ir.ReturnNode; -import jdk.nashorn.internal.ir.RuntimeNode; -import jdk.nashorn.internal.ir.SetSplitState; -import jdk.nashorn.internal.ir.SplitNode; -import jdk.nashorn.internal.ir.SplitReturn; -import jdk.nashorn.internal.ir.SwitchNode; -import jdk.nashorn.internal.ir.TemplateLiteral; -import jdk.nashorn.internal.ir.TernaryNode; -import jdk.nashorn.internal.ir.ThrowNode; -import jdk.nashorn.internal.ir.TryNode; -import jdk.nashorn.internal.ir.UnaryNode; -import jdk.nashorn.internal.ir.VarNode; -import jdk.nashorn.internal.ir.WhileNode; -import jdk.nashorn.internal.ir.WithNode; +package org.openjdk.nashorn.internal.ir.visitor; + +import org.openjdk.nashorn.internal.ir.AccessNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.BlockStatement; +import org.openjdk.nashorn.internal.ir.BreakNode; +import org.openjdk.nashorn.internal.ir.CallNode; +import org.openjdk.nashorn.internal.ir.CaseNode; +import org.openjdk.nashorn.internal.ir.CatchNode; +import org.openjdk.nashorn.internal.ir.ClassNode; +import org.openjdk.nashorn.internal.ir.ContinueNode; +import org.openjdk.nashorn.internal.ir.DebuggerNode; +import org.openjdk.nashorn.internal.ir.EmptyNode; +import org.openjdk.nashorn.internal.ir.ErrorNode; +import org.openjdk.nashorn.internal.ir.ExpressionStatement; +import org.openjdk.nashorn.internal.ir.ForNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.GetSplitState; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.IfNode; +import org.openjdk.nashorn.internal.ir.IndexNode; +import org.openjdk.nashorn.internal.ir.JoinPredecessorExpression; +import org.openjdk.nashorn.internal.ir.JumpToInlinedFinally; +import org.openjdk.nashorn.internal.ir.LabelNode; +import org.openjdk.nashorn.internal.ir.LexicalContext; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.ObjectNode; +import org.openjdk.nashorn.internal.ir.PropertyNode; +import org.openjdk.nashorn.internal.ir.ReturnNode; +import org.openjdk.nashorn.internal.ir.RuntimeNode; +import org.openjdk.nashorn.internal.ir.SetSplitState; +import org.openjdk.nashorn.internal.ir.SplitNode; +import org.openjdk.nashorn.internal.ir.SplitReturn; +import org.openjdk.nashorn.internal.ir.SwitchNode; +import org.openjdk.nashorn.internal.ir.TemplateLiteral; +import org.openjdk.nashorn.internal.ir.TernaryNode; +import org.openjdk.nashorn.internal.ir.ThrowNode; +import org.openjdk.nashorn.internal.ir.TryNode; +import org.openjdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.WhileNode; +import org.openjdk.nashorn.internal.ir.WithNode; /** * Visitor used to navigate the IR. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/SimpleNodeVisitor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/SimpleNodeVisitor.java index 015e1feba..0167bacae 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/SimpleNodeVisitor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/visitor/SimpleNodeVisitor.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.ir.visitor; +package org.openjdk.nashorn.internal.ir.visitor; -import jdk.nashorn.internal.ir.LexicalContext; +import org.openjdk.nashorn.internal.ir.LexicalContext; /** * Convenience base class for a {@link NodeVisitor} with a plain {@link LexicalContext}. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/Lookup.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/Lookup.java index 408fbef75..2ed51ba50 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/Lookup.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/Lookup.java @@ -23,16 +23,16 @@ * questions. */ -package jdk.nashorn.internal.lookup; +package org.openjdk.nashorn.internal.lookup; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * MethodHandle Lookup management for Nashorn. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFactory.java index 2dcc401b9..c8ead3a85 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFactory.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFactory.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.lookup; +package org.openjdk.nashorn.internal.lookup; -import static jdk.nashorn.internal.runtime.JSType.isString; +import static org.openjdk.nashorn.internal.runtime.JSType.isString; import java.io.ByteArrayOutputStream; import java.io.PrintStream; @@ -38,13 +38,13 @@ import java.util.Arrays; import java.util.List; import java.util.logging.Level; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.Debug; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.logging.DebugLogger; -import jdk.nashorn.internal.runtime.logging.Loggable; -import jdk.nashorn.internal.runtime.logging.Logger; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Debug; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.logging.DebugLogger; +import org.openjdk.nashorn.internal.runtime.logging.Loggable; +import org.openjdk.nashorn.internal.runtime.logging.Logger; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * This class is abstraction for all method handle, switchpoint and method type diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java index beaa85c2c..b28babde4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.lookup; +package org.openjdk.nashorn.internal.lookup; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java index fad39a9fd..b159243bb 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java @@ -23,22 +23,22 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; import java.lang.invoke.MethodHandle; import java.util.function.Consumer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.InvokeByName; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; - -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.InvokeByName; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; + +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; /** * ECMA6 25.1.2 The %IteratorPrototype% Object diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AccessorPropertyDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AccessorPropertyDescriptor.java index 0e8ed3502..f8b18a347 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AccessorPropertyDescriptor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AccessorPropertyDescriptor.java @@ -23,21 +23,21 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import static jdk.nashorn.internal.runtime.ScriptRuntime.sameValue; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.sameValue; import java.util.Objects; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyDescriptor; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Accessor Property descriptor is used to represent attributes an object property diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayBufferView.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayBufferView.java index fb1bc1b18..d4c3f86da 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayBufferView.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayBufferView.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; import java.nio.ByteBuffer; import java.nio.ByteOrder; import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * ArrayBufferView, es6 class or TypedArray implementation diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayIterator.java index 1d600df27..135253ecc 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/ArrayIterator.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; @ScriptClass("ArrayIterator") public class ArrayIterator extends AbstractIterator { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/DataPropertyDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/DataPropertyDescriptor.java index 24722930e..dd17e54d8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/DataPropertyDescriptor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/DataPropertyDescriptor.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ScriptRuntime.sameValue; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.sameValue; import java.util.Objects; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyDescriptor; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Data Property descriptor is used to represent attributes an object property diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/GenericPropertyDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/GenericPropertyDescriptor.java index 39d0b3ec7..63699ad14 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/GenericPropertyDescriptor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/GenericPropertyDescriptor.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; import java.util.Objects; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyDescriptor; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Generic Property descriptor is used to represent attributes an object property diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/Global.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/Global.java index 75558cb90..ad792ea82 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/Global.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/Global.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.referenceError; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.JSType.isString; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.JSType.isString; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.io.IOException; import java.io.PrintWriter; @@ -50,39 +50,39 @@ import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.api.scripting.ClassFilter; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.lookup.Lookup; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Setter; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ECMAErrors; -import jdk.nashorn.internal.runtime.FindProperty; -import jdk.nashorn.internal.runtime.GlobalConstants; -import jdk.nashorn.internal.runtime.GlobalFunctions; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.NativeJavaPackage; -import jdk.nashorn.internal.runtime.PropertyDescriptor; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.Scope; -import jdk.nashorn.internal.runtime.ScriptEnvironment; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.ScriptingFunctions; -import jdk.nashorn.internal.runtime.Specialization; -import jdk.nashorn.internal.runtime.Symbol; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.InvokeByName; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; -import jdk.nashorn.internal.runtime.regexp.RegExpResult; -import jdk.nashorn.internal.scripts.JD; -import jdk.nashorn.internal.scripts.JO; -import jdk.nashorn.tools.ShellFunctions; +import org.openjdk.nashorn.api.scripting.ClassFilter; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.lookup.Lookup; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Setter; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ECMAErrors; +import org.openjdk.nashorn.internal.runtime.FindProperty; +import org.openjdk.nashorn.internal.runtime.GlobalConstants; +import org.openjdk.nashorn.internal.runtime.GlobalFunctions; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.NativeJavaPackage; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.Scope; +import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.ScriptingFunctions; +import org.openjdk.nashorn.internal.runtime.Specialization; +import org.openjdk.nashorn.internal.runtime.Symbol; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.InvokeByName; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.runtime.regexp.RegExpResult; +import org.openjdk.nashorn.internal.scripts.JD; +import org.openjdk.nashorn.internal.scripts.JO; +import org.openjdk.nashorn.tools.ShellFunctions; /** * Representation of global scope. @@ -94,7 +94,7 @@ public final class Global extends Scope { // This serves as placeholder value used in place of a location property (__FILE__, __DIR__, __LINE__) private static final Object LOCATION_PLACEHOLDER = new Object(); - private static final String PACKAGE_PREFIX = "jdk.nashorn.internal.objects."; + private static final String PACKAGE_PREFIX = "org.openjdk.nashorn.internal.objects."; private InvokeByName TO_STRING; private InvokeByName VALUE_OF; @@ -2404,7 +2404,7 @@ public final ScriptObject getLexicalScope() { } @Override - public void addBoundProperties(final ScriptObject source, final jdk.nashorn.internal.runtime.Property[] properties) { + public void addBoundProperties(final ScriptObject source, final org.openjdk.nashorn.internal.runtime.Property[] properties) { PropertyMap ownMap = getMap(); LexicalScope lexScope = null; PropertyMap lexicalMap = null; @@ -2414,16 +2414,16 @@ public void addBoundProperties(final ScriptObject source, final jdk.nashorn.inte lexScope = (LexicalScope) getLexicalScope(); lexicalMap = lexScope.getMap(); - for (final jdk.nashorn.internal.runtime.Property property : properties) { + for (final org.openjdk.nashorn.internal.runtime.Property property : properties) { if (property.isLexicalBinding()) { hasLexicalDefinitions = true; } // ES6 15.1.8 steps 6. and 7. - final jdk.nashorn.internal.runtime.Property globalProperty = ownMap.findProperty(property.getKey()); + final org.openjdk.nashorn.internal.runtime.Property globalProperty = ownMap.findProperty(property.getKey()); if (globalProperty != null && !globalProperty.isConfigurable() && property.isLexicalBinding()) { throw ECMAErrors.syntaxError("redeclare.variable", property.getKey().toString()); } - final jdk.nashorn.internal.runtime.Property lexicalProperty = lexicalMap.findProperty(property.getKey()); + final org.openjdk.nashorn.internal.runtime.Property lexicalProperty = lexicalMap.findProperty(property.getKey()); if (lexicalProperty != null && !property.isConfigurable()) { throw ECMAErrors.syntaxError("redeclare.variable", property.getKey().toString()); } @@ -2431,7 +2431,7 @@ public void addBoundProperties(final ScriptObject source, final jdk.nashorn.inte } final boolean extensible = isExtensible(); - for (final jdk.nashorn.internal.runtime.Property property : properties) { + for (final org.openjdk.nashorn.internal.runtime.Property property : properties) { if (property.isLexicalBinding()) { assert lexScope != null; lexicalMap = lexScope.addBoundProperty(lexicalMap, source, property, true); @@ -2916,8 +2916,8 @@ private ScriptObject initPrototype(final String name, final ScriptObject prototy } } - private List extractBuiltinProperties(final String name, final ScriptObject func) { - final List list = new ArrayList<>(); + private List extractBuiltinProperties(final String name, final ScriptObject func) { + final List list = new ArrayList<>(); list.addAll(Arrays.asList(func.getMap().getProperties())); @@ -2928,7 +2928,7 @@ private List extractBuiltinProperties(fin } } - final jdk.nashorn.internal.runtime.Property prop = getProperty(name); + final org.openjdk.nashorn.internal.runtime.Property prop = getProperty(name); if (prop != null) { list.add(prop); } @@ -2950,7 +2950,7 @@ private void tagBuiltinProperties(final String name, final ScriptObject func) { //get all builtin properties in this builtin object and register switchpoints keyed on the propery name, //one overwrite destroys all for now, e.g. Function.prototype.apply = 17; also destroys Function.prototype.call etc - for (final jdk.nashorn.internal.runtime.Property prop : extractBuiltinProperties(name, func)) { + for (final org.openjdk.nashorn.internal.runtime.Property prop : extractBuiltinProperties(name, func)) { prop.setBuiltinSwitchPoint(sp); } } @@ -2997,8 +2997,8 @@ private void initFunctionAndObject() { // Function valued properties of Function.prototype were not properly // initialized. Because, these were created before global.function and // global.object were not initialized. - jdk.nashorn.internal.runtime.Property[] properties = getFunctionPrototype().getMap().getProperties(); - for (final jdk.nashorn.internal.runtime.Property property : properties) { + org.openjdk.nashorn.internal.runtime.Property[] properties = getFunctionPrototype().getMap().getProperties(); + for (final org.openjdk.nashorn.internal.runtime.Property property : properties) { final Object key = property.getKey(); final Object value = builtinFunction.get(key); @@ -3014,7 +3014,7 @@ private void initFunctionAndObject() { // For function valued properties of Object and Object.prototype, make // sure prototype's proto chain ends with Object.prototype - for (final jdk.nashorn.internal.runtime.Property property : builtinObject.getMap().getProperties()) { + for (final org.openjdk.nashorn.internal.runtime.Property property : builtinObject.getMap().getProperties()) { final Object key = property.getKey(); final Object value = builtinObject.get(key); @@ -3029,7 +3029,7 @@ private void initFunctionAndObject() { properties = getObjectPrototype().getMap().getProperties(); - for (final jdk.nashorn.internal.runtime.Property property : properties) { + for (final org.openjdk.nashorn.internal.runtime.Property property : properties) { final Object key = property.getKey(); if (key.equals("constructor")) { continue; @@ -3088,7 +3088,7 @@ protected GuardedInvocation findSetMethod(final CallSiteDescriptor desc, final L } @Override - protected PropertyMap addBoundProperty(final PropertyMap propMap, final ScriptObject source, final jdk.nashorn.internal.runtime.Property property, final boolean extensible) { + protected PropertyMap addBoundProperty(final PropertyMap propMap, final ScriptObject source, final org.openjdk.nashorn.internal.runtime.Property property, final boolean extensible) { // We override this method just to make it callable by Global return super.addBoundProperty(propMap, source, property, extensible); } diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/IteratorResult.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/IteratorResult.java index 33c85753e..d8f353e79 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/IteratorResult.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/IteratorResult.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; @ScriptClass("IteratorResult") public class IteratorResult extends ScriptObject { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/LinkedMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/LinkedMap.java index 4e7187cef..8da87e3a7 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/LinkedMap.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/LinkedMap.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.runtime.Undefined; import java.util.Collections; import java.util.HashMap; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/MapIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/MapIterator.java index 549e5963c..8662b9a33 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/MapIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/MapIterator.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; /** * ECMA6 23.1.5 Map Iterator Objects diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArguments.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArguments.java index c9e9bd571..4277149aa 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArguments.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArguments.java @@ -23,27 +23,27 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; -import jdk.nashorn.internal.runtime.AccessorProperty; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.Property; -import jdk.nashorn.internal.runtime.PropertyDescriptor; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.ArrayIndex; +import org.openjdk.nashorn.internal.runtime.AccessorProperty; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.Property; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex; /** * ECMA 10.6 Arguments Object. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArray.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArray.java index d311c85a0..30d0ba83b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArray.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArray.java @@ -23,16 +23,16 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.PropertyDescriptor.VALUE; -import static jdk.nashorn.internal.runtime.PropertyDescriptor.WRITABLE; -import static jdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex; -import static jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.arrayLikeIterator; -import static jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.reverseArrayLikeIterator; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_STRICT; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.VALUE; +import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.WRITABLE; +import static org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex; +import static org.openjdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.arrayLikeIterator; +import static org.openjdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.reverseArrayLikeIterator; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_STRICT; import java.lang.invoke.MethodHandle; import java.util.ArrayList; @@ -45,34 +45,34 @@ import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Setter; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.Debug; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.OptimisticBuiltins; -import jdk.nashorn.internal.runtime.PropertyDescriptor; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.ArrayIndex; -import jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; -import jdk.nashorn.internal.runtime.arrays.ContinuousArrayData; -import jdk.nashorn.internal.runtime.arrays.IntElements; -import jdk.nashorn.internal.runtime.arrays.IteratorAction; -import jdk.nashorn.internal.runtime.arrays.NumericElements; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.InvokeByName; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Setter; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Debug; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.OptimisticBuiltins; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; +import org.openjdk.nashorn.internal.runtime.arrays.ContinuousArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.IntElements; +import org.openjdk.nashorn.internal.runtime.arrays.IteratorAction; +import org.openjdk.nashorn.internal.runtime.arrays.NumericElements; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.InvokeByName; /** * Runtime representation of a JavaScript array. NativeArray only holds numeric diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArrayBuffer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArrayBuffer.java index bfb8f1089..b9d9206db 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArrayBuffer.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeArrayBuffer.java @@ -23,23 +23,23 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.nio.ByteBuffer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * NativeArrayBuffer - ArrayBuffer as described in the JS typed diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeBoolean.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeBoolean.java index 0bafc47a4..7646acbec 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeBoolean.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeBoolean.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.linker.PrimitiveLookup; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.linker.PrimitiveLookup; /** * ECMA 15.6 Boolean Objects. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDataView.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDataView.java index 759c168bb..56c57d518 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDataView.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDataView.java @@ -23,24 +23,24 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.nio.ByteBuffer; import java.nio.ByteOrder; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** *

diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDate.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDate.java index 78dd464be..f2e22e3f1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDate.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDate.java @@ -23,31 +23,31 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; import static java.lang.Double.NaN; import static java.lang.Double.isInfinite; import static java.lang.Double.isNaN; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.util.Locale; import java.util.TimeZone; import java.util.concurrent.Callable; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.parser.DateParser; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptEnvironment; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.InvokeByName; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.parser.DateParser; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.InvokeByName; /** * ECMA 15.9 Date Objects diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDebug.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDebug.java index 4409c0bda..f676782a5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDebug.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeDebug.java @@ -23,28 +23,28 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.io.PrintWriter; import java.util.LinkedList; import java.util.Objects; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertySwitchPoints; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.Scope; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.events.RuntimeEvent; -import jdk.nashorn.internal.runtime.linker.LinkerCallSite; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertySwitchPoints; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.Scope; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.events.RuntimeEvent; +import org.openjdk.nashorn.internal.runtime.linker.LinkerCallSite; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; /** * Nashorn specific debug utils. This is meant for Nashorn developers. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeError.java index 7d3221ae2..409d39736 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeError.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeError.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; -import jdk.nashorn.api.scripting.NashornException; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.ECMAException; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.api.scripting.NashornException; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.ECMAException; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * ECMA 15.11 Error Objects diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeEvalError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeEvalError.java index 586c7cffb..befd59078 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeEvalError.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeEvalError.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * ECMA 15.11.6.1 EvalError diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat32Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat32Array.java index bf5f68c4f..f98f8451c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat32Array.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat32Array.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.nio.ByteBuffer; import java.nio.FloatBuffer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * Float32 array for the TypedArray extension diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat64Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat64Array.java index 0a46907cd..c9e123a2f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat64Array.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFloat64Array.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.nio.ByteBuffer; import java.nio.DoubleBuffer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * Float64 array for the TypedArray extension diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFunction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFunction.java index 61df4e4ab..9d61f6b36 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFunction.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeFunction.java @@ -23,33 +23,33 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import static jdk.nashorn.internal.runtime.Source.sourceFor; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.Source.sourceFor; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.util.List; import jdk.dynalink.linker.support.Lookup; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.parser.Parser; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptEnvironment; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.parser.Parser; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; /** * ECMA 15.3 Function Objects diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt16Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt16Array.java index 4700e2750..8e5552237 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt16Array.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt16Array.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.nio.ByteBuffer; import java.nio.ShortBuffer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * Int16 array for the TypedArray extension diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt32Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt32Array.java index 4292985d2..9f012393d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt32Array.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt32Array.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.nio.ByteBuffer; import java.nio.IntBuffer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * Int32 array for the TypedArray extension diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt8Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt8Array.java index 13f00581f..3f5b31fce 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt8Array.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeInt8Array.java @@ -23,24 +23,24 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.nio.ByteBuffer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * Int8Array for the TypedArray extension diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSAdapter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSAdapter.java index ac90b8bdf..3fc6e749a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSAdapter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSAdapter.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -39,18 +39,18 @@ import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.lookup.Lookup; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.FindProperty; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; -import jdk.nashorn.internal.scripts.JO; +import org.openjdk.nashorn.internal.lookup.Lookup; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.FindProperty; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.scripts.JO; /** * This class is the implementation of the Nashorn-specific global object named {@code JSAdapter}. It can be thought of diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSON.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSON.java index 32cb48ce7..9e894bf90 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSON.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJSON.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.util.ArrayList; @@ -37,20 +37,20 @@ import java.util.Map; import java.util.Objects; import java.util.concurrent.Callable; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.ConsString; -import jdk.nashorn.internal.runtime.JSONFunctions; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.InvokeByName; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.ConsString; +import org.openjdk.nashorn.internal.runtime.JSONFunctions; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.InvokeByName; /** * ECMAScript 262 Edition 5, Section 15.12 The NativeJSON Object diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJava.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJava.java index 55b9dcf40..e5b58c8e1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJava.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJava.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandles; import java.lang.reflect.Array; @@ -41,22 +41,22 @@ import jdk.dynalink.beans.BeansLinker; import jdk.dynalink.beans.StaticClass; import jdk.dynalink.linker.support.TypeUtilities; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.api.scripting.ScriptUtils; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ListAdapter; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.JavaAdapterFactory; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.ScriptUtils; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ListAdapter; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.JavaAdapterFactory; /** * This class is the implementation for the {@code Java} global object exposed to programs running under Nashorn. This diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJavaImporter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJavaImporter.java index 310180e9e..7879d7cf6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJavaImporter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeJavaImporter.java @@ -23,16 +23,16 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; import jdk.dynalink.beans.StaticClass; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.FindProperty; -import jdk.nashorn.internal.runtime.NativeJavaPackage; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.FindProperty; +import org.openjdk.nashorn.internal.runtime.NativeJavaPackage; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * This is "JavaImporter" constructor. This constructor allows you to use Java types omitting explicit package names. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMap.java index 7c173f9c8..9bc95b395 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMap.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMap.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; import java.lang.invoke.MethodHandle; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.ConsString; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; -import jdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.ConsString; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; /** * This implements the ECMA6 Map object. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMath.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMath.java index d73fb8afe..39fb549e5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMath.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeMath.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.objects; - -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +package org.openjdk.nashorn.internal.objects; + +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * ECMA 15.8 The Math Object diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeNumber.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeNumber.java index c52e1b35f..9687720e5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeNumber.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeNumber.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -36,20 +36,20 @@ import java.util.Locale; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.doubleconv.DoubleConversion; -import jdk.nashorn.internal.runtime.linker.NashornGuards; -import jdk.nashorn.internal.runtime.linker.PrimitiveLookup; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.doubleconv.DoubleConversion; +import org.openjdk.nashorn.internal.runtime.linker.NashornGuards; +import org.openjdk.nashorn.internal.runtime.linker.PrimitiveLookup; /** * ECMA 15.7 Number Objects. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeObject.java index 718d82b60..feb0e071b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeObject.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeObject.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; import static jdk.dynalink.StandardNamespace.METHOD; import static jdk.dynalink.StandardNamespace.PROPERTY; import static jdk.dynalink.StandardOperation.GET; import static jdk.dynalink.StandardOperation.SET; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -51,26 +51,26 @@ import jdk.dynalink.linker.GuardingDynamicLinker; import jdk.dynalink.linker.LinkRequest; import jdk.dynalink.linker.support.SimpleLinkRequest; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.lookup.Lookup; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.AccessorProperty; -import jdk.nashorn.internal.runtime.ECMAException; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.Property; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.ArrayIndex; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.InvokeByName; -import jdk.nashorn.internal.runtime.linker.NashornBeansLinker; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.lookup.Lookup; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.AccessorProperty; +import org.openjdk.nashorn.internal.runtime.ECMAException; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.Property; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.InvokeByName; +import org.openjdk.nashorn.internal.runtime.linker.NashornBeansLinker; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; /** * ECMA 15.2 Object objects diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRangeError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRangeError.java index ff3ac7b77..a5890da9c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRangeError.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRangeError.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * ECMA 15.11.6.2 RangeError diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeReferenceError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeReferenceError.java index 741901796..1e2cd5f3d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeReferenceError.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeReferenceError.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * ECMA 15.11.6.3 ReferenceError diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExp.java index 5dd140352..4ab7e6b0b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExp.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExp.java @@ -23,35 +23,35 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.Callable; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.BitVector; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.regexp.RegExp; -import jdk.nashorn.internal.runtime.regexp.RegExpFactory; -import jdk.nashorn.internal.runtime.regexp.RegExpMatcher; -import jdk.nashorn.internal.runtime.regexp.RegExpResult; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.BitVector; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.regexp.RegExp; +import org.openjdk.nashorn.internal.runtime.regexp.RegExpFactory; +import org.openjdk.nashorn.internal.runtime.regexp.RegExpMatcher; +import org.openjdk.nashorn.internal.runtime.regexp.RegExpResult; /** * ECMA 15.10 RegExp Objects. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExpExecResult.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExpExecResult.java index 1ec733cf3..b1fd997e6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExpExecResult.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeRegExpExecResult.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Setter; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.regexp.RegExpResult; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Setter; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.regexp.RegExpResult; /** * Objects of this class are used to represent return values from diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSet.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSet.java index da3ebe12c..219dbefc7 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSet.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSet.java @@ -23,23 +23,23 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; import java.lang.invoke.MethodHandle; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; -import jdk.nashorn.internal.runtime.linker.Bootstrap; - -import static jdk.nashorn.internal.objects.NativeMap.convertKey; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; + +import static org.openjdk.nashorn.internal.objects.NativeMap.convertKey; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; /** * This implements the ECMA6 Set object. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeStrictArguments.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeStrictArguments.java index 47ecaeeb2..3a4e3561f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeStrictArguments.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeStrictArguments.java @@ -23,21 +23,21 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.util.ArrayList; import java.util.Arrays; -import jdk.nashorn.internal.runtime.AccessorProperty; -import jdk.nashorn.internal.runtime.Property; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.AccessorProperty; +import org.openjdk.nashorn.internal.runtime.Property; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; /** * ECMA 10.6 Arguments Object. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeString.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeString.java index 0542397a7..fe18d7076 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeString.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeString.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.JSType.isRepresentableAsInt; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.JSType.isRepresentableAsInt; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -44,26 +44,26 @@ import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.lookup.MethodHandleFactory.LookupException; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.ConsString; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.OptimisticBuiltins; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.arrays.ArrayIndex; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; -import jdk.nashorn.internal.runtime.linker.NashornGuards; -import jdk.nashorn.internal.runtime.linker.PrimitiveLookup; +import org.openjdk.nashorn.internal.lookup.MethodHandleFactory.LookupException; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.ConsString; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.OptimisticBuiltins; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.runtime.linker.NashornGuards; +import org.openjdk.nashorn.internal.runtime.linker.PrimitiveLookup; /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSymbol.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSymbol.java index d4ef0d9ba..73f1b9a3c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSymbol.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSymbol.java @@ -23,31 +23,31 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.WeakValueCache; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Getter; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Symbol; -import jdk.nashorn.internal.runtime.Undefined; -import jdk.nashorn.internal.runtime.linker.PrimitiveLookup; +import org.openjdk.nashorn.internal.WeakValueCache; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Getter; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Symbol; +import org.openjdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.runtime.linker.PrimitiveLookup; /** * ECMAScript 6 - 19.4 Symbol Objects diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java index db7debb01..929fc3636 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * ECMA 15.11.6.4 SyntaxError diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeTypeError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeTypeError.java index 6e5a4934f..30c476cf2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeTypeError.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeTypeError.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * ECMA 15.11.6.5 TypeError diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeURIError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeURIError.java index cf5fdaa04..1e3984352 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeURIError.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeURIError.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * ECMA 15.11.6.6 URIError diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint16Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint16Array.java index 0dfd2754c..bb493be11 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint16Array.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint16Array.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.nio.ByteBuffer; import java.nio.CharBuffer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * Uint16 array for TypedArray extension diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint32Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint32Array.java index 7b91eb283..6cdde92d2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint32Array.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint32Array.java @@ -23,28 +23,28 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.IntBuffer; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.UnwarrantedOptimismException; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * Uint32 array for TypedArray extension diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8Array.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8Array.java index 3b11a54be..4bdcff118 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8Array.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8Array.java @@ -23,24 +23,24 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.nio.ByteBuffer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * Uint8 array for TypedArray extension diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8ClampedArray.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8ClampedArray.java index 2edf2a766..0a093e620 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8ClampedArray.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeUint8ClampedArray.java @@ -23,26 +23,26 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCall; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCall; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.nio.ByteBuffer; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.Property; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.objects.annotations.Where; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.TypedArrayData; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.Property; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.objects.annotations.Where; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.TypedArrayData; /** * Uint8 clamped array for TypedArray extension diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java index 7b08a78f8..5d7290fa4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java @@ -23,21 +23,21 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; import java.util.Map; import java.util.WeakHashMap; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; - -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.JSType.isPrimitive; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; + +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.JSType.isPrimitive; /** * This implements the ECMA6 WeakMap object. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakSet.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakSet.java index fb27bffc7..7b98ae814 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakSet.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakSet.java @@ -23,22 +23,22 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; import java.util.Map; import java.util.WeakHashMap; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Constructor; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Constructor; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; -import static jdk.nashorn.internal.objects.NativeWeakMap.checkKey; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.JSType.isPrimitive; +import static org.openjdk.nashorn.internal.objects.NativeWeakMap.checkKey; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.JSType.isPrimitive; /** * This implements the ECMA6 WeakSet object. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/SetIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/SetIterator.java index ac504bc50..f2aa5d2d1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/SetIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/SetIterator.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; /** * ECMA6 23.2.5 Set Iterator Objects diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/StringIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/StringIterator.java index 2c3cf0bb4..9586997b5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/StringIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/StringIterator.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.objects.annotations.ScriptClass; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.objects.annotations.ScriptClass; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; /** * ECMA6 21.1.5 String Iterator Objects diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Attribute.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Attribute.java index f14d2e3fe..d55806dc6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Attribute.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Attribute.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; /** * Attributes for JavaScript properties. The negative logic "NOT_xxx" is because the @@ -32,13 +32,13 @@ public interface Attribute { /** Flag for non-writable properties */ - public static final int NOT_WRITABLE = jdk.nashorn.internal.runtime.Property.NOT_WRITABLE; + public static final int NOT_WRITABLE = org.openjdk.nashorn.internal.runtime.Property.NOT_WRITABLE; /** Flag for non-enumerable properties */ - public static final int NOT_ENUMERABLE = jdk.nashorn.internal.runtime.Property.NOT_ENUMERABLE; + public static final int NOT_ENUMERABLE = org.openjdk.nashorn.internal.runtime.Property.NOT_ENUMERABLE; /** Flag for non-configurable properties */ - public static final int NOT_CONFIGURABLE = jdk.nashorn.internal.runtime.Property.NOT_CONFIGURABLE; + public static final int NOT_CONFIGURABLE = org.openjdk.nashorn.internal.runtime.Property.NOT_CONFIGURABLE; /** * Flag for accessor (getter/setter) properties as opposed to data properties. @@ -48,7 +48,7 @@ public interface Attribute { * such as Map.prototype.size in ES6, not value properties that happen to be implemented by getter/setter * such as the "length" properties of String or Array objects.

*/ - public static final int IS_ACCESSOR = jdk.nashorn.internal.runtime.Property.IS_ACCESSOR_PROPERTY; + public static final int IS_ACCESSOR = org.openjdk.nashorn.internal.runtime.Property.IS_ACCESSOR_PROPERTY; /** Read-only, non-configurable property */ public static final int CONSTANT = NOT_WRITABLE | NOT_CONFIGURABLE; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Constructor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Constructor.java index a04a2badc..56aa07a6e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Constructor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Constructor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Function.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Function.java index b405f3c3c..c703b1550 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Function.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Function.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; -import static jdk.nashorn.internal.objects.annotations.Attribute.DEFAULT_ATTRIBUTES; +import static org.openjdk.nashorn.internal.objects.annotations.Attribute.DEFAULT_ATTRIBUTES; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Getter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Getter.java index f20b7e859..0b5d8ab8e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Getter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Getter.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; -import static jdk.nashorn.internal.objects.annotations.Attribute.DEFAULT_ATTRIBUTES; +import static org.openjdk.nashorn.internal.objects.annotations.Attribute.DEFAULT_ATTRIBUTES; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Optimistic.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Optimistic.java index 09e3b2a56..08dcdcaea 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Optimistic.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Optimistic.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Property.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Property.java index 7da82fe16..a04cea360 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Property.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Property.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; -import static jdk.nashorn.internal.objects.annotations.Attribute.DEFAULT_ATTRIBUTES; +import static org.openjdk.nashorn.internal.objects.annotations.Attribute.DEFAULT_ATTRIBUTES; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/ScriptClass.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/ScriptClass.java index 4c0e0b2be..554822433 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/ScriptClass.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/ScriptClass.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Setter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Setter.java index beeca98c3..053c9acc2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Setter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Setter.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; -import static jdk.nashorn.internal.objects.annotations.Attribute.DEFAULT_ATTRIBUTES; +import static org.openjdk.nashorn.internal.objects.annotations.Attribute.DEFAULT_ATTRIBUTES; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/SpecializedFunction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/SpecializedFunction.java index b6aeaa9eb..3bfb8138f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/SpecializedFunction.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/SpecializedFunction.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; @@ -32,8 +32,8 @@ import java.lang.invoke.MethodHandle; import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.UnwarrantedOptimismException; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException; /** * The SpecializedFunction annotation is used to flag more type specific diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Where.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Where.java index 9153afe1e..01e6ee631 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Where.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/annotations/Where.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.objects.annotations; +package org.openjdk.nashorn.internal.objects.annotations; /** * Enum to tell where a Function or Property belongs. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/package-info.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/package-info.java index 6a106ec8b..6a5fd370a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/package-info.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/package-info.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.objects; +package org.openjdk.nashorn.internal.objects; /** * Classes from this package should never be directly referred from diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/AbstractParser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/AbstractParser.java index 1b239da48..63835e750 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/AbstractParser.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/AbstractParser.java @@ -23,25 +23,25 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; -import static jdk.nashorn.internal.parser.TokenType.COMMENT; -import static jdk.nashorn.internal.parser.TokenType.DIRECTIVE_COMMENT; -import static jdk.nashorn.internal.parser.TokenType.EOF; -import static jdk.nashorn.internal.parser.TokenType.EOL; -import static jdk.nashorn.internal.parser.TokenType.IDENT; +import static org.openjdk.nashorn.internal.parser.TokenType.COMMENT; +import static org.openjdk.nashorn.internal.parser.TokenType.DIRECTIVE_COMMENT; +import static org.openjdk.nashorn.internal.parser.TokenType.EOF; +import static org.openjdk.nashorn.internal.parser.TokenType.EOL; +import static org.openjdk.nashorn.internal.parser.TokenType.IDENT; import java.util.HashMap; import java.util.Map; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.parser.Lexer.LexerToken; -import jdk.nashorn.internal.parser.Lexer.RegexToken; -import jdk.nashorn.internal.runtime.ECMAErrors; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.JSErrorType; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.internal.runtime.regexp.RegExpFactory; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.parser.Lexer.LexerToken; +import org.openjdk.nashorn.internal.parser.Lexer.RegexToken; +import org.openjdk.nashorn.internal.runtime.ECMAErrors; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.JSErrorType; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.regexp.RegExpFactory; /** * Base class for parsers. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/DateParser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/DateParser.java index 4145dcb2f..7707f9cc0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/DateParser.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/DateParser.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; import static java.lang.Character.DECIMAL_DIGIT_NUMBER; import static java.lang.Character.LOWERCASE_LETTER; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/JSONParser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/JSONParser.java index 88513a996..09461ce87 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/JSONParser.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/JSONParser.java @@ -23,28 +23,28 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; import java.util.ArrayList; import java.util.List; -import jdk.nashorn.internal.codegen.ObjectClassGenerator; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.ECMAErrors; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.JSErrorType; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.Property; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.internal.runtime.SpillProperty; -import jdk.nashorn.internal.runtime.arrays.ArrayData; -import jdk.nashorn.internal.runtime.arrays.ArrayIndex; -import jdk.nashorn.internal.scripts.JD; -import jdk.nashorn.internal.scripts.JO; - -import static jdk.nashorn.internal.parser.TokenType.STRING; +import org.openjdk.nashorn.internal.codegen.ObjectClassGenerator; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.ECMAErrors; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.JSErrorType; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.Property; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.SpillProperty; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayData; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex; +import org.openjdk.nashorn.internal.scripts.JD; +import org.openjdk.nashorn.internal.scripts.JO; + +import static org.openjdk.nashorn.internal.parser.TokenType.STRING; /** * Parses JSON text and returns the corresponding IR node. This is derived from diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Lexer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Lexer.java index 8266e7052..08c8c75e0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Lexer.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Lexer.java @@ -23,44 +23,44 @@ * questions. */ -package jdk.nashorn.internal.parser; - -import static jdk.nashorn.internal.parser.TokenType.ADD; -import static jdk.nashorn.internal.parser.TokenType.BINARY_NUMBER; -import static jdk.nashorn.internal.parser.TokenType.COMMENT; -import static jdk.nashorn.internal.parser.TokenType.DECIMAL; -import static jdk.nashorn.internal.parser.TokenType.DIRECTIVE_COMMENT; -import static jdk.nashorn.internal.parser.TokenType.EOF; -import static jdk.nashorn.internal.parser.TokenType.EOL; -import static jdk.nashorn.internal.parser.TokenType.ERROR; -import static jdk.nashorn.internal.parser.TokenType.ESCSTRING; -import static jdk.nashorn.internal.parser.TokenType.EXECSTRING; -import static jdk.nashorn.internal.parser.TokenType.FLOATING; -import static jdk.nashorn.internal.parser.TokenType.FUNCTION; -import static jdk.nashorn.internal.parser.TokenType.HEXADECIMAL; -import static jdk.nashorn.internal.parser.TokenType.LBRACE; -import static jdk.nashorn.internal.parser.TokenType.LPAREN; -import static jdk.nashorn.internal.parser.TokenType.OCTAL; -import static jdk.nashorn.internal.parser.TokenType.OCTAL_LEGACY; -import static jdk.nashorn.internal.parser.TokenType.RBRACE; -import static jdk.nashorn.internal.parser.TokenType.REGEX; -import static jdk.nashorn.internal.parser.TokenType.RPAREN; -import static jdk.nashorn.internal.parser.TokenType.STRING; -import static jdk.nashorn.internal.parser.TokenType.TEMPLATE; -import static jdk.nashorn.internal.parser.TokenType.TEMPLATE_HEAD; -import static jdk.nashorn.internal.parser.TokenType.TEMPLATE_MIDDLE; -import static jdk.nashorn.internal.parser.TokenType.TEMPLATE_TAIL; -import static jdk.nashorn.internal.parser.TokenType.XML; +package org.openjdk.nashorn.internal.parser; + +import static org.openjdk.nashorn.internal.parser.TokenType.ADD; +import static org.openjdk.nashorn.internal.parser.TokenType.BINARY_NUMBER; +import static org.openjdk.nashorn.internal.parser.TokenType.COMMENT; +import static org.openjdk.nashorn.internal.parser.TokenType.DECIMAL; +import static org.openjdk.nashorn.internal.parser.TokenType.DIRECTIVE_COMMENT; +import static org.openjdk.nashorn.internal.parser.TokenType.EOF; +import static org.openjdk.nashorn.internal.parser.TokenType.EOL; +import static org.openjdk.nashorn.internal.parser.TokenType.ERROR; +import static org.openjdk.nashorn.internal.parser.TokenType.ESCSTRING; +import static org.openjdk.nashorn.internal.parser.TokenType.EXECSTRING; +import static org.openjdk.nashorn.internal.parser.TokenType.FLOATING; +import static org.openjdk.nashorn.internal.parser.TokenType.FUNCTION; +import static org.openjdk.nashorn.internal.parser.TokenType.HEXADECIMAL; +import static org.openjdk.nashorn.internal.parser.TokenType.LBRACE; +import static org.openjdk.nashorn.internal.parser.TokenType.LPAREN; +import static org.openjdk.nashorn.internal.parser.TokenType.OCTAL; +import static org.openjdk.nashorn.internal.parser.TokenType.OCTAL_LEGACY; +import static org.openjdk.nashorn.internal.parser.TokenType.RBRACE; +import static org.openjdk.nashorn.internal.parser.TokenType.REGEX; +import static org.openjdk.nashorn.internal.parser.TokenType.RPAREN; +import static org.openjdk.nashorn.internal.parser.TokenType.STRING; +import static org.openjdk.nashorn.internal.parser.TokenType.TEMPLATE; +import static org.openjdk.nashorn.internal.parser.TokenType.TEMPLATE_HEAD; +import static org.openjdk.nashorn.internal.parser.TokenType.TEMPLATE_MIDDLE; +import static org.openjdk.nashorn.internal.parser.TokenType.TEMPLATE_TAIL; +import static org.openjdk.nashorn.internal.parser.TokenType.XML; import java.io.Serializable; -import jdk.nashorn.internal.runtime.ECMAErrors; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.JSErrorType; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.runtime.ECMAErrors; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.JSErrorType; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * Responsible for converting source content into a stream of tokens. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Parser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Parser.java index 51dcdf968..475c8b28d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Parser.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Parser.java @@ -23,60 +23,60 @@ * questions. */ -package jdk.nashorn.internal.parser; - -import static jdk.nashorn.internal.codegen.CompilerConstants.ANON_FUNCTION_PREFIX; -import static jdk.nashorn.internal.codegen.CompilerConstants.EVAL; -import static jdk.nashorn.internal.codegen.CompilerConstants.PROGRAM; -import static jdk.nashorn.internal.parser.TokenType.ARROW; -import static jdk.nashorn.internal.parser.TokenType.ASSIGN; -import static jdk.nashorn.internal.parser.TokenType.CASE; -import static jdk.nashorn.internal.parser.TokenType.CATCH; -import static jdk.nashorn.internal.parser.TokenType.CLASS; -import static jdk.nashorn.internal.parser.TokenType.COLON; -import static jdk.nashorn.internal.parser.TokenType.COMMARIGHT; -import static jdk.nashorn.internal.parser.TokenType.COMMENT; -import static jdk.nashorn.internal.parser.TokenType.CONST; -import static jdk.nashorn.internal.parser.TokenType.DECPOSTFIX; -import static jdk.nashorn.internal.parser.TokenType.DECPREFIX; -import static jdk.nashorn.internal.parser.TokenType.ELLIPSIS; -import static jdk.nashorn.internal.parser.TokenType.ELSE; -import static jdk.nashorn.internal.parser.TokenType.EOF; -import static jdk.nashorn.internal.parser.TokenType.EOL; -import static jdk.nashorn.internal.parser.TokenType.EQ_STRICT; -import static jdk.nashorn.internal.parser.TokenType.ESCSTRING; -import static jdk.nashorn.internal.parser.TokenType.EXPORT; -import static jdk.nashorn.internal.parser.TokenType.EXTENDS; -import static jdk.nashorn.internal.parser.TokenType.FINALLY; -import static jdk.nashorn.internal.parser.TokenType.FUNCTION; -import static jdk.nashorn.internal.parser.TokenType.IDENT; -import static jdk.nashorn.internal.parser.TokenType.IF; -import static jdk.nashorn.internal.parser.TokenType.IMPORT; -import static jdk.nashorn.internal.parser.TokenType.INCPOSTFIX; -import static jdk.nashorn.internal.parser.TokenType.LBRACE; -import static jdk.nashorn.internal.parser.TokenType.LBRACKET; -import static jdk.nashorn.internal.parser.TokenType.LET; -import static jdk.nashorn.internal.parser.TokenType.LPAREN; -import static jdk.nashorn.internal.parser.TokenType.MUL; -import static jdk.nashorn.internal.parser.TokenType.PERIOD; -import static jdk.nashorn.internal.parser.TokenType.RBRACE; -import static jdk.nashorn.internal.parser.TokenType.RBRACKET; -import static jdk.nashorn.internal.parser.TokenType.RPAREN; -import static jdk.nashorn.internal.parser.TokenType.SEMICOLON; -import static jdk.nashorn.internal.parser.TokenType.SPREAD_ARRAY; -import static jdk.nashorn.internal.parser.TokenType.STATIC; -import static jdk.nashorn.internal.parser.TokenType.STRING; -import static jdk.nashorn.internal.parser.TokenType.SUPER; -import static jdk.nashorn.internal.parser.TokenType.TEMPLATE; -import static jdk.nashorn.internal.parser.TokenType.TEMPLATE_HEAD; -import static jdk.nashorn.internal.parser.TokenType.TEMPLATE_MIDDLE; -import static jdk.nashorn.internal.parser.TokenType.TEMPLATE_TAIL; -import static jdk.nashorn.internal.parser.TokenType.TERNARY; -import static jdk.nashorn.internal.parser.TokenType.VAR; -import static jdk.nashorn.internal.parser.TokenType.VOID; -import static jdk.nashorn.internal.parser.TokenType.WHILE; -import static jdk.nashorn.internal.parser.TokenType.YIELD; -import static jdk.nashorn.internal.parser.TokenType.YIELD_STAR; +package org.openjdk.nashorn.internal.parser; + +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ANON_FUNCTION_PREFIX; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.EVAL; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.PROGRAM; +import static org.openjdk.nashorn.internal.parser.TokenType.ARROW; +import static org.openjdk.nashorn.internal.parser.TokenType.ASSIGN; +import static org.openjdk.nashorn.internal.parser.TokenType.CASE; +import static org.openjdk.nashorn.internal.parser.TokenType.CATCH; +import static org.openjdk.nashorn.internal.parser.TokenType.CLASS; +import static org.openjdk.nashorn.internal.parser.TokenType.COLON; +import static org.openjdk.nashorn.internal.parser.TokenType.COMMARIGHT; +import static org.openjdk.nashorn.internal.parser.TokenType.COMMENT; +import static org.openjdk.nashorn.internal.parser.TokenType.CONST; +import static org.openjdk.nashorn.internal.parser.TokenType.DECPOSTFIX; +import static org.openjdk.nashorn.internal.parser.TokenType.DECPREFIX; +import static org.openjdk.nashorn.internal.parser.TokenType.ELLIPSIS; +import static org.openjdk.nashorn.internal.parser.TokenType.ELSE; +import static org.openjdk.nashorn.internal.parser.TokenType.EOF; +import static org.openjdk.nashorn.internal.parser.TokenType.EOL; +import static org.openjdk.nashorn.internal.parser.TokenType.EQ_STRICT; +import static org.openjdk.nashorn.internal.parser.TokenType.ESCSTRING; +import static org.openjdk.nashorn.internal.parser.TokenType.EXPORT; +import static org.openjdk.nashorn.internal.parser.TokenType.EXTENDS; +import static org.openjdk.nashorn.internal.parser.TokenType.FINALLY; +import static org.openjdk.nashorn.internal.parser.TokenType.FUNCTION; +import static org.openjdk.nashorn.internal.parser.TokenType.IDENT; +import static org.openjdk.nashorn.internal.parser.TokenType.IF; +import static org.openjdk.nashorn.internal.parser.TokenType.IMPORT; +import static org.openjdk.nashorn.internal.parser.TokenType.INCPOSTFIX; +import static org.openjdk.nashorn.internal.parser.TokenType.LBRACE; +import static org.openjdk.nashorn.internal.parser.TokenType.LBRACKET; +import static org.openjdk.nashorn.internal.parser.TokenType.LET; +import static org.openjdk.nashorn.internal.parser.TokenType.LPAREN; +import static org.openjdk.nashorn.internal.parser.TokenType.MUL; +import static org.openjdk.nashorn.internal.parser.TokenType.PERIOD; +import static org.openjdk.nashorn.internal.parser.TokenType.RBRACE; +import static org.openjdk.nashorn.internal.parser.TokenType.RBRACKET; +import static org.openjdk.nashorn.internal.parser.TokenType.RPAREN; +import static org.openjdk.nashorn.internal.parser.TokenType.SEMICOLON; +import static org.openjdk.nashorn.internal.parser.TokenType.SPREAD_ARRAY; +import static org.openjdk.nashorn.internal.parser.TokenType.STATIC; +import static org.openjdk.nashorn.internal.parser.TokenType.STRING; +import static org.openjdk.nashorn.internal.parser.TokenType.SUPER; +import static org.openjdk.nashorn.internal.parser.TokenType.TEMPLATE; +import static org.openjdk.nashorn.internal.parser.TokenType.TEMPLATE_HEAD; +import static org.openjdk.nashorn.internal.parser.TokenType.TEMPLATE_MIDDLE; +import static org.openjdk.nashorn.internal.parser.TokenType.TEMPLATE_TAIL; +import static org.openjdk.nashorn.internal.parser.TokenType.TERNARY; +import static org.openjdk.nashorn.internal.parser.TokenType.VAR; +import static org.openjdk.nashorn.internal.parser.TokenType.VOID; +import static org.openjdk.nashorn.internal.parser.TokenType.WHILE; +import static org.openjdk.nashorn.internal.parser.TokenType.YIELD; +import static org.openjdk.nashorn.internal.parser.TokenType.YIELD_STAR; import java.io.Serializable; import java.util.ArrayDeque; @@ -90,68 +90,68 @@ import java.util.Map; import java.util.Objects; import java.util.function.Consumer; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.codegen.Namespace; -import jdk.nashorn.internal.ir.AccessNode; -import jdk.nashorn.internal.ir.BaseNode; -import jdk.nashorn.internal.ir.BinaryNode; -import jdk.nashorn.internal.ir.Block; -import jdk.nashorn.internal.ir.BlockStatement; -import jdk.nashorn.internal.ir.BreakNode; -import jdk.nashorn.internal.ir.CallNode; -import jdk.nashorn.internal.ir.CaseNode; -import jdk.nashorn.internal.ir.CatchNode; -import jdk.nashorn.internal.ir.ClassNode; -import jdk.nashorn.internal.ir.ContinueNode; -import jdk.nashorn.internal.ir.DebuggerNode; -import jdk.nashorn.internal.ir.EmptyNode; -import jdk.nashorn.internal.ir.ErrorNode; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.ExpressionList; -import jdk.nashorn.internal.ir.ExpressionStatement; -import jdk.nashorn.internal.ir.ForNode; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.IfNode; -import jdk.nashorn.internal.ir.IndexNode; -import jdk.nashorn.internal.ir.JoinPredecessorExpression; -import jdk.nashorn.internal.ir.LabelNode; -import jdk.nashorn.internal.ir.LexicalContext; -import jdk.nashorn.internal.ir.LiteralNode; -import jdk.nashorn.internal.ir.Module; -import jdk.nashorn.internal.ir.Node; -import jdk.nashorn.internal.ir.ObjectNode; -import jdk.nashorn.internal.ir.PropertyKey; -import jdk.nashorn.internal.ir.PropertyNode; -import jdk.nashorn.internal.ir.ReturnNode; -import jdk.nashorn.internal.ir.RuntimeNode; -import jdk.nashorn.internal.ir.Statement; -import jdk.nashorn.internal.ir.SwitchNode; -import jdk.nashorn.internal.ir.TemplateLiteral; -import jdk.nashorn.internal.ir.TernaryNode; -import jdk.nashorn.internal.ir.ThrowNode; -import jdk.nashorn.internal.ir.TryNode; -import jdk.nashorn.internal.ir.UnaryNode; -import jdk.nashorn.internal.ir.VarNode; -import jdk.nashorn.internal.ir.WhileNode; -import jdk.nashorn.internal.ir.WithNode; -import jdk.nashorn.internal.ir.debug.ASTWriter; -import jdk.nashorn.internal.ir.debug.PrintVisitor; -import jdk.nashorn.internal.ir.visitor.NodeVisitor; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.JSErrorType; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData; -import jdk.nashorn.internal.runtime.ScriptEnvironment; -import jdk.nashorn.internal.runtime.ScriptFunctionData; -import jdk.nashorn.internal.runtime.ScriptingFunctions; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.internal.runtime.Timing; -import jdk.nashorn.internal.runtime.linker.NameCodec; -import jdk.nashorn.internal.runtime.logging.DebugLogger; -import jdk.nashorn.internal.runtime.logging.Loggable; -import jdk.nashorn.internal.runtime.logging.Logger; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.codegen.Namespace; +import org.openjdk.nashorn.internal.ir.AccessNode; +import org.openjdk.nashorn.internal.ir.BaseNode; +import org.openjdk.nashorn.internal.ir.BinaryNode; +import org.openjdk.nashorn.internal.ir.Block; +import org.openjdk.nashorn.internal.ir.BlockStatement; +import org.openjdk.nashorn.internal.ir.BreakNode; +import org.openjdk.nashorn.internal.ir.CallNode; +import org.openjdk.nashorn.internal.ir.CaseNode; +import org.openjdk.nashorn.internal.ir.CatchNode; +import org.openjdk.nashorn.internal.ir.ClassNode; +import org.openjdk.nashorn.internal.ir.ContinueNode; +import org.openjdk.nashorn.internal.ir.DebuggerNode; +import org.openjdk.nashorn.internal.ir.EmptyNode; +import org.openjdk.nashorn.internal.ir.ErrorNode; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.ExpressionList; +import org.openjdk.nashorn.internal.ir.ExpressionStatement; +import org.openjdk.nashorn.internal.ir.ForNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.IfNode; +import org.openjdk.nashorn.internal.ir.IndexNode; +import org.openjdk.nashorn.internal.ir.JoinPredecessorExpression; +import org.openjdk.nashorn.internal.ir.LabelNode; +import org.openjdk.nashorn.internal.ir.LexicalContext; +import org.openjdk.nashorn.internal.ir.LiteralNode; +import org.openjdk.nashorn.internal.ir.Module; +import org.openjdk.nashorn.internal.ir.Node; +import org.openjdk.nashorn.internal.ir.ObjectNode; +import org.openjdk.nashorn.internal.ir.PropertyKey; +import org.openjdk.nashorn.internal.ir.PropertyNode; +import org.openjdk.nashorn.internal.ir.ReturnNode; +import org.openjdk.nashorn.internal.ir.RuntimeNode; +import org.openjdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.SwitchNode; +import org.openjdk.nashorn.internal.ir.TemplateLiteral; +import org.openjdk.nashorn.internal.ir.TernaryNode; +import org.openjdk.nashorn.internal.ir.ThrowNode; +import org.openjdk.nashorn.internal.ir.TryNode; +import org.openjdk.nashorn.internal.ir.UnaryNode; +import org.openjdk.nashorn.internal.ir.VarNode; +import org.openjdk.nashorn.internal.ir.WhileNode; +import org.openjdk.nashorn.internal.ir.WithNode; +import org.openjdk.nashorn.internal.ir.debug.ASTWriter; +import org.openjdk.nashorn.internal.ir.debug.PrintVisitor; +import org.openjdk.nashorn.internal.ir.visitor.NodeVisitor; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.JSErrorType; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData; +import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; +import org.openjdk.nashorn.internal.runtime.ScriptFunctionData; +import org.openjdk.nashorn.internal.runtime.ScriptingFunctions; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.Timing; +import org.openjdk.nashorn.internal.runtime.linker.NameCodec; +import org.openjdk.nashorn.internal.runtime.logging.DebugLogger; +import org.openjdk.nashorn.internal.runtime.logging.Loggable; +import org.openjdk.nashorn.internal.runtime.logging.Logger; /** * Builds the IR. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContext.java index fd2476a7c..ba440edd1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContext.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContext.java @@ -22,11 +22,11 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; import java.util.Iterator; import java.util.NoSuchElementException; -import jdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.Statement; /** * A class that tracks the current lexical context of node visitation as a stack of {@code ParserContextNode} nodes. Has special diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBaseNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBaseNode.java index d0fca9cd0..b4f9e5a0c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBaseNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBaseNode.java @@ -22,11 +22,11 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; import java.util.ArrayList; import java.util.List; -import jdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.Statement; /** * Base class for parser context nodes diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBlockNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBlockNode.java index e87bd1293..c789126b1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBlockNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBlockNode.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; /** * A ParserContextNode that represents a block that is currently being parsed diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBreakableNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBreakableNode.java index cb0b46d9c..f1b5a8457 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBreakableNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextBreakableNode.java @@ -22,9 +22,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; -import jdk.nashorn.internal.ir.BreakNode; +import org.openjdk.nashorn.internal.ir.BreakNode; /** * An interface that is implemented by ParserContextNodes that can diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextFunctionNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextFunctionNode.java index 34e1e0cca..668c53337 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextFunctionNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextFunctionNode.java @@ -22,17 +22,17 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; -import jdk.nashorn.internal.codegen.Namespace; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.Module; +import org.openjdk.nashorn.internal.codegen.Namespace; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.Module; /** * ParserContextNode that represents a function that is currently being parsed diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLabelNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLabelNode.java index a5179107b..1bcff3a3b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLabelNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLabelNode.java @@ -23,7 +23,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; /** * ParserContextNode that represents a LabelNode diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLoopNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLoopNode.java index 31e4b3ad5..4ef5f6506 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLoopNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextLoopNode.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; /** * A ParserContextNode that represents a loop that is being parsed diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextModuleNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextModuleNode.java index d62df90bd..c028b0ac5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextModuleNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextModuleNode.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; import java.util.ArrayList; import java.util.List; -import jdk.nashorn.internal.ir.IdentNode; -import jdk.nashorn.internal.ir.Module; -import jdk.nashorn.internal.ir.Module.ExportEntry; -import jdk.nashorn.internal.ir.Module.ImportEntry; +import org.openjdk.nashorn.internal.ir.IdentNode; +import org.openjdk.nashorn.internal.ir.Module; +import org.openjdk.nashorn.internal.ir.Module.ExportEntry; +import org.openjdk.nashorn.internal.ir.Module.ImportEntry; /** * ParserContextNode that represents a module. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextNode.java index 416ba7629..5953b3e1a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextNode.java @@ -22,10 +22,10 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; import java.util.List; -import jdk.nashorn.internal.ir.Statement; +import org.openjdk.nashorn.internal.ir.Statement; /** * Used for keeping state when needed in the parser. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextSwitchNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextSwitchNode.java index ec0d2d0ec..571f37a06 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextSwitchNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/ParserContextSwitchNode.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; /** * A ParserContextNode that represents a SwitchNode that is currently being parsed diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Scanner.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Scanner.java index 330343940..30a8f7e01 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Scanner.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Scanner.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; /** * Utility for scanning thru a char array. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Token.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Token.java index 1eb58a507..906bc7c24 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Token.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/Token.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; -import static jdk.nashorn.internal.parser.TokenKind.LITERAL; +import static org.openjdk.nashorn.internal.parser.TokenKind.LITERAL; -import jdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.Source; /** * A token is a 64 bit long value that represents a basic parse/lex unit. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenKind.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenKind.java index af3029da8..801a5b5b4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenKind.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenKind.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; /** * Classification of token types. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenLookup.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenLookup.java index 56bd37c48..772e6f7b5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenLookup.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenLookup.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; -import static jdk.nashorn.internal.parser.TokenKind.SPECIAL; -import static jdk.nashorn.internal.parser.TokenType.IDENT; +import static org.openjdk.nashorn.internal.parser.TokenKind.SPECIAL; +import static org.openjdk.nashorn.internal.parser.TokenType.IDENT; /** * Fast lookup of operators and keywords. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenStream.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenStream.java index f7df999f9..684aaf712 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenStream.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenStream.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; /** * diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenType.java index 54f89dbcc..27b4aad50 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/parser/TokenType.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.parser; +package org.openjdk.nashorn.internal.parser; -import static jdk.nashorn.internal.parser.TokenKind.BINARY; -import static jdk.nashorn.internal.parser.TokenKind.BRACKET; -import static jdk.nashorn.internal.parser.TokenKind.FUTURE; -import static jdk.nashorn.internal.parser.TokenKind.FUTURESTRICT; -import static jdk.nashorn.internal.parser.TokenKind.IR; -import static jdk.nashorn.internal.parser.TokenKind.KEYWORD; -import static jdk.nashorn.internal.parser.TokenKind.LITERAL; -import static jdk.nashorn.internal.parser.TokenKind.SPECIAL; -import static jdk.nashorn.internal.parser.TokenKind.UNARY; +import static org.openjdk.nashorn.internal.parser.TokenKind.BINARY; +import static org.openjdk.nashorn.internal.parser.TokenKind.BRACKET; +import static org.openjdk.nashorn.internal.parser.TokenKind.FUTURE; +import static org.openjdk.nashorn.internal.parser.TokenKind.FUTURESTRICT; +import static org.openjdk.nashorn.internal.parser.TokenKind.IR; +import static org.openjdk.nashorn.internal.parser.TokenKind.KEYWORD; +import static org.openjdk.nashorn.internal.parser.TokenKind.LITERAL; +import static org.openjdk.nashorn.internal.parser.TokenKind.SPECIAL; +import static org.openjdk.nashorn.internal.parser.TokenKind.UNARY; import java.util.Locale; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessControlContextFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessControlContextFactory.java index bdc72ef08..ccd6a7e97 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessControlContextFactory.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessControlContextFactory.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.security.AccessControlContext; import java.security.Permission; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessorProperty.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessorProperty.java index e14860eb6..d0105f923 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessorProperty.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AccessorProperty.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.runtime; - -import static jdk.nashorn.internal.codegen.ObjectClassGenerator.PRIMITIVE_FIELD_TYPE; -import static jdk.nashorn.internal.codegen.ObjectClassGenerator.createGetter; -import static jdk.nashorn.internal.codegen.ObjectClassGenerator.createSetter; -import static jdk.nashorn.internal.codegen.ObjectClassGenerator.getFieldCount; -import static jdk.nashorn.internal.codegen.ObjectClassGenerator.getFieldName; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.lookup.MethodHandleFactory.stripName; -import static jdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex; -import static jdk.nashorn.internal.runtime.JSType.getNumberOfAccessorTypes; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +package org.openjdk.nashorn.internal.runtime; + +import static org.openjdk.nashorn.internal.codegen.ObjectClassGenerator.PRIMITIVE_FIELD_TYPE; +import static org.openjdk.nashorn.internal.codegen.ObjectClassGenerator.createGetter; +import static org.openjdk.nashorn.internal.codegen.ObjectClassGenerator.createSetter; +import static org.openjdk.nashorn.internal.codegen.ObjectClassGenerator.getFieldCount; +import static org.openjdk.nashorn.internal.codegen.ObjectClassGenerator.getFieldName; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.MethodHandleFactory.stripName; +import static org.openjdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex; +import static org.openjdk.nashorn.internal.runtime.JSType.getNumberOfAccessorTypes; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; import java.io.IOException; import java.io.ObjectInputStream; import java.lang.invoke.MethodHandle; @@ -42,10 +42,10 @@ import java.lang.invoke.SwitchPoint; import java.util.function.Supplier; import java.util.logging.Level; -import jdk.nashorn.internal.codegen.ObjectClassGenerator; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.lookup.Lookup; -import jdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.codegen.ObjectClassGenerator; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.lookup.Lookup; +import org.openjdk.nashorn.internal.objects.Global; /** * An AccessorProperty is the most generic property type. An AccessorProperty is diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AllocationStrategy.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AllocationStrategy.java index f6ac2f49c..8b3f0b264 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AllocationStrategy.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AllocationStrategy.java @@ -22,17 +22,17 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.io.Serializable; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.ref.WeakReference; -import jdk.nashorn.internal.codegen.Compiler; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.codegen.ObjectClassGenerator; +import org.openjdk.nashorn.internal.codegen.Compiler; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.codegen.ObjectClassGenerator; /** * Encapsulates the allocation strategy for a function when used as a constructor. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ArgumentSetter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ArgumentSetter.java index 8546ead18..b23e96857 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ArgumentSetter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ArgumentSetter.java @@ -22,11 +22,11 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; -import jdk.nashorn.internal.codegen.CompilerConstants.Call; +import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; /** * A class with static helper methods invoked from generated bytecode for setting values of parameters of variable-arity diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstDeserializer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstDeserializer.java index ea5454bda..fa4c65570 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstDeserializer.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstDeserializer.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -30,7 +30,7 @@ import java.security.AccessController; import java.security.PrivilegedAction; import java.util.zip.InflaterInputStream; -import jdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.FunctionNode; /** * This static utility class performs deserialization of FunctionNode ASTs from a byte array. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstSerializer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstSerializer.java index 35036d85d..10cd750dc 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstSerializer.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/AstSerializer.java @@ -22,15 +22,15 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.util.zip.Deflater; import java.util.zip.DeflaterOutputStream; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * This static utility class performs serialization of FunctionNode ASTs to a byte array. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/BitVector.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/BitVector.java index cbf4eb8cc..e4fd4fb0f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/BitVector.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/BitVector.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.util.Arrays; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeInstaller.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeInstaller.java index 0fd3dbcd4..d2f775d0c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeInstaller.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeInstaller.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.util.Collection; import java.util.Map; -import jdk.nashorn.internal.codegen.ClassEmitter; +import org.openjdk.nashorn.internal.codegen.ClassEmitter; /** * Interface for installing classes passed to the compiler. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java index a0abdbd7d..979c2b085 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; @@ -38,12 +38,12 @@ import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.util.Map; -import jdk.nashorn.internal.codegen.OptimisticTypesPersistence; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.runtime.logging.DebugLogger; -import jdk.nashorn.internal.runtime.logging.Loggable; -import jdk.nashorn.internal.runtime.logging.Logger; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.codegen.OptimisticTypesPersistence; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.runtime.logging.DebugLogger; +import org.openjdk.nashorn.internal.runtime.logging.Loggable; +import org.openjdk.nashorn.internal.runtime.logging.Logger; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * A code cache for persistent caching of compiled scripts. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CommandExecutor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CommandExecutor.java index 2d875497c..455e0431d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CommandExecutor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CommandExecutor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; @@ -45,8 +45,8 @@ import java.util.Map; import java.util.concurrent.TimeUnit; -import static jdk.nashorn.internal.runtime.CommandExecutor.RedirectType.*; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import static org.openjdk.nashorn.internal.runtime.CommandExecutor.RedirectType.*; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; /** * The CommandExecutor class provides support for Nashorn's $EXEC diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CompiledFunction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CompiledFunction.java index 3b4e27e9e..fc43e5669 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CompiledFunction.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CompiledFunction.java @@ -22,11 +22,11 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid; import java.lang.invoke.CallSite; import java.lang.invoke.MethodHandle; @@ -44,16 +44,16 @@ import java.util.function.Supplier; import java.util.logging.Level; import jdk.dynalink.linker.GuardedInvocation; -import jdk.nashorn.internal.codegen.Compiler; -import jdk.nashorn.internal.codegen.Compiler.CompilationPhases; -import jdk.nashorn.internal.codegen.TypeMap; -import jdk.nashorn.internal.codegen.types.ArrayType; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic; -import jdk.nashorn.internal.runtime.events.RecompilationEvent; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.logging.DebugLogger; +import org.openjdk.nashorn.internal.codegen.Compiler; +import org.openjdk.nashorn.internal.codegen.Compiler.CompilationPhases; +import org.openjdk.nashorn.internal.codegen.TypeMap; +import org.openjdk.nashorn.internal.codegen.types.ArrayType; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic; +import org.openjdk.nashorn.internal.runtime.events.RecompilationEvent; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.logging.DebugLogger; /** * An version of a JavaScript function, native or JavaScript. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ConsString.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ConsString.java index aa870a58d..fd69c4b3c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ConsString.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ConsString.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.runtime.JSType.isString; +import static org.openjdk.nashorn.internal.runtime.JSType.isString; import java.util.ArrayDeque; import java.util.Deque; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java index aeec38cc7..b10e94fb2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import static jdk.internal.org.objectweb.asm.Opcodes.V1_7; -import static jdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS; -import static jdk.nashorn.internal.codegen.CompilerConstants.CREATE_PROGRAM_FUNCTION; -import static jdk.nashorn.internal.codegen.CompilerConstants.SOURCE; -import static jdk.nashorn.internal.codegen.CompilerConstants.STRICT_MODE; -import static jdk.nashorn.internal.runtime.CodeStore.newCodeStore; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import static jdk.nashorn.internal.runtime.Source.sourceFor; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CREATE_PROGRAM_FUNCTION; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SOURCE; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.STRICT_MODE; +import static org.openjdk.nashorn.internal.runtime.CodeStore.newCodeStore; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.Source.sourceFor; import java.io.File; import java.io.InputStream; @@ -89,25 +89,25 @@ import jdk.internal.org.objectweb.asm.ClassWriter; import jdk.internal.org.objectweb.asm.Opcodes; import jdk.internal.org.objectweb.asm.util.CheckClassAdapter; -import jdk.nashorn.api.scripting.ClassFilter; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.WeakValueCache; -import jdk.nashorn.internal.codegen.Compiler; -import jdk.nashorn.internal.codegen.Compiler.CompilationPhases; -import jdk.nashorn.internal.codegen.ObjectClassGenerator; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.debug.ASTWriter; -import jdk.nashorn.internal.ir.debug.PrintVisitor; -import jdk.nashorn.internal.lookup.MethodHandleFactory; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.parser.Parser; -import jdk.nashorn.internal.runtime.events.RuntimeEvent; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.logging.DebugLogger; -import jdk.nashorn.internal.runtime.logging.Loggable; -import jdk.nashorn.internal.runtime.logging.Logger; -import jdk.nashorn.internal.runtime.options.LoggingOption.LoggerInfo; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.api.scripting.ClassFilter; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.WeakValueCache; +import org.openjdk.nashorn.internal.codegen.Compiler; +import org.openjdk.nashorn.internal.codegen.Compiler.CompilationPhases; +import org.openjdk.nashorn.internal.codegen.ObjectClassGenerator; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.debug.ASTWriter; +import org.openjdk.nashorn.internal.ir.debug.PrintVisitor; +import org.openjdk.nashorn.internal.lookup.MethodHandleFactory; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.parser.Parser; +import org.openjdk.nashorn.internal.runtime.events.RuntimeEvent; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.logging.DebugLogger; +import org.openjdk.nashorn.internal.runtime.logging.Loggable; +import org.openjdk.nashorn.internal.runtime.logging.Logger; +import org.openjdk.nashorn.internal.runtime.options.LoggingOption.LoggerInfo; +import org.openjdk.nashorn.internal.runtime.options.Options; import jdk.internal.misc.Unsafe; /** @@ -1041,7 +1041,7 @@ public Global run() { * @see AccessorProperty * @see ScriptObject * - * @param fullName full name of class, e.g. jdk.nashorn.internal.objects.JO2P1 contains 2 fields and 1 parameter. + * @param fullName full name of class, e.g. org.openjdk.nashorn.internal.objects.JO2P1 contains 2 fields and 1 parameter. * * @return the {@code Class} for this structure * @@ -1150,7 +1150,7 @@ public static boolean isAccessibleClass(final Class clazz) { /** * Lookup a Java class. This is used for JSR-223 stuff linking in from - * {@code jdk.nashorn.internal.objects.NativeJava} and {@code jdk.nashorn.internal.runtime.NativeJavaPackage} + * {@code org.openjdk.nashorn.internal.objects.NativeJava} and {@code org.openjdk.nashorn.internal.runtime.NativeJavaPackage} * * @param fullName full name of class to load * diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Debug.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Debug.java index 70103194c..447120706 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Debug.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Debug.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.parser.TokenType.EOF; +import static org.openjdk.nashorn.internal.parser.TokenType.EOF; -import jdk.nashorn.api.scripting.NashornException; -import jdk.nashorn.internal.parser.Lexer; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.parser.TokenStream; -import jdk.nashorn.internal.parser.TokenType; +import org.openjdk.nashorn.api.scripting.NashornException; +import org.openjdk.nashorn.internal.parser.Lexer; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.parser.TokenStream; +import org.openjdk.nashorn.internal.parser.TokenType; /** * Utilities for debugging Nashorn. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java index baa69d93d..90f83a181 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.codegen.CompilerConstants.SOURCE; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SOURCE; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; import java.lang.invoke.MethodHandle; import java.lang.reflect.Field; import java.net.URL; import java.util.HashSet; import java.util.Set; -import jdk.nashorn.internal.scripts.JS; +import org.openjdk.nashorn.internal.scripts.JS; /** * This class provides support for external debuggers. Its primary purpose is diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DefaultPropertyAccess.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DefaultPropertyAccess.java index e2304e339..a3db8b680 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DefaultPropertyAccess.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DefaultPropertyAccess.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; /** * If your ScriptObject or similar PropertyAccess implementation only provides the most diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAErrors.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAErrors.java index 9dbd64232..d1f62b9d2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAErrors.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAErrors.java @@ -23,20 +23,20 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.text.MessageFormat; import java.util.Locale; import java.util.ResourceBundle; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.scripts.JS; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.scripts.JS; /** * Helper class to throw various standard "ECMA error" exceptions such as Error, ReferenceError, TypeError etc. */ public final class ECMAErrors { - private static final String MESSAGES_RESOURCE = "jdk.nashorn.internal.runtime.resources.Messages"; + private static final String MESSAGES_RESOURCE = "org.openjdk.nashorn.internal.runtime.resources.Messages"; private static final ResourceBundle MESSAGES_BUNDLE; static { @@ -374,7 +374,7 @@ public static ECMAException uriError(final Global global, final Throwable cause, /** * Get the exception message by placing the args in the resource defined - * by the resource tag. This is visible to, e.g. the {@link jdk.nashorn.internal.parser.Parser} + * by the resource tag. This is visible to, e.g. the {@link org.openjdk.nashorn.internal.parser.Parser} * can use it to generate compile time messages with the correct locale * * @param msgId the resource tag (message id) diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAException.java index f906e18f4..56df8dc9e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAException.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ECMAException.java @@ -23,16 +23,16 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; -import static jdk.nashorn.internal.codegen.CompilerConstants.virtualField; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualField; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.NashornException; -import jdk.nashorn.internal.codegen.CompilerConstants.Call; -import jdk.nashorn.internal.codegen.CompilerConstants.FieldAccess; +import org.openjdk.nashorn.api.scripting.NashornException; +import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; +import org.openjdk.nashorn.internal.codegen.CompilerConstants.FieldAccess; /** * Exception used to implement ECMAScript "throw" from scripts. The actual thrown diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ErrorManager.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ErrorManager.java index 4d4c8b161..993b90480 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ErrorManager.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ErrorManager.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; import java.io.PrintWriter; -import jdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.parser.Token; /** * Handles JavaScript error reporting. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FinalScriptFunctionData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FinalScriptFunctionData.java index 4822be920..732f3fbd3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FinalScriptFunctionData.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FinalScriptFunctionData.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodType; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FindProperty.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FindProperty.java index 86d01490a..419ed0d62 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FindProperty.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FindProperty.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid; import java.lang.invoke.MethodHandle; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.codegen.ObjectClassGenerator; -import jdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.codegen.ObjectClassGenerator; +import org.openjdk.nashorn.internal.objects.Global; /** * This class represents the result from a find property search. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionDocumentation.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionDocumentation.java index 63ce1138f..b3105ca0a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionDocumentation.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionDocumentation.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.util.Locale; import java.util.ResourceBundle; @@ -34,7 +34,7 @@ final class FunctionDocumentation { private FunctionDocumentation() {} - private static final String DOCS_RESOURCE = "jdk.nashorn.internal.runtime.resources.Functions"; + private static final String DOCS_RESOURCE = "org.openjdk.nashorn.internal.runtime.resources.Functions"; private static final ResourceBundle FUNC_DOCS; static { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionInitializer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionInitializer.java index a2139ccaf..ff17bc4cb 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionInitializer.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionInitializer.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.IOException; import java.io.ObjectInputStream; @@ -31,10 +31,10 @@ import java.io.Serializable; import java.lang.invoke.MethodType; import java.util.Map; -import jdk.nashorn.internal.codegen.CompileUnit; -import jdk.nashorn.internal.codegen.FunctionSignature; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.codegen.CompileUnit; +import org.openjdk.nashorn.internal.codegen.FunctionSignature; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.ir.FunctionNode; /** * Class that contains information allowing us to look up a method handle implementing a JavaScript function diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionScope.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionScope.java index 30d06ff85..be6547afa 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionScope.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/FunctionScope.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; /** * This is the base class for function scopes. Subclasses of this class are diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalConstants.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalConstants.java index e6b19845a..1e215e535 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalConstants.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalConstants.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCall; -import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCall; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getProgramPoint; -import static jdk.nashorn.internal.runtime.logging.DebugLogger.quote; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCall; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getProgramPoint; +import static org.openjdk.nashorn.internal.runtime.logging.DebugLogger.quote; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -44,12 +44,12 @@ import jdk.dynalink.DynamicLinker; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.lookup.Lookup; -import jdk.nashorn.internal.lookup.MethodHandleFactory; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; -import jdk.nashorn.internal.runtime.logging.DebugLogger; -import jdk.nashorn.internal.runtime.logging.Loggable; -import jdk.nashorn.internal.runtime.logging.Logger; +import org.openjdk.nashorn.internal.lookup.Lookup; +import org.openjdk.nashorn.internal.lookup.MethodHandleFactory; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.runtime.logging.DebugLogger; +import org.openjdk.nashorn.internal.runtime.logging.Loggable; +import org.openjdk.nashorn.internal.runtime.logging.Logger; /** * Each context owns one of these. This is basically table of accessors diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalFunctions.java index 4483885c3..f4dc26f05 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalFunctions.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/GlobalFunctions.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSErrorType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSErrorType.java index d83d018e2..fc01b99bb 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSErrorType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSErrorType.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; /** * Native ECMAScript Error types. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONFunctions.java index 32cdc09d6..af71509a9 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONFunctions.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONFunctions.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.lang.invoke.MethodHandle; import java.util.concurrent.Callable; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.parser.JSONParser; -import jdk.nashorn.internal.runtime.arrays.ArrayIndex; -import jdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.parser.JSONParser; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; /** * Utilities used by "JSON" object implementation. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONListAdapter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONListAdapter.java index fde2b4d0d..7338c02cd 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONListAdapter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSONListAdapter.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.util.Collection; import java.util.List; import java.util.Set; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.objects.Global; /** * A {@link ListAdapter} that also implements {@link JSObject}. Named {@code JSONListAdapter} as it is used as a diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSType.java index eb0f67b0f..99074bf8d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/JSType.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCall; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCall; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -37,15 +37,15 @@ import java.util.List; import jdk.dynalink.SecureLookupSupplier; import jdk.dynalink.beans.StaticClass; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.internal.codegen.CompilerConstants.Call; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.objects.NativeSymbol; -import jdk.nashorn.internal.parser.Lexer; -import jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; -import jdk.nashorn.internal.runtime.doubleconv.DoubleConversion; -import jdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.objects.NativeSymbol; +import org.openjdk.nashorn.internal.parser.Lexer; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; +import org.openjdk.nashorn.internal.runtime.doubleconv.DoubleConversion; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; /** * Representation for ECMAScript types - this maps directly to the ECMA script standard diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ListAdapter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ListAdapter.java index cf40670df..237fd4afa 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ListAdapter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ListAdapter.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.lang.invoke.MethodHandle; import java.util.AbstractList; @@ -34,10 +34,10 @@ import java.util.Objects; import java.util.RandomAccess; import java.util.concurrent.Callable; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; /** * An adapter that can wrap any ECMAScript Array-like object (that adheres to the array rules for the property diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java index cc86b4643..514d2c945 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.File; import java.io.InputStream; @@ -46,11 +46,11 @@ * Superclass for Nashorn class loader classes. */ abstract class NashornLoader extends SecureClassLoader { - protected static final String OBJECTS_PKG = "jdk.nashorn.internal.objects"; - protected static final String RUNTIME_PKG = "jdk.nashorn.internal.runtime"; - protected static final String RUNTIME_ARRAYS_PKG = "jdk.nashorn.internal.runtime.arrays"; - protected static final String RUNTIME_LINKER_PKG = "jdk.nashorn.internal.runtime.linker"; - protected static final String SCRIPTS_PKG = "jdk.nashorn.internal.scripts"; + protected static final String OBJECTS_PKG = "org.openjdk.nashorn.internal.objects"; + protected static final String RUNTIME_PKG = "org.openjdk.nashorn.internal.runtime"; + protected static final String RUNTIME_ARRAYS_PKG = "org.openjdk.nashorn.internal.runtime.arrays"; + protected static final String RUNTIME_LINKER_PKG = "org.openjdk.nashorn.internal.runtime.linker"; + protected static final String SCRIPTS_PKG = "org.openjdk.nashorn.internal.scripts"; protected static final String OBJECTS_PKG_INTERNAL = "jdk/nashorn/internal/objects"; protected static final String RUNTIME_PKG_INTERNAL = "jdk/nashorn/internal/runtime"; protected static final String RUNTIME_ARRAYS_PKG_INTERNAL = "jdk/nashorn/internal/runtime/arrays"; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NativeJavaPackage.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NativeJavaPackage.java index 15234c8b6..689dbde5d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NativeJavaPackage.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NativeJavaPackage.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -37,11 +37,11 @@ import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; import jdk.dynalink.linker.support.Guards; -import jdk.nashorn.internal.lookup.MethodHandleFactory; -import jdk.nashorn.internal.lookup.MethodHandleFunctionality; -import jdk.nashorn.internal.objects.annotations.Attribute; -import jdk.nashorn.internal.objects.annotations.Function; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.lookup.MethodHandleFactory; +import org.openjdk.nashorn.internal.lookup.MethodHandleFunctionality; +import org.openjdk.nashorn.internal.objects.annotations.Attribute; +import org.openjdk.nashorn.internal.objects.annotations.Function; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; /** * An object that exposes Java packages and classes as its properties. Packages are exposed as objects that have further @@ -56,7 +56,7 @@ * var ArrayList = java.util.ArrayList * var list = new ArrayList *
- * You can also use {@link jdk.nashorn.internal.objects.NativeJava#type(Object, Object)} to access Java classes. These two statements are mostly + * You can also use {@link org.openjdk.nashorn.internal.objects.NativeJava#type(Object, Object)} to access Java classes. These two statements are mostly * equivalent: *
  * var listType1 = java.util.ArrayList
@@ -83,7 +83,7 @@ public final class NativeJavaPackage extends ScriptObject {
     private final String name;
 
     /**
-     * Public constructor to be accessible from {@link jdk.nashorn.internal.objects.Global}
+     * Public constructor to be accessible from {@link org.openjdk.nashorn.internal.objects.Global}
      * @param name  package name
      * @param proto proto
      */
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticBuiltins.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticBuiltins.java
index 6829ddeb9..7f6b0e1db 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticBuiltins.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticBuiltins.java
@@ -23,10 +23,10 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import jdk.nashorn.internal.objects.annotations.SpecializedFunction;
-import jdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic;
+import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction;
+import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic;
 
 /**
  * This is an interface for classes that need custom linkage logic. This means Native objects
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticReturnFilters.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticReturnFilters.java
index 618da31c1..12b404b39 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticReturnFilters.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/OptimisticReturnFilters.java
@@ -23,11 +23,11 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import static jdk.nashorn.internal.lookup.Lookup.MH;
-import static jdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex;
-import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
+import static org.openjdk.nashorn.internal.lookup.Lookup.MH;
+import static org.openjdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex;
+import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
 
 import java.lang.invoke.MethodHandle;
 import java.lang.invoke.MethodHandles;
@@ -35,8 +35,8 @@
 import jdk.dynalink.CallSiteDescriptor;
 import jdk.dynalink.linker.GuardedInvocation;
 import jdk.dynalink.linker.support.TypeUtilities;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
 
 /**
  * Optimistic return value filters
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java
index 696e1d7a2..2229ff202 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java
@@ -23,11 +23,11 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import jdk.nashorn.api.scripting.NashornException;
-import jdk.nashorn.internal.objects.Global;
-import jdk.nashorn.internal.parser.Token;
+import org.openjdk.nashorn.api.scripting.NashornException;
+import org.openjdk.nashorn.internal.objects.Global;
+import org.openjdk.nashorn.internal.parser.Token;
 
 /**
  * ECMAScript parser exceptions.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Property.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Property.java
index 0fef3cfe2..fbfe6c8c2 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Property.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Property.java
@@ -23,16 +23,16 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import static jdk.nashorn.internal.runtime.PropertyDescriptor.CONFIGURABLE;
-import static jdk.nashorn.internal.runtime.PropertyDescriptor.ENUMERABLE;
-import static jdk.nashorn.internal.runtime.PropertyDescriptor.WRITABLE;
+import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.CONFIGURABLE;
+import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.ENUMERABLE;
+import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.WRITABLE;
 import java.io.Serializable;
 import java.lang.invoke.MethodHandle;
 import java.lang.invoke.SwitchPoint;
 import java.util.Objects;
-import jdk.nashorn.internal.codegen.ObjectClassGenerator;
+import org.openjdk.nashorn.internal.codegen.ObjectClassGenerator;
 
 /**
  * This is the abstract superclass representing a JavaScript Property.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyAccess.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyAccess.java
index d99a1c9c8..780d37414 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyAccess.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyAccess.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
 /**
  * Interface for getting and setting properties from script objects
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java
index e00759ba9..c611a016a 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
 /**
  * Describes attributes of a specific property of a script object.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyHashMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyHashMap.java
index ba970dd3d..b8b251e37 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyHashMap.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyHashMap.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
 import java.util.Arrays;
 import java.util.Collection;
@@ -31,7 +31,7 @@
 import java.util.HashSet;
 import java.util.Map;
 import java.util.Set;
-import jdk.nashorn.internal.runtime.options.Options;
+import org.openjdk.nashorn.internal.runtime.options.Options;
 
 /**
  * Immutable hash map implementation for properties. Properties are keyed on strings
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyMap.java
index 366263854..bdbeedb8a 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyMap.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyMap.java
@@ -23,11 +23,11 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import static jdk.nashorn.internal.runtime.PropertyHashMap.EMPTY_HASHMAP;
-import static jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex;
-import static jdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex;
+import static org.openjdk.nashorn.internal.runtime.PropertyHashMap.EMPTY_HASHMAP;
+import static org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex;
+import static org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex;
 
 import java.io.IOException;
 import java.io.ObjectInputStream;
@@ -45,8 +45,8 @@
 import java.util.Set;
 import java.util.WeakHashMap;
 import java.util.concurrent.atomic.LongAdder;
-import jdk.nashorn.internal.runtime.options.Options;
-import jdk.nashorn.internal.scripts.JO;
+import org.openjdk.nashorn.internal.runtime.options.Options;
+import org.openjdk.nashorn.internal.scripts.JO;
 
 /**
  * Map of object properties. The PropertyMap is the "template" for JavaScript object
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertySwitchPoints.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertySwitchPoints.java
index f279124e9..5cbc4aec5 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertySwitchPoints.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertySwitchPoints.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
 import java.lang.invoke.SwitchPoint;
 import java.util.Collections;
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PrototypeObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PrototypeObject.java
index f4c1b5f97..c1c2f31cb 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PrototypeObject.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PrototypeObject.java
@@ -23,15 +23,15 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import static jdk.nashorn.internal.lookup.Lookup.MH;
-import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED;
+import static org.openjdk.nashorn.internal.lookup.Lookup.MH;
+import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED;
 
 import java.lang.invoke.MethodHandle;
 import java.lang.invoke.MethodHandles;
 import java.util.ArrayList;
-import jdk.nashorn.internal.objects.Global;
+import org.openjdk.nashorn.internal.objects.Global;
 
 /**
  * Instances of this class serve as "prototype" object for script functions.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/QuotedStringTokenizer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/QuotedStringTokenizer.java
index 3aae7fd23..8fb2021d7 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/QuotedStringTokenizer.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/QuotedStringTokenizer.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
 import java.util.LinkedList;
 import java.util.Stack;
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
index 44629604c..17fbffd08 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
@@ -23,9 +23,9 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import static jdk.nashorn.internal.lookup.Lookup.MH;
+import static org.openjdk.nashorn.internal.lookup.Lookup.MH;
 
 import java.io.IOException;
 import java.io.ObjectOutputStream;
@@ -46,33 +46,33 @@
 import java.util.concurrent.LinkedBlockingDeque;
 import java.util.concurrent.ThreadPoolExecutor;
 import java.util.concurrent.TimeUnit;
-import jdk.nashorn.internal.codegen.Compiler;
-import jdk.nashorn.internal.codegen.Compiler.CompilationPhases;
-import jdk.nashorn.internal.codegen.CompilerConstants;
-import jdk.nashorn.internal.codegen.FunctionSignature;
-import jdk.nashorn.internal.codegen.Namespace;
-import jdk.nashorn.internal.codegen.OptimisticTypesPersistence;
-import jdk.nashorn.internal.codegen.TypeMap;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.ir.Block;
-import jdk.nashorn.internal.ir.ForNode;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.ir.IdentNode;
-import jdk.nashorn.internal.ir.LexicalContext;
-import jdk.nashorn.internal.ir.Node;
-import jdk.nashorn.internal.ir.SwitchNode;
-import jdk.nashorn.internal.ir.Symbol;
-import jdk.nashorn.internal.ir.TryNode;
-import jdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
-import jdk.nashorn.internal.objects.Global;
-import jdk.nashorn.internal.parser.Parser;
-import jdk.nashorn.internal.parser.Token;
-import jdk.nashorn.internal.parser.TokenType;
-import jdk.nashorn.internal.runtime.linker.NameCodec;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
-import jdk.nashorn.internal.runtime.logging.Loggable;
-import jdk.nashorn.internal.runtime.logging.Logger;
-import jdk.nashorn.internal.runtime.options.Options;
+import org.openjdk.nashorn.internal.codegen.Compiler;
+import org.openjdk.nashorn.internal.codegen.Compiler.CompilationPhases;
+import org.openjdk.nashorn.internal.codegen.CompilerConstants;
+import org.openjdk.nashorn.internal.codegen.FunctionSignature;
+import org.openjdk.nashorn.internal.codegen.Namespace;
+import org.openjdk.nashorn.internal.codegen.OptimisticTypesPersistence;
+import org.openjdk.nashorn.internal.codegen.TypeMap;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.ir.Block;
+import org.openjdk.nashorn.internal.ir.ForNode;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.ir.IdentNode;
+import org.openjdk.nashorn.internal.ir.LexicalContext;
+import org.openjdk.nashorn.internal.ir.Node;
+import org.openjdk.nashorn.internal.ir.SwitchNode;
+import org.openjdk.nashorn.internal.ir.Symbol;
+import org.openjdk.nashorn.internal.ir.TryNode;
+import org.openjdk.nashorn.internal.ir.visitor.SimpleNodeVisitor;
+import org.openjdk.nashorn.internal.objects.Global;
+import org.openjdk.nashorn.internal.parser.Parser;
+import org.openjdk.nashorn.internal.parser.Token;
+import org.openjdk.nashorn.internal.parser.TokenType;
+import org.openjdk.nashorn.internal.runtime.linker.NameCodec;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.runtime.logging.Loggable;
+import org.openjdk.nashorn.internal.runtime.logging.Logger;
+import org.openjdk.nashorn.internal.runtime.options.Options;
 /**
  * This is a subclass that represents a script function that may be regenerated,
  * for example with specialization based on call site types, or lazily generated.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RewriteException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RewriteException.java
index 690d7005b..0630e3c0c 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RewriteException.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/RewriteException.java
@@ -22,11 +22,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import static jdk.nashorn.internal.codegen.CompilerConstants.staticCall;
-import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup;
-import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCall;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
 
 import java.io.NotSerializableException;
 import java.io.ObjectInputStream;
@@ -39,13 +39,13 @@
 import java.lang.invoke.MethodType;
 import java.lang.reflect.Array;
 import java.util.Arrays;
-import jdk.nashorn.internal.codegen.CompilerConstants;
-import jdk.nashorn.internal.codegen.CompilerConstants.Call;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.lookup.MethodHandleFactory;
-import jdk.nashorn.internal.lookup.MethodHandleFunctionality;
-import jdk.nashorn.internal.objects.Global;
-import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
+import org.openjdk.nashorn.internal.codegen.CompilerConstants;
+import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.lookup.MethodHandleFactory;
+import org.openjdk.nashorn.internal.lookup.MethodHandleFunctionality;
+import org.openjdk.nashorn.internal.objects.Global;
+import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
 
 /**
  * Used to signal to the linker to relink the callee
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Scope.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Scope.java
index 9650f9cd9..dcb140948 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Scope.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Scope.java
@@ -23,12 +23,12 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
 
 import java.util.concurrent.atomic.LongAdder;
-import jdk.nashorn.internal.codegen.CompilerConstants;
+import org.openjdk.nashorn.internal.codegen.CompilerConstants;
 
 /**
  * A {@link ScriptObject} subclass for objects that act as scope.
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptEnvironment.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptEnvironment.java
index 55f02d453..0a9d6f943 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptEnvironment.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptEnvironment.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
 import java.io.PrintWriter;
 import java.util.HashMap;
@@ -33,13 +33,13 @@
 import java.util.StringTokenizer;
 import java.util.TimeZone;
 import java.util.logging.Level;
-import jdk.nashorn.internal.codegen.Namespace;
-import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
-import jdk.nashorn.internal.runtime.options.KeyValueOption;
-import jdk.nashorn.internal.runtime.options.LoggingOption;
-import jdk.nashorn.internal.runtime.options.LoggingOption.LoggerInfo;
-import jdk.nashorn.internal.runtime.options.Option;
-import jdk.nashorn.internal.runtime.options.Options;
+import org.openjdk.nashorn.internal.codegen.Namespace;
+import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
+import org.openjdk.nashorn.internal.runtime.options.KeyValueOption;
+import org.openjdk.nashorn.internal.runtime.options.LoggingOption;
+import org.openjdk.nashorn.internal.runtime.options.LoggingOption.LoggerInfo;
+import org.openjdk.nashorn.internal.runtime.options.Option;
+import org.openjdk.nashorn.internal.runtime.options.Options;
 
 /**
  * Script environment consists of command line options, arguments, script files
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunction.java
index 1c926afaa..20b06eb7c 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunction.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunction.java
@@ -22,13 +22,13 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
-import static jdk.nashorn.internal.lookup.Lookup.MH;
-import static jdk.nashorn.internal.runtime.ECMAErrors.typeError;
-import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED;
-import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
+import static org.openjdk.nashorn.internal.lookup.Lookup.MH;
+import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError;
+import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED;
+import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT;
 
 import java.lang.invoke.MethodHandle;
 import java.lang.invoke.MethodHandles;
@@ -50,16 +50,16 @@
 import jdk.dynalink.linker.GuardedInvocation;
 import jdk.dynalink.linker.LinkRequest;
 import jdk.dynalink.linker.support.Guards;
-import jdk.nashorn.internal.codegen.ApplySpecialization;
-import jdk.nashorn.internal.codegen.Compiler;
-import jdk.nashorn.internal.codegen.CompilerConstants.Call;
-import jdk.nashorn.internal.ir.FunctionNode;
-import jdk.nashorn.internal.objects.Global;
-import jdk.nashorn.internal.objects.NativeFunction;
-import jdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic;
-import jdk.nashorn.internal.runtime.linker.Bootstrap;
-import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
-import jdk.nashorn.internal.runtime.logging.DebugLogger;
+import org.openjdk.nashorn.internal.codegen.ApplySpecialization;
+import org.openjdk.nashorn.internal.codegen.Compiler;
+import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call;
+import org.openjdk.nashorn.internal.ir.FunctionNode;
+import org.openjdk.nashorn.internal.objects.Global;
+import org.openjdk.nashorn.internal.objects.NativeFunction;
+import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic;
+import org.openjdk.nashorn.internal.runtime.linker.Bootstrap;
+import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
+import org.openjdk.nashorn.internal.runtime.logging.DebugLogger;
 
 /**
  * Runtime representation of a JavaScript function. This class has only private
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunctionData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunctionData.java
index 0b54a34fc..4508c9952 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunctionData.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptFunctionData.java
@@ -23,11 +23,11 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
-import static jdk.nashorn.internal.lookup.Lookup.MH;
-import static jdk.nashorn.internal.runtime.ECMAErrors.typeError;
-import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED;
+import static org.openjdk.nashorn.internal.lookup.Lookup.MH;
+import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError;
+import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED;
 
 import java.io.IOException;
 import java.io.ObjectInputStream;
@@ -38,7 +38,7 @@
 import java.util.Collection;
 import java.util.LinkedList;
 import java.util.List;
-import jdk.nashorn.internal.runtime.linker.LinkerCallSite;
+import org.openjdk.nashorn.internal.runtime.linker.LinkerCallSite;
 
 
 /**
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java
index 6649ce230..dd6dfe008 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptLoader.java
@@ -23,7 +23,7 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
+package org.openjdk.nashorn.internal.runtime;
 
 import java.lang.module.ModuleDescriptor;
 import java.lang.module.ModuleDescriptor.Modifier;
@@ -36,7 +36,7 @@
  *
  */
 final class ScriptLoader extends NashornLoader {
-    private static final String NASHORN_PKG_PREFIX = "jdk.nashorn.internal.";
+    private static final String NASHORN_PKG_PREFIX = "org.openjdk.nashorn.internal.";
 
     private volatile boolean structureAccessAdded;
     private final Context context;
diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptObject.java
index ebc1eeb75..c909d4af0 100644
--- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptObject.java
+++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptObject.java
@@ -23,30 +23,30 @@
  * questions.
  */
 
-package jdk.nashorn.internal.runtime;
-
-import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup;
-import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCall;
-import static jdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
-import static jdk.nashorn.internal.lookup.Lookup.MH;
-import static jdk.nashorn.internal.runtime.ECMAErrors.referenceError;
-import static jdk.nashorn.internal.runtime.ECMAErrors.typeError;
-import static jdk.nashorn.internal.runtime.JSType.UNDEFINED_DOUBLE;
-import static jdk.nashorn.internal.runtime.JSType.UNDEFINED_INT;
-import static jdk.nashorn.internal.runtime.PropertyDescriptor.CONFIGURABLE;
-import static jdk.nashorn.internal.runtime.PropertyDescriptor.ENUMERABLE;
-import static jdk.nashorn.internal.runtime.PropertyDescriptor.GET;
-import static jdk.nashorn.internal.runtime.PropertyDescriptor.SET;
-import static jdk.nashorn.internal.runtime.PropertyDescriptor.VALUE;
-import static jdk.nashorn.internal.runtime.PropertyDescriptor.WRITABLE;
-import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED;
-import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT;
-import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
-import static jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex;
-import static jdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.isScopeFlag;
-import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.isStrictFlag;
-import static jdk.nashorn.internal.runtime.linker.NashornGuards.explicitInstanceOfCheck;
+package org.openjdk.nashorn.internal.runtime;
+
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCall;
+import static org.openjdk.nashorn.internal.codegen.CompilerConstants.virtualCallNoLookup;
+import static org.openjdk.nashorn.internal.lookup.Lookup.MH;
+import static org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError;
+import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError;
+import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_DOUBLE;
+import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_INT;
+import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.CONFIGURABLE;
+import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.ENUMERABLE;
+import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.GET;
+import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.SET;
+import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.VALUE;
+import static org.openjdk.nashorn.internal.runtime.PropertyDescriptor.WRITABLE;
+import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED;
+import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT;
+import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid;
+import static org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex;
+import static org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.isScopeFlag;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.isStrictFlag;
+import static org.openjdk.nashorn.internal.runtime.linker.NashornGuards.explicitInstanceOfCheck;
 
 import java.lang.invoke.MethodHandle;
 import java.lang.invoke.MethodHandles;
@@ -69,19 +69,19 @@
 import jdk.dynalink.NamedOperation;
 import jdk.dynalink.linker.GuardedInvocation;
 import jdk.dynalink.linker.LinkRequest;
-import jdk.nashorn.internal.codegen.CompilerConstants.Call;
-import jdk.nashorn.internal.codegen.ObjectClassGenerator;
-import jdk.nashorn.internal.codegen.types.Type;
-import jdk.nashorn.internal.lookup.Lookup;
-import jdk.nashorn.internal.objects.AccessorPropertyDescriptor;
-import jdk.nashorn.internal.objects.DataPropertyDescriptor;
-import jdk.nashorn.internal.objects.Global;
-import jdk.nashorn.internal.objects.NativeArray;
-import jdk.nashorn.internal.runtime.arrays.ArrayData;
-import jdk.nashorn.internal.runtime.arrays.ArrayIndex;
-import jdk.nashorn.internal.runtime.linker.LinkerCallSite;
-import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
-import jdk.nashorn.internal.runtime.linker.NashornGuards;
+import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call;
+import org.openjdk.nashorn.internal.codegen.ObjectClassGenerator;
+import org.openjdk.nashorn.internal.codegen.types.Type;
+import org.openjdk.nashorn.internal.lookup.Lookup;
+import org.openjdk.nashorn.internal.objects.AccessorPropertyDescriptor;
+import org.openjdk.nashorn.internal.objects.DataPropertyDescriptor;
+import org.openjdk.nashorn.internal.objects.Global;
+import org.openjdk.nashorn.internal.objects.NativeArray;
+import org.openjdk.nashorn.internal.runtime.arrays.ArrayData;
+import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex;
+import org.openjdk.nashorn.internal.runtime.linker.LinkerCallSite;
+import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor;
+import org.openjdk.nashorn.internal.runtime.linker.NashornGuards;
 
 /**
  * Base class for generic JavaScript objects.
@@ -772,11 +772,11 @@ public final void addOwnProperty(final Object key, final PropertyDescriptor prop
      * 

* Find a property in the prototype hierarchy. Note: this is final and not * a good idea to override. If you have to, use - * {jdk.nashorn.internal.objects.NativeArray{@link #getProperty(String)} or - * {jdk.nashorn.internal.objects.NativeArray{@link #getPropertyDescriptor(String)} as the + * {org.openjdk.nashorn.internal.objects.NativeArray{@link #getProperty(String)} or + * {org.openjdk.nashorn.internal.objects.NativeArray{@link #getPropertyDescriptor(String)} as the * overriding way to find array properties * - * @see jdk.nashorn.internal.objects.NativeArray + * @see org.openjdk.nashorn.internal.objects.NativeArray * * @param key Property key. * @param deep Whether the search should look up proto chain. @@ -793,11 +793,11 @@ public final FindProperty findProperty(final Object key, final boolean deep) { * Find a property in the prototype hierarchy. Note: this is not a good idea * to override except as it was done in {@link WithObject}. * If you have to, use - * {jdk.nashorn.internal.objects.NativeArray{@link #getProperty(String)} or - * {jdk.nashorn.internal.objects.NativeArray{@link #getPropertyDescriptor(String)} as the + * {org.openjdk.nashorn.internal.objects.NativeArray{@link #getProperty(String)} or + * {org.openjdk.nashorn.internal.objects.NativeArray{@link #getPropertyDescriptor(String)} as the * overriding way to find array properties * - * @see jdk.nashorn.internal.objects.NativeArray + * @see org.openjdk.nashorn.internal.objects.NativeArray * * @param key Property key. * @param deep true if the search should look up proto chain @@ -1153,7 +1153,7 @@ public final Property getProperty(final String key) { } /** - * Overridden by {@link jdk.nashorn.internal.objects.NativeArguments} class (internal use.) + * Overridden by {@link org.openjdk.nashorn.internal.objects.NativeArguments} class (internal use.) * Used for argument access in a vararg function using parameter name. * Returns the argument at a given key (index) * @@ -1166,7 +1166,7 @@ public Object getArgument(final int key) { } /** - * Overridden by {@link jdk.nashorn.internal.objects.NativeArguments} class (internal use.) + * Overridden by {@link org.openjdk.nashorn.internal.objects.NativeArguments} class (internal use.) * Used for argument access in a vararg function using parameter name. * Returns the argument at a given key (index) * diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptRuntime.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptRuntime.java index d82e03bb9..d2bc6d6d3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptRuntime.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptRuntime.java @@ -23,16 +23,16 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCall; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; -import static jdk.nashorn.internal.runtime.ECMAErrors.referenceError; -import static jdk.nashorn.internal.runtime.ECMAErrors.syntaxError; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.JSType.isRepresentableAsInt; -import static jdk.nashorn.internal.runtime.JSType.isString; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.syntaxError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.JSType.isRepresentableAsInt; +import static org.openjdk.nashorn.internal.runtime.JSType.isString; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -47,21 +47,21 @@ import java.util.Objects; import jdk.dynalink.beans.BeansLinker; import jdk.dynalink.beans.StaticClass; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.codegen.ApplySpecialization; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.codegen.CompilerConstants.Call; -import jdk.nashorn.internal.ir.debug.JSONWriter; -import jdk.nashorn.internal.objects.AbstractIterator; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.objects.NativeObject; -import jdk.nashorn.internal.objects.NativeJava; -import jdk.nashorn.internal.objects.NativeArray; -import jdk.nashorn.internal.parser.Lexer; -import jdk.nashorn.internal.runtime.arrays.ArrayIndex; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.InvokeByName; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.codegen.ApplySpecialization; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; +import org.openjdk.nashorn.internal.ir.debug.JSONWriter; +import org.openjdk.nashorn.internal.objects.AbstractIterator; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.objects.NativeObject; +import org.openjdk.nashorn.internal.objects.NativeJava; +import org.openjdk.nashorn.internal.objects.NativeArray; +import org.openjdk.nashorn.internal.parser.Lexer; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayIndex; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.InvokeByName; /** * Utilities to be called by JavaScript runtime API and generated classes. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptingFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptingFunctions.java index c7642011a..030e12633 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptingFunctions.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ScriptingFunctions.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.io.BufferedReader; import java.io.File; @@ -44,8 +44,8 @@ import java.util.Map; import java.util.Objects; import java.util.function.Function; -import jdk.nashorn.internal.objects.NativeArray; -import static jdk.nashorn.internal.runtime.ECMAErrors.rangeError; +import org.openjdk.nashorn.internal.objects.NativeArray; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.rangeError; /** * Global functions supported only in scripting mode. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SetMethodCreator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SetMethodCreator.java index a71efb117..fc9af449e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SetMethodCreator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SetMethodCreator.java @@ -23,19 +23,19 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.referenceError; -import static jdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError; +import static org.openjdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex; import java.lang.invoke.MethodHandle; import java.lang.invoke.SwitchPoint; import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; -import jdk.nashorn.internal.runtime.linker.NashornGuards; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.runtime.linker.NashornGuards; /** * Instances of this class are quite ephemeral; they only exist for the duration of an invocation of diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SharedPropertyMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SharedPropertyMap.java index 39f02e650..4fd05d7ac 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SharedPropertyMap.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SharedPropertyMap.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.lang.invoke.SwitchPoint; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Source.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Source.java index a1d04721f..0c4ca96ee 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Source.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Source.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.ByteArrayOutputStream; import java.io.File; @@ -52,11 +52,11 @@ import java.util.Base64; import java.util.Objects; import java.util.WeakHashMap; -import jdk.nashorn.api.scripting.URLReader; -import jdk.nashorn.internal.parser.Token; -import jdk.nashorn.internal.runtime.logging.DebugLogger; -import jdk.nashorn.internal.runtime.logging.Loggable; -import jdk.nashorn.internal.runtime.logging.Logger; +import org.openjdk.nashorn.api.scripting.URLReader; +import org.openjdk.nashorn.internal.parser.Token; +import org.openjdk.nashorn.internal.runtime.logging.DebugLogger; +import org.openjdk.nashorn.internal.runtime.logging.Loggable; +import org.openjdk.nashorn.internal.runtime.logging.Logger; /** * Source objects track the origin of JavaScript entities. */ @@ -745,7 +745,7 @@ public String getSourceLine(final int position) { * Get the content of this source as a char array. Note that the underlying array is returned instead of a * clone; modifying the char array will cause modification to the source; this should not be done. While * there is an apparent danger that we allow unfettered access to an underlying mutable array, the - * {@code Source} class is in a restricted {@code jdk.nashorn.internal.*} package and as such it is + * {@code Source} class is in a restricted {@code org.openjdk.nashorn.internal.*} package and as such it is * inaccessible by external actors in an environment with a security manager. Returning a clone would be * detrimental to performance. * @return content the content of this source as a char array diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java index 0a037695e..176c3dcca 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.lang.invoke.MethodHandle; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction; -import jdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction; +import org.openjdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic; /** * Specialization info for a {@link SpecializedFunction} diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SpillProperty.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SpillProperty.java index ec197ed77..2b8fae027 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SpillProperty.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/SpillProperty.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StoredScript.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StoredScript.java index 07419d714..04813d797 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StoredScript.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StoredScript.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.Serializable; import java.util.Arrays; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java index 55566982e..a80db7b4b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.codegen.Compiler.SCRIPTS_PACKAGE; -import static jdk.nashorn.internal.codegen.Compiler.binaryName; -import static jdk.nashorn.internal.codegen.CompilerConstants.JS_OBJECT_DUAL_FIELD_PREFIX; -import static jdk.nashorn.internal.codegen.CompilerConstants.JS_OBJECT_SINGLE_FIELD_PREFIX; +import static org.openjdk.nashorn.internal.codegen.Compiler.SCRIPTS_PACKAGE; +import static org.openjdk.nashorn.internal.codegen.Compiler.binaryName; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.JS_OBJECT_DUAL_FIELD_PREFIX; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.JS_OBJECT_SINGLE_FIELD_PREFIX; import java.lang.module.ModuleDescriptor; import java.lang.module.ModuleDescriptor.Modifier; import java.security.ProtectionDomain; import java.util.Set; -import jdk.nashorn.internal.codegen.ObjectClassGenerator; +import org.openjdk.nashorn.internal.codegen.ObjectClassGenerator; /** * Responsible for on the fly construction of structure classes. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Symbol.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Symbol.java index f8a85d63f..2d817f667 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Symbol.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Symbol.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.Serializable; -import jdk.nashorn.internal.objects.NativeSymbol; +import org.openjdk.nashorn.internal.objects.NativeSymbol; /** * This class represents a unique, non-String Object property key as defined in ECMAScript 6. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Timing.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Timing.java index 1950bd904..0bd6d07d0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Timing.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Timing.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.BufferedReader; import java.io.IOException; @@ -36,10 +36,10 @@ import java.util.concurrent.atomic.LongAdder; import java.util.function.Function; import java.util.function.Supplier; -import jdk.nashorn.internal.codegen.CompileUnit; -import jdk.nashorn.internal.runtime.logging.DebugLogger; -import jdk.nashorn.internal.runtime.logging.Loggable; -import jdk.nashorn.internal.runtime.logging.Logger; +import org.openjdk.nashorn.internal.codegen.CompileUnit; +import org.openjdk.nashorn.internal.runtime.logging.DebugLogger; +import org.openjdk.nashorn.internal.runtime.logging.Loggable; +import org.openjdk.nashorn.internal.runtime.logging.Logger; /** * Simple wallclock timing framework diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/URIUtils.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/URIUtils.java index 2321353fb..05ee9c8bf 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/URIUtils.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/URIUtils.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.runtime.ECMAErrors.uriError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.uriError; /** * URI handling global functions. ECMA 15.1.3 URI Handling Function Properties diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Undefined.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Undefined.java index 5cb460d76..0d1430378 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Undefined.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Undefined.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -34,7 +34,7 @@ import jdk.dynalink.NamedOperation; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.support.Guards; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; /** * Unique instance of this class is used to represent JavaScript undefined. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UnwarrantedOptimismException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UnwarrantedOptimismException.java index f9deaf0fc..f1973e2c4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UnwarrantedOptimismException.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UnwarrantedOptimismException.java @@ -22,12 +22,12 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.io.NotSerializableException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; -import jdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.codegen.types.Type; /** * This exception is thrown from an optimistic operation, e.g. an integer add, diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UserAccessorProperty.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UserAccessorProperty.java index 502e9dca8..81e4a1ee3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UserAccessorProperty.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/UserAccessorProperty.java @@ -23,20 +23,20 @@ * questions. */ -package jdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; -import static jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_PROGRAM_POINT_SHIFT; +package org.openjdk.nashorn.internal.runtime; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.CALLSITE_PROGRAM_POINT_SHIFT; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import java.util.concurrent.Callable; -import jdk.nashorn.internal.lookup.Lookup; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.lookup.Lookup; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; /** * Property with user defined getters/setters. Actual getter and setter diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Version.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Version.java index 8cf6a449f..d4359ee01 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Version.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Version.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; import java.util.MissingResourceException; import java.util.ResourceBundle; @@ -52,7 +52,7 @@ public static String fullVersion() { return version("version_string"); // E.g. "9.1.2.3-ea-4+nashorn-testing" } - private static final String VERSION_RB_NAME = "jdk.nashorn.internal.runtime.resources.version"; + private static final String VERSION_RB_NAME = "org.openjdk.nashorn.internal.runtime.resources.version"; private static ResourceBundle versionRB; private static String version(final String key) { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/WithObject.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/WithObject.java index f958bf8fe..32ef0ffe2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/WithObject.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/WithObject.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime; +package org.openjdk.nashorn.internal.runtime; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -38,10 +38,10 @@ import jdk.dynalink.StandardOperation; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.api.scripting.AbstractJSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; -import jdk.nashorn.internal.runtime.linker.NashornGuards; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.runtime.linker.NashornGuards; /** * This class supports the handling of scope in a with body. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/AnyElements.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/AnyElements.java index d9e019230..227001324 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/AnyElements.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/AnyElements.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; /** * Marker interface for any ContinuousArray with any elements diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayData.java index 250dbe58d..1f3a1ccef 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayData.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayData.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -37,13 +37,13 @@ import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.codegen.CompilerConstants; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.PropertyDescriptor; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.UnwarrantedOptimismException; +import org.openjdk.nashorn.internal.codegen.CompilerConstants; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException; /** * ArrayData - abstraction for wrapping array elements diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayFilter.java index 47e64549e..915b2b1aa 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayFilter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayFilter.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Undefined; -import jdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; /** * Base class for array filters. Implements all core routines so that the diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java index f979aaa9a..daf070d87 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import jdk.nashorn.internal.runtime.ConsString; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ConsString; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Array index computation helpers. that both throw exceptions or return diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java index 962b1f9e0..24d83ef7d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.util.Iterator; import java.util.List; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Superclass for array iterators diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ByteBufferArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ByteBufferArrayData.java index 2b0326577..6dd25da38 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ByteBufferArrayData.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ByteBufferArrayData.java @@ -22,14 +22,14 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.nio.ByteBuffer; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.PropertyDescriptor; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Implementation of {@link ArrayData} that wraps a nio ByteBuffer diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java index f891afad4..d59930cdb 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java @@ -22,13 +22,13 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCall; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; -import static jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCall; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; +import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; @@ -36,11 +36,11 @@ import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.lookup.Lookup; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; -import jdk.nashorn.internal.runtime.logging.Logger; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.lookup.Lookup; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor; +import org.openjdk.nashorn.internal.runtime.logging.Logger; /** * Interface implemented by all arrays that are directly accessible as underlying diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedArrayFilter.java index 62e1ced87..df75ef37f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedArrayFilter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedArrayFilter.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.reflect.Array; -import jdk.nashorn.internal.runtime.BitVector; +import org.openjdk.nashorn.internal.runtime.BitVector; /** * This filter handles the deletion of array elements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java index d4710318d..f6bb84b20 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.lang.reflect.Array; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * This filter handles the deletion of array elements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java index e94f8cf36..452d089c8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/EmptyArrayLikeIterator.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.util.NoSuchElementException; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/FrozenArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/FrozenArrayFilter.java index 40d4ff108..64d7a9d61 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/FrozenArrayFilter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/FrozenArrayFilter.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.PropertyDescriptor; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * ArrayData after the array has been frozen by Object.freeze call. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntArrayData.java index 03a6545f0..88a9f78be 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntArrayData.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntArrayData.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.util.Arrays; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Implementation of {@link ArrayData} as soon as an int has been diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntElements.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntElements.java index 5bd268432..d4f7d59e5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntElements.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntElements.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; /** * Marker interface for any ContinuousArray with int elements diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntOrLongElements.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntOrLongElements.java index f176d7575..a3633c3a3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntOrLongElements.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IntOrLongElements.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; /** * Marker interface for any ContinuousArray with int or long elements diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IteratorAction.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IteratorAction.java index a1114ae73..e72263dd7 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IteratorAction.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/IteratorAction.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; /** - * Helper class for the various map/apply functions in {@link jdk.nashorn.internal.objects.NativeArray}. + * Helper class for the various map/apply functions in {@link org.openjdk.nashorn.internal.objects.NativeArray}. * @param element type of results from application callback */ public abstract class IteratorAction { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java index 885c77eb5..fd17fc1bf 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.util.NoSuchElementException; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.internal.runtime.JSType; /** * Iterator over a ScriptObjectMirror diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaArrayIterator.java index a6b6bb9a4..77cdcccf6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaArrayIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaArrayIterator.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.lang.reflect.Array; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaListIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaListIterator.java index 96a8b25b6..97cf659a6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaListIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JavaListIterator.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java index 19e3e163d..3c63bee22 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.util.Iterator; import java.util.List; import java.util.SortedMap; import java.util.TreeMap; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Filter to use for ArrayData where the length is not writable. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java index 8928a1c44..8a164866c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Filter class that wrap arrays that have been tagged non extensible diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumberArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumberArrayData.java index 3804e320e..152fd2b78 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumberArrayData.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumberArrayData.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.util.Arrays; import jdk.dynalink.linker.support.TypeUtilities; -import jdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.JSType; /** * Implementation of {@link ArrayData} as soon as a double has been diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumericElements.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumericElements.java index cb87ea911..06fcdcadf 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumericElements.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/NumericElements.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; /** * Marker interface for any ContinuousArray with numeric elements diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ObjectArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ObjectArrayData.java index 027bd6b0a..05ae3ced5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ObjectArrayData.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ObjectArrayData.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.codegen.CompilerConstants.specialCall; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.specialCall; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.util.Arrays; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Implementation of {@link ArrayData} as soon as an Object has been diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java index 84c5c46dd..7e992c73c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.internal.runtime.JSType; /** * Reverse iterator over a ScriptObjectMirror diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java index b90bae68c..52a312340 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaArrayIterator.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.lang.reflect.Array; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaListIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaListIterator.java index 390858bc8..7baddaaa2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaListIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJavaListIterator.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.util.List; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptArrayIterator.java index fae1a8ffd..be649dc2f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptArrayIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptArrayIterator.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Reverse iterator over a NativeArray diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptObjectIterator.java index 533104db9..9e6977d5d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptObjectIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseScriptObjectIterator.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Reverse iterator over a map diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptArrayIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptArrayIterator.java index 0a6178150..e07e49be1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptArrayIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptArrayIterator.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Iterator over a NativeArray diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptObjectIterator.java index 73b4c1f5a..2f0d88861 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptObjectIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ScriptObjectIterator.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.util.NoSuchElementException; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Iterator over a map diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SealedArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SealedArrayFilter.java index 67efe47a5..c8c6af77e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SealedArrayFilter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SealedArrayFilter.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.PropertyDescriptor; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.PropertyDescriptor; /** * ArrayData after the array has been sealed by Object.seal call. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SparseArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SparseArrayData.java index 5ea891058..386e56b52 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SparseArrayData.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/SparseArrayData.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; import java.util.Arrays; import java.util.Map; import java.util.TreeMap; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Handle arrays where the index is very large. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/TypedArrayData.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/TypedArrayData.java index 60a5b9312..73a519454 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/TypedArrayData.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/TypedArrayData.java @@ -23,15 +23,15 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.lang.invoke.MethodHandle; import java.nio.Buffer; import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.internal.lookup.Lookup; +import org.openjdk.nashorn.internal.lookup.Lookup; /** * The superclass of all ArrayData used by TypedArrays diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/UndefinedArrayFilter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/UndefinedArrayFilter.java index c6b1bd9db..429b4704c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/UndefinedArrayFilter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/UndefinedArrayFilter.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.runtime.arrays; +package org.openjdk.nashorn.internal.runtime.arrays; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.reflect.Array; -import jdk.nashorn.internal.runtime.BitVector; -import jdk.nashorn.internal.runtime.UnwarrantedOptimismException; +import org.openjdk.nashorn.internal.runtime.BitVector; +import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException; /** * This filter handles the presence of undefined array elements. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/Bignum.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/Bignum.java index 181d76fa0..86f8bcc2c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/Bignum.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/Bignum.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; import java.util.Arrays; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java index a5832348f..222e41397 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; // Dtoa implementation based on our own Bignum implementation, supporting // all conversion modes but slightly slower than the specialized implementations. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/CachedPowers.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/CachedPowers.java index 49b07005d..332ba6890 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/CachedPowers.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/CachedPowers.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; public class CachedPowers { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DiyFp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DiyFp.java index fc61cdbbe..2d0521421 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DiyFp.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DiyFp.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; // This "Do It Yourself Floating Point" class implements a floating-point number // with a uint64 significand and an int exponent. Normalized DiyFp numbers will diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DoubleConversion.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DoubleConversion.java index 9bc403f23..b7634609e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DoubleConversion.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DoubleConversion.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; /** * This class provides the public API for the double conversion package. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java index 98f39c3a4..a03b3e997 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; /** * A buffer for generating string representations of doubles. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaMode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaMode.java index 0f3f16f9a..4f1d378c6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaMode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/DtoaMode.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; /** * This defines the string conversion modes supported by this package. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FastDtoa.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FastDtoa.java index b243abda3..bf21f0f3f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FastDtoa.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FastDtoa.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; // Fast Dtoa implementation supporting shortest and precision modes. Does not // work for all numbers so BugnumDtoa is used as fallback. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FixedDtoa.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FixedDtoa.java index 4a00177c2..c2a148a30 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FixedDtoa.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/FixedDtoa.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; class FixedDtoa { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java index a381955d8..9c738bd9d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv; +package org.openjdk.nashorn.internal.runtime.doubleconv; // Helper functions for doubles. class IeeeDouble { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RecompilationEvent.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RecompilationEvent.java index 8b2ff4713..5fdbf6239 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RecompilationEvent.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RecompilationEvent.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.runtime.events; +package org.openjdk.nashorn.internal.runtime.events; import java.util.logging.Level; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.RecompilableScriptFunctionData; -import jdk.nashorn.internal.runtime.RewriteException; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.RecompilableScriptFunctionData; +import org.openjdk.nashorn.internal.runtime.RewriteException; /** * Subclass of runtime event for {@link RewriteException}. In order not diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RuntimeEvent.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RuntimeEvent.java index 29a3714af..0381c4018 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RuntimeEvent.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/events/RuntimeEvent.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.events; +package org.openjdk.nashorn.internal.runtime.events; import java.util.logging.Level; -import jdk.nashorn.internal.objects.NativeDebug; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.objects.NativeDebug; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * Class for representing a runtime event, giving less global dependencies than logger. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationException.java index aa29e99ff..4bad533e6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationException.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationException.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; @SuppressWarnings("serial") final class AdaptationException extends Exception { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationResult.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationResult.java index cb3d56e2c..207e17abe 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationResult.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/AdaptationResult.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import jdk.nashorn.internal.runtime.ECMAErrors; -import jdk.nashorn.internal.runtime.ECMAException; +import org.openjdk.nashorn.internal.runtime.ECMAErrors; +import org.openjdk.nashorn.internal.runtime.ECMAException; /** * A result of generating an adapter for a class. A tuple of an outcome and - in case of an error outcome - a list of diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/Bootstrap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/Bootstrap.java index 868b3b690..000a0d92d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/Bootstrap.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/Bootstrap.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.lang.invoke.CallSite; import java.lang.invoke.MethodHandle; @@ -47,16 +47,16 @@ import jdk.dynalink.linker.MethodTypeConversionStrategy; import jdk.dynalink.linker.TypeBasedGuardingDynamicLinker; import jdk.dynalink.linker.support.TypeUtilities; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.internal.codegen.CompilerConstants.Call; -import jdk.nashorn.internal.lookup.MethodHandleFactory; -import jdk.nashorn.internal.lookup.MethodHandleFunctionality; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ECMAException; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.OptimisticReturnFilters; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; +import org.openjdk.nashorn.internal.lookup.MethodHandleFactory; +import org.openjdk.nashorn.internal.lookup.MethodHandleFunctionality; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ECMAException; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.OptimisticReturnFilters; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * This class houses bootstrap method for invokedynamic instructions generated by compiler. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallable.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallable.java index a0eee0de5..a64fb4856 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallable.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallable.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import java.util.Arrays; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Represents a Nashorn callable bound to a receiver and optionally arguments. Note that objects of this class diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallableLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallableLinker.java index 673ae0523..0de58113f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallableLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BoundCallableLinker.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java index 3578ed80b..27139a605 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.runtime.JSType.isString; -import static jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_CALL; -import static jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_GETMEMBER; -import static jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_GETSLOT; -import static jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_SETMEMBER; -import static jdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_SETSLOT; +import static org.openjdk.nashorn.internal.runtime.JSType.isString; +import static org.openjdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_CALL; +import static org.openjdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_GETMEMBER; +import static org.openjdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_GETSLOT; +import static org.openjdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_SETMEMBER; +import static org.openjdk.nashorn.internal.runtime.linker.BrowserJSObjectLinker.JSObjectHandles.JSOBJECT_SETSLOT; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -39,9 +39,9 @@ import jdk.dynalink.linker.LinkRequest; import jdk.dynalink.linker.LinkerServices; import jdk.dynalink.linker.TypeBasedGuardingDynamicLinker; -import jdk.nashorn.internal.lookup.MethodHandleFactory; -import jdk.nashorn.internal.lookup.MethodHandleFunctionality; -import jdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.lookup.MethodHandleFactory; +import org.openjdk.nashorn.internal.lookup.MethodHandleFunctionality; +import org.openjdk.nashorn.internal.runtime.JSType; /** * A Dynalink linker to handle web browser built-in JS (DOM etc.) objects. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ClassAndLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ClassAndLoader.java index 6a3d933f8..74ff0dec5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ClassAndLoader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ClassAndLoader.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.security.AccessControlContext; import java.security.AccessController; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/InvokeByName.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/InvokeByName.java index d4dad62e8..fbb72dc87 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/InvokeByName.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/InvokeByName.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import java.lang.invoke.MethodHandle; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JSObjectLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JSObjectLinker.java index eeb6edd3d..4f0081bf1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JSObjectLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JSObjectLinker.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.runtime.JSType.isString; +import static org.openjdk.nashorn.internal.runtime.JSType.isString; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -39,14 +39,14 @@ import jdk.dynalink.linker.LinkRequest; import jdk.dynalink.linker.LinkerServices; import jdk.dynalink.linker.TypeBasedGuardingDynamicLinker; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.lookup.MethodHandleFactory; -import jdk.nashorn.internal.lookup.MethodHandleFunctionality; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.lookup.MethodHandleFactory; +import org.openjdk.nashorn.internal.lookup.MethodHandleFunctionality; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.objects.Global; /** * A Dynalink linker to handle web browser built-in JS (DOM etc.) objects as well diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java index 124c4f498..1d629683a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PRIVATE; @@ -39,10 +39,10 @@ import static jdk.internal.org.objectweb.asm.Opcodes.I2B; import static jdk.internal.org.objectweb.asm.Opcodes.I2S; import static jdk.internal.org.objectweb.asm.Opcodes.RETURN; -import static jdk.nashorn.internal.codegen.CompilerConstants.interfaceCallNoLookup; -import static jdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.linker.AdaptationResult.Outcome.ERROR_NO_ACCESSIBLE_CONSTRUCTOR; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.interfaceCallNoLookup; +import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.linker.AdaptationResult.Outcome.ERROR_NO_ACCESSIBLE_CONSTRUCTOR; import java.lang.invoke.CallSite; import java.lang.invoke.MethodHandle; @@ -68,12 +68,12 @@ import jdk.internal.org.objectweb.asm.Opcodes; import jdk.internal.org.objectweb.asm.Type; import jdk.internal.org.objectweb.asm.commons.InstructionAdapter; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.api.scripting.ScriptUtils; -import jdk.nashorn.internal.codegen.CompilerConstants.Call; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.linker.AdaptationResult.Outcome; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.ScriptUtils; +import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.linker.AdaptationResult.Outcome; import jdk.internal.reflect.CallerSensitive; /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java index 06f035c4b..a847d02db 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; @@ -38,11 +38,11 @@ import java.util.HashSet; import java.util.Set; import jdk.dynalink.beans.StaticClass; -import jdk.nashorn.internal.codegen.DumpBytecode; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.codegen.DumpBytecode; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * This class encapsulates the bytecode of the adapter class and can be used to load it into the JVM as an actual Class. @@ -104,8 +104,8 @@ private ClassLoader createClassLoader(final ClassLoader parentLoader, final Prot { // specific exports from nashorn to the new adapter module - NASHORN_MODULE.addExports("jdk.nashorn.internal.runtime", adapterModule); - NASHORN_MODULE.addExports("jdk.nashorn.internal.runtime.linker", adapterModule); + NASHORN_MODULE.addExports("org.openjdk.nashorn.internal.runtime", adapterModule); + NASHORN_MODULE.addExports("org.openjdk.nashorn.internal.runtime.linker", adapterModule); // nashorn should be be able to read methods of classes loaded in adapter module NASHORN_MODULE.addReads(adapterModule); @@ -143,7 +143,7 @@ public Context run() { return Context.getContext(); } }, GET_CONTEXT_ACC_CTXT); - DumpBytecode.dumpBytecode(ctx.getEnv(), ctx.getLogger(jdk.nashorn.internal.codegen.Compiler.class), classBytes, name); + DumpBytecode.dumpBytecode(ctx.getEnv(), ctx.getLogger(org.openjdk.nashorn.internal.codegen.Compiler.class), classBytes, name); return defineClass(name, classBytes, 0, classBytes.length, protectionDomain); } throw new ClassNotFoundException(name); diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java index 00fcb7eff..7084f0941 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -50,11 +50,11 @@ import jdk.dynalink.StandardOperation; import jdk.dynalink.beans.StaticClass; import jdk.dynalink.linker.support.SimpleLinkRequest; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ECMAException; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.linker.AdaptationResult.Outcome; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ECMAException; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.linker.AdaptationResult.Outcome; /** * A factory class that generates adapter classes. Adapter classes allow @@ -75,9 +75,9 @@ * itself; see its documentation for details about the generated class. *

* You normally don't use this class directly, but rather either create adapters - * from script using {@link jdk.nashorn.internal.objects.NativeJava#extend(Object, Object...)}, + * from script using {@link org.openjdk.nashorn.internal.objects.NativeJava#extend(Object, Object...)}, * using the {@code new} operator on abstract classes and interfaces (see - * {@link jdk.nashorn.internal.objects.NativeJava#type(Object, Object)}), or + * {@link org.openjdk.nashorn.internal.objects.NativeJava#type(Object, Object)}), or * implicitly when passing script functions to Java methods expecting SAM types. */ @@ -88,7 +88,7 @@ public final class JavaAdapterFactory { // context with permissions needs for AdapterInfo creation private static final AccessControlContext CREATE_ADAPTER_INFO_ACC_CTXT = ClassAndLoader.createPermAccCtxt("createClassLoader", "getClassLoader", - "accessDeclaredMembers", "accessClassInPackage.jdk.nashorn.internal.runtime"); + "accessDeclaredMembers", "accessClassInPackage.org.openjdk.nashorn.internal.runtime"); /** * A mapping from an original Class object to AdapterInfo representing the adapter for the class it represents. @@ -380,8 +380,8 @@ private static ClassLoader findCommonLoader(final ClassAndLoader classAndLoader) private static ProtectionDomain createMinimalPermissionDomain() { // Generated classes need to have at least the permission to access Nashorn runtime and runtime.linker packages. final Permissions permissions = new Permissions(); - permissions.add(new RuntimePermission("accessClassInPackage.jdk.nashorn.internal.runtime")); - permissions.add(new RuntimePermission("accessClassInPackage.jdk.nashorn.internal.runtime.linker")); + permissions.add(new RuntimePermission("accessClassInPackage.org.openjdk.nashorn.internal.runtime")); + permissions.add(new RuntimePermission("accessClassInPackage.org.openjdk.nashorn.internal.runtime.linker")); return new ProtectionDomain(new CodeSource(null, (CodeSigner[])null), permissions); } } diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java index 346d66cc5..fbd1d4075 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC; @@ -31,7 +31,7 @@ import static jdk.internal.org.objectweb.asm.Opcodes.ACC_SUPER; import static jdk.internal.org.objectweb.asm.Opcodes.ALOAD; import static jdk.internal.org.objectweb.asm.Opcodes.RETURN; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.lang.invoke.CallSite; import java.lang.invoke.ConstantCallSite; @@ -52,14 +52,14 @@ import jdk.internal.org.objectweb.asm.Opcodes; import jdk.internal.org.objectweb.asm.Type; import jdk.internal.org.objectweb.asm.commons.InstructionAdapter; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ECMAException; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ECMAException; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Provides static utility services to generated Java adapter classes. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaArgumentConverters.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaArgumentConverters.java index bc157b844..737c4e181 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaArgumentConverters.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaArgumentConverters.java @@ -23,21 +23,21 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.JSType.isString; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.JSType.isString; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.util.HashMap; import java.util.Map; import jdk.dynalink.linker.support.TypeUtilities; -import jdk.nashorn.internal.runtime.ConsString; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ConsString; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Utility class shared by {@code NashornLinker} and {@code NashornPrimitiveLinker} for converting JS values to Java diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java index 6cc2a1b0f..584dca9d4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import java.util.Objects; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java index 8d525a713..aca2ff3ae 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import static jdk.dynalink.StandardNamespace.METHOD; import static jdk.dynalink.StandardOperation.GET; -import static jdk.nashorn.internal.runtime.linker.JavaAdapterBytecodeGenerator.SUPER_PREFIX; +import static org.openjdk.nashorn.internal.runtime.linker.JavaAdapterBytecodeGenerator.SUPER_PREFIX; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -40,7 +40,7 @@ import jdk.dynalink.linker.LinkerServices; import jdk.dynalink.linker.TypeBasedGuardingDynamicLinker; import jdk.dynalink.linker.support.Lookup; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * A linker for instances of {@code JavaSuperAdapter}. Only links {@code getMethod} calls, by forwarding them to the diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/LinkerCallSite.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/LinkerCallSite.java index 55ed42398..92e15cf8e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/LinkerCallSite.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/LinkerCallSite.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.io.FileNotFoundException; import java.io.FileOutputStream; @@ -47,11 +47,11 @@ import jdk.dynalink.DynamicLinker; import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.support.ChainedCallSite; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.Debug; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Debug; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.options.Options; /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NameCodec.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NameCodec.java index 1b701d59f..0c7120167 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NameCodec.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NameCodec.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; /** *

diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBeansLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBeansLinker.java index b85c6e491..7f45a067a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBeansLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBeansLinker.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -49,11 +49,11 @@ import jdk.dynalink.linker.support.DefaultInternalObjectFilter; import jdk.dynalink.linker.support.Lookup; import jdk.dynalink.linker.support.SimpleLinkRequest; -import jdk.nashorn.api.scripting.ScriptUtils; -import jdk.nashorn.internal.runtime.ConsString; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.api.scripting.ScriptUtils; +import org.openjdk.nashorn.internal.runtime.ConsString; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * This linker delegates to a {@code BeansLinker} but passes it a special linker services object that has a modified diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBottomLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBottomLinker.java index 481919317..1048cb109 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBottomLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornBottomLinker.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -47,11 +47,11 @@ import jdk.dynalink.linker.LinkerServices; import jdk.dynalink.linker.support.Guards; import jdk.dynalink.linker.support.Lookup; -import jdk.nashorn.internal.codegen.types.Type; -import jdk.nashorn.internal.runtime.ECMAException; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.UnwarrantedOptimismException; +import org.openjdk.nashorn.internal.codegen.types.Type; +import org.openjdk.nashorn.internal.runtime.ECMAException; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException; /** * Nashorn bottom linker; used as a last-resort catch-all linker for all linking requests that fall through all other diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java index 28db284c0..faddd885f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import static jdk.dynalink.StandardNamespace.ELEMENT; import static jdk.dynalink.StandardNamespace.METHOD; @@ -53,9 +53,9 @@ import jdk.dynalink.SecureLookupSupplier; import jdk.dynalink.StandardNamespace; import jdk.dynalink.StandardOperation; -import jdk.nashorn.internal.ir.debug.NashornTextifier; -import jdk.nashorn.internal.runtime.AccessControlContextFactory; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.ir.debug.NashornTextifier; +import org.openjdk.nashorn.internal.runtime.AccessControlContextFactory; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Nashorn-specific implementation of Dynalink's {@link CallSiteDescriptor}. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornGuards.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornGuards.java index 19f8adb29..58b525380 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornGuards.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornGuards.java @@ -23,23 +23,23 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.ref.WeakReference; import jdk.dynalink.CallSiteDescriptor; import jdk.dynalink.linker.LinkRequest; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.Property; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.Property; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * Constructor of method handles used to guard call sites. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java index 5f6f72c61..aaef42ca0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -51,17 +51,17 @@ import jdk.dynalink.linker.TypeBasedGuardingDynamicLinker; import jdk.dynalink.linker.support.Guards; import jdk.dynalink.linker.support.Lookup; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.api.scripting.ScriptUtils; -import jdk.nashorn.internal.codegen.CompilerConstants.Call; -import jdk.nashorn.internal.objects.NativeArray; -import jdk.nashorn.internal.runtime.AccessControlContextFactory; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ListAdapter; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.ScriptUtils; +import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; +import org.openjdk.nashorn.internal.objects.NativeArray; +import org.openjdk.nashorn.internal.runtime.AccessControlContextFactory; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ListAdapter; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.Undefined; /** * This is the main dynamic linker for Nashorn. It is used for linking all {@link ScriptObject} and its subclasses (this diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornPrimitiveLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornPrimitiveLinker.java index 16778813a..f5d68644d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornPrimitiveLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornPrimitiveLinker.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -37,11 +37,11 @@ import jdk.dynalink.linker.LinkerServices; import jdk.dynalink.linker.TypeBasedGuardingDynamicLinker; import jdk.dynalink.linker.support.TypeUtilities; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.ConsString; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Symbol; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.ConsString; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Symbol; /** * Internal linker for String, Boolean, and Number objects, only ever used by Nashorn engine and not exposed to other diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java index 01a565726..974b60ad6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; import java.lang.invoke.MethodHandles; import java.lang.reflect.Modifier; @@ -38,8 +38,8 @@ import jdk.dynalink.linker.LinkerServices; import jdk.dynalink.linker.TypeBasedGuardingDynamicLinker; import jdk.dynalink.linker.support.Guards; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ECMAErrors; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ECMAErrors; /** * Internal linker for {@link StaticClass} objects, only ever used by Nashorn engine and not exposed to other engines. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/PrimitiveLookup.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/PrimitiveLookup.java index 5a321d0d1..831403d0d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/PrimitiveLookup.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/PrimitiveLookup.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -36,16 +36,16 @@ import jdk.dynalink.linker.GuardedInvocation; import jdk.dynalink.linker.LinkRequest; import jdk.dynalink.linker.support.Guards; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.FindProperty; -import jdk.nashorn.internal.runtime.GlobalConstants; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.FindProperty; +import org.openjdk.nashorn.internal.runtime.GlobalConstants; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; /** * Implements lookup of methods to link for dynamic operations on JavaScript primitive values (booleans, strings, and - * numbers). This class is only public so it can be accessed by classes in the {@code jdk.nashorn.internal.objects} + * numbers). This class is only public so it can be accessed by classes in the {@code org.openjdk.nashorn.internal.objects} * package. */ public final class PrimitiveLookup { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ReflectionCheckLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ReflectionCheckLinker.java index a168fe1b7..b75c7d657 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ReflectionCheckLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/ReflectionCheckLinker.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker; +package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; +import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.lang.reflect.Modifier; import java.lang.reflect.Proxy; @@ -36,9 +36,9 @@ import jdk.dynalink.linker.LinkRequest; import jdk.dynalink.linker.LinkerServices; import jdk.dynalink.linker.TypeBasedGuardingDynamicLinker; -import jdk.nashorn.api.scripting.ClassFilter; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.api.scripting.ClassFilter; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.Context; /** * Check java reflection permission for java reflective and java.lang.invoke access from scripts diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/DebugLogger.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/DebugLogger.java index 99936c555..d8a6c8324 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/DebugLogger.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/DebugLogger.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.logging; +package org.openjdk.nashorn.internal.runtime.logging; import java.io.PrintWriter; import java.security.AccessControlContext; @@ -38,12 +38,12 @@ import java.util.logging.LogRecord; import java.util.logging.Logger; import java.util.logging.LoggingPermission; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.events.RuntimeEvent; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.events.RuntimeEvent; /** * Wrapper class for Logging system. This is how you are supposed to register a logger and use it diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Loggable.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Loggable.java index 329500357..964e258fc 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Loggable.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Loggable.java @@ -22,9 +22,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.logging; +package org.openjdk.nashorn.internal.runtime.logging; -import jdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Context; /** * Interface implemented by classes that are loggable. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Logger.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Logger.java index a407fec33..93f731876 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Logger.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/logging/Logger.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.logging; +package org.openjdk.nashorn.internal.runtime.logging; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/KeyValueOption.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/KeyValueOption.java index aee6caf0b..84f13c3f1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/KeyValueOption.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/KeyValueOption.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.options; +package org.openjdk.nashorn.internal.runtime.options; import java.util.Collections; import java.util.LinkedHashMap; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/LoggingOption.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/LoggingOption.java index e1d9cede6..f3a7c8f72 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/LoggingOption.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/LoggingOption.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.options; +package org.openjdk.nashorn.internal.runtime.options; import java.util.Collections; import java.util.HashMap; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Option.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Option.java index feaff1f18..bf947bc48 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Option.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Option.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.options; +package org.openjdk.nashorn.internal.runtime.options; /** * This is an option class that at its most primitive level just wraps a diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/OptionTemplate.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/OptionTemplate.java index 21ccb2d1c..e246acef3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/OptionTemplate.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/OptionTemplate.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.options; +package org.openjdk.nashorn.internal.runtime.options; import java.util.Locale; import java.util.TimeZone; -import jdk.nashorn.internal.runtime.QuotedStringTokenizer; +import org.openjdk.nashorn.internal.runtime.QuotedStringTokenizer; /** * This describes the valid input for an option, as read from the resource diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Options.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Options.java index 32f7fde60..1abad2cd5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Options.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/options/Options.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.options; +package org.openjdk.nashorn.internal.runtime.options; import java.io.PrintWriter; import java.security.AccessControlContext; @@ -49,7 +49,7 @@ import java.util.TimeZone; import java.util.TreeMap; import java.util.TreeSet; -import jdk.nashorn.internal.runtime.QuotedStringTokenizer; +import org.openjdk.nashorn.internal.runtime.QuotedStringTokenizer; /** * Manages global runtime options. @@ -595,7 +595,7 @@ private static void initProps(final KeyValueOption kv) { /** * Resource name for properties file */ - private static final String MESSAGES_RESOURCE = "jdk.nashorn.internal.runtime.resources.Options"; + private static final String MESSAGES_RESOURCE = "org.openjdk.nashorn.internal.runtime.resources.Options"; /** * Resource bundle for properties file diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JdkRegExp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JdkRegExp.java index e88471633..239ef0169 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JdkRegExp.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JdkRegExp.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.regexp; +package org.openjdk.nashorn.internal.runtime.regexp; import static java.util.regex.Pattern.CASE_INSENSITIVE; import static java.util.regex.Pattern.MULTILINE; @@ -32,7 +32,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; -import jdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.ParserException; /** * Default regular expression implementation based on java.util.regex package. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JoniRegExp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JoniRegExp.java index ccddc876f..f8ea2108f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JoniRegExp.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/JoniRegExp.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.runtime.regexp; +package org.openjdk.nashorn.internal.runtime.regexp; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.regexp.joni.Matcher; -import jdk.nashorn.internal.runtime.regexp.joni.Option; -import jdk.nashorn.internal.runtime.regexp.joni.Regex; -import jdk.nashorn.internal.runtime.regexp.joni.Region; -import jdk.nashorn.internal.runtime.regexp.joni.Syntax; -import jdk.nashorn.internal.runtime.regexp.joni.exception.JOniException; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Matcher; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Option; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Regex; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Region; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Syntax; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.JOniException; /** * Regular expression implementation based on the Joni engine from the JRuby project. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExp.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExp.java index ac57c9fbb..b738e6a27 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExp.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExp.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.runtime.regexp; +package org.openjdk.nashorn.internal.runtime.regexp; import java.util.regex.MatchResult; -import jdk.nashorn.internal.runtime.BitVector; -import jdk.nashorn.internal.runtime.ECMAErrors; -import jdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.BitVector; +import org.openjdk.nashorn.internal.runtime.ECMAErrors; +import org.openjdk.nashorn.internal.runtime.ParserException; /** * This is the base class for representing a parsed regular expression. @@ -155,7 +155,7 @@ public BitVector getGroupsInNegativeLookahead() { * * @param key the message key * @param str string argument - * @throws jdk.nashorn.internal.runtime.ParserException unconditionally + * @throws org.openjdk.nashorn.internal.runtime.ParserException unconditionally */ protected static void throwParserException(final String key, final String str) throws ParserException { throw new ParserException(ECMAErrors.getMessage("parser.error.regex." + key, str)); diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpFactory.java index 2d37a7614..4fbe43190 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpFactory.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpFactory.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.internal.runtime.regexp; +package org.openjdk.nashorn.internal.runtime.regexp; import java.util.Collections; import java.util.Map; import java.util.WeakHashMap; -import jdk.nashorn.internal.runtime.ParserException; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.runtime.ParserException; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * Factory class for regular expressions. This class creates instances of {@link JdkRegExp}. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpMatcher.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpMatcher.java index 2697cdf75..0e99ce507 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpMatcher.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpMatcher.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.regexp; +package org.openjdk.nashorn.internal.runtime.regexp; import java.util.regex.MatchResult; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpResult.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpResult.java index cd81be3cc..c44ed369c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpResult.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpResult.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.regexp; +package org.openjdk.nashorn.internal.runtime.regexp; /** * Match tuple to keep track of ongoing regexp match. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpScanner.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpScanner.java index 6f122a3b4..18ef63351 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpScanner.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/RegExpScanner.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.regexp; +package org.openjdk.nashorn.internal.runtime.regexp; import java.util.HashMap; import java.util.Iterator; @@ -31,9 +31,9 @@ import java.util.List; import java.util.Map; import java.util.regex.PatternSyntaxException; -import jdk.nashorn.internal.parser.Lexer; -import jdk.nashorn.internal.parser.Scanner; -import jdk.nashorn.internal.runtime.BitVector; +import org.openjdk.nashorn.internal.parser.Lexer; +import org.openjdk.nashorn.internal.parser.Scanner; +import org.openjdk.nashorn.internal.runtime.BitVector; /** * Scan a JavaScript regexp, converting to Java regex if necessary. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Analyser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Analyser.java index 6c003b301..3cf84f67c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Analyser.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Analyser.java @@ -17,34 +17,34 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; - -import static jdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsAll; -import static jdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsAt; -import static jdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsOnAt; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isFindCondition; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isIgnoreCase; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isMultiline; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode.newAltNode; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.isRepeatInfinite; +package org.openjdk.nashorn.internal.runtime.regexp.joni; + +import static org.openjdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsAll; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsAt; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsOnAt; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isFindCondition; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isIgnoreCase; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isMultiline; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode.newAltNode; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.isRepeatInfinite; import java.util.HashSet; -import jdk.nashorn.internal.runtime.regexp.joni.ast.AnchorNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.BackRefNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.EncloseNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.Node; -import jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; -import jdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.EncloseType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.StackPopLevel; -import jdk.nashorn.internal.runtime.regexp.joni.constants.TargetInfo; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.ObjPtr; -import jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; -import jdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.AnchorNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.BackRefNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.EncloseNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.Node; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.EncloseType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.StackPopLevel; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.TargetInfo; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.ObjPtr; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; final class Analyser extends Parser { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java index 5ecfec4f8..3c48c65a7 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java @@ -17,9 +17,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import jdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; final class ApplyCaseFold { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java index ce25af626..067b30731 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFoldArg.java @@ -17,10 +17,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import jdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; @SuppressWarnings("javadoc") public final class ApplyCaseFoldArg { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java index b343d7752..2bb1bda37 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java @@ -17,27 +17,27 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; - -import static jdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsAt; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isDynamic; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isIgnoreCase; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isMultiline; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.isRepeatInfinite; -import jdk.nashorn.internal.runtime.regexp.joni.ast.AnchorNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.BackRefNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.EncloseNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.Node; -import jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; -import jdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.EncloseType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.OPCode; -import jdk.nashorn.internal.runtime.regexp.joni.constants.OPSize; -import jdk.nashorn.internal.runtime.regexp.joni.constants.TargetInfo; +package org.openjdk.nashorn.internal.runtime.regexp.joni; + +import static org.openjdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsAt; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isDynamic; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isIgnoreCase; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isMultiline; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.isRepeatInfinite; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.AnchorNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.BackRefNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.EncloseNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.Node; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.EncloseType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.OPCode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.OPSize; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.TargetInfo; final class ArrayCompiler extends Compiler { private int[] code; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitSet.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitSet.java index db6df1189..6d50c8e3b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitSet.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitSet.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; @SuppressWarnings("javadoc") public final class BitSet { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitStatus.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitStatus.java index 91cf71980..8b155a922 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitStatus.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/BitStatus.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; final class BitStatus { public static final int BIT_STATUS_BITS_NUM = 4 * 8; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java index f5fce08bc..3bd19bdeb 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java @@ -17,21 +17,21 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; - -import static jdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsAt; -import static jdk.nashorn.internal.runtime.regexp.joni.EncodingHelper.isNewLine; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isFindCondition; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isFindLongest; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isFindNotEmpty; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isNotBol; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isNotEol; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isPosixRegion; -import jdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; -import jdk.nashorn.internal.runtime.regexp.joni.constants.OPCode; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; -import jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; +package org.openjdk.nashorn.internal.runtime.regexp.joni; + +import static org.openjdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsAt; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.EncodingHelper.isNewLine; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isFindCondition; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isFindLongest; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isFindNotEmpty; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isNotBol; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isNotEol; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isPosixRegion; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.OPCode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; class ByteCodeMachine extends StackMachine { private int bestLen; // return value diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java index fc61ee80c..e913a0ac2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ByteCodePrinter.java @@ -17,13 +17,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import jdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; -import jdk.nashorn.internal.runtime.regexp.joni.constants.Arguments; -import jdk.nashorn.internal.runtime.regexp.joni.constants.OPCode; -import jdk.nashorn.internal.runtime.regexp.joni.constants.OPSize; -import jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.Arguments; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.OPCode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.OPSize; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; class ByteCodePrinter { final int[] code; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java index 3436e122c..938b380d8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java @@ -17,10 +17,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; @SuppressWarnings("javadoc") public final class CodeRangeBuffer implements Cloneable { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Compiler.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Compiler.java index 73752caa0..c1d662119 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Compiler.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Compiler.java @@ -17,20 +17,20 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; - -import jdk.nashorn.internal.runtime.regexp.joni.ast.AnchorNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.BackRefNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.EncloseNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.Node; -import jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; -import jdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; -import jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; -import jdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; +package org.openjdk.nashorn.internal.runtime.regexp.joni; + +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.AnchorNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.BackRefNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.EncloseNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.Node; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; abstract class Compiler implements ErrorMessages { protected final Analyser analyser; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Config.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Config.java index f9a8c6028..3d1fec622 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Config.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Config.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; import java.io.PrintStream; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java index b6b46deda..e898d7563 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java @@ -17,11 +17,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; import java.util.Arrays; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.CharacterType; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.CharacterType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; @SuppressWarnings("javadoc") public final class EncodingHelper { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Lexer.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Lexer.java index 27c010e84..d5792f35e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Lexer.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Lexer.java @@ -17,18 +17,18 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; - -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isSingleline; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.isRepeatInfinite; -import jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; -import jdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.MetaChar; -import jdk.nashorn.internal.runtime.regexp.joni.constants.TokenType; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.CharacterType; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; -import jdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; +package org.openjdk.nashorn.internal.runtime.regexp.joni; + +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isSingleline; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.isRepeatInfinite; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.MetaChar; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.TokenType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.CharacterType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; class Lexer extends ScannerSupport { protected final ScanEnvironment env; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Matcher.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Matcher.java index b1a733d99..1db109ec6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Matcher.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Matcher.java @@ -18,11 +18,11 @@ * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isFindLongest; -import jdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isFindLongest; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; @SuppressWarnings("javadoc") public abstract class Matcher extends IntHolder { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MatcherFactory.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MatcherFactory.java index 70642d5e7..0a6a3dd5c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MatcherFactory.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MatcherFactory.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; @SuppressWarnings("javadoc") public abstract class MatcherFactory { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MinMaxLen.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MinMaxLen.java index 83a9e2dc0..22ada4194 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MinMaxLen.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/MinMaxLen.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; final class MinMaxLen { int min; /* min byte length */ diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/NodeOptInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/NodeOptInfo.java index a5e569dc9..37a09a9b4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/NodeOptInfo.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/NodeOptInfo.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; @SuppressWarnings("javadoc") public final class NodeOptInfo { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java index 7c7f51405..a140fae18 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptAnchorInfo.java @@ -17,9 +17,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import jdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; final class OptAnchorInfo implements AnchorType { int leftAnchor; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptEnvironment.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptEnvironment.java index ba1eb136f..6d9ecffa0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptEnvironment.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptEnvironment.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; // remove this one in future and pass mmd directly final class OptEnvironment { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptExactInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptExactInfo.java index cc2143dea..8606a4202 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptExactInfo.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptExactInfo.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; final class OptExactInfo { static final int OPT_EXACT_MAXLEN = 24; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptMapInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptMapInfo.java index a3c4c7c5e..d8b4e89b5 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptMapInfo.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/OptMapInfo.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; final class OptMapInfo { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Option.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Option.java index ead990074..0861271ff 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Option.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Option.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; @SuppressWarnings("javadoc") public class Option { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Parser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Parser.java index 35fba7199..d609cb647 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Parser.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Parser.java @@ -17,31 +17,31 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; - -import static jdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsOnOff; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isDontCaptureGroup; -import static jdk.nashorn.internal.runtime.regexp.joni.Option.isIgnoreCase; -import jdk.nashorn.internal.runtime.regexp.joni.ast.AnchorNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.AnyCharNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.BackRefNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode.CCStateArg; -import jdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.EncloseNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.Node; -import jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; -import jdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; -import jdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.CCSTATE; -import jdk.nashorn.internal.runtime.regexp.joni.constants.CCVALTYPE; -import jdk.nashorn.internal.runtime.regexp.joni.constants.EncloseType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.TokenType; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.CharacterType; -import jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; -import jdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; +package org.openjdk.nashorn.internal.runtime.regexp.joni; + +import static org.openjdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsOnOff; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isDontCaptureGroup; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.Option.isIgnoreCase; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.AnchorNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.AnyCharNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.BackRefNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.CClassNode.CCStateArg; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.ConsAltNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.EncloseNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.Node; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.CCSTATE; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.CCVALTYPE; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.EncloseType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.TokenType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.CharacterType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; class Parser extends Lexer { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Regex.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Regex.java index 1612f44bc..9d96e7622 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Regex.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Regex.java @@ -17,12 +17,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import jdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; -import jdk.nashorn.internal.runtime.regexp.joni.constants.RegexState; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.RegexState; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; @SuppressWarnings("javadoc") public final class Regex implements RegexState { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Region.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Region.java index 782211208..2134f86dd 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Region.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Region.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; @SuppressWarnings("javadoc") public final class Region { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScanEnvironment.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScanEnvironment.java index 2e118435d..4c137cabd 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScanEnvironment.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScanEnvironment.java @@ -17,12 +17,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import static jdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsClear; -import jdk.nashorn.internal.runtime.regexp.joni.ast.Node; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; -import jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.BitStatus.bsClear; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ast.Node; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; @SuppressWarnings("javadoc") public final class ScanEnvironment { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScannerSupport.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScannerSupport.java index 6ae186c82..4c3a10ad8 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScannerSupport.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ScannerSupport.java @@ -17,10 +17,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; abstract class ScannerSupport extends IntHolder implements ErrorMessages { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java index 7fea303b5..1997c833a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; @SuppressWarnings("javadoc") public abstract class SearchAlgorithm { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackEntry.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackEntry.java index 36a65d62f..90e1e611a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackEntry.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackEntry.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; final class StackEntry { int type; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackMachine.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackMachine.java index 4cc33baf9..7c13d3624 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackMachine.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/StackMachine.java @@ -17,11 +17,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; import java.lang.ref.WeakReference; -import jdk.nashorn.internal.runtime.regexp.joni.constants.StackPopLevel; -import jdk.nashorn.internal.runtime.regexp.joni.constants.StackType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.StackPopLevel; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.StackType; abstract class StackMachine extends Matcher implements StackType { protected static final int INVALID_INDEX = -1; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Syntax.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Syntax.java index 97f57e9ad..55ab2bf4b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Syntax.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Syntax.java @@ -17,10 +17,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import static jdk.nashorn.internal.runtime.regexp.joni.constants.MetaChar.INEFFECTIVE_META_CHAR; -import jdk.nashorn.internal.runtime.regexp.joni.constants.SyntaxProperties; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.constants.MetaChar.INEFFECTIVE_META_CHAR; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.SyntaxProperties; @SuppressWarnings("javadoc") public final class Syntax implements SyntaxProperties { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Token.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Token.java index 095bb07e7..68af1381d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Token.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Token.java @@ -17,9 +17,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; -import jdk.nashorn.internal.runtime.regexp.joni.constants.TokenType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.TokenType; final class Token { TokenType type; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/WarnCallback.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/WarnCallback.java index 2529684d2..c4f9c7c4f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/WarnCallback.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/WarnCallback.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; /** * @author Ola Bini diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Warnings.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Warnings.java index 09708bcd4..a68ef20cf 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Warnings.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/Warnings.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni; +package org.openjdk.nashorn.internal.runtime.regexp.joni; @SuppressWarnings("javadoc") public interface Warnings { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java index ab2e51899..fc6128288 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnchorNode.java @@ -17,9 +17,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; -import jdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.AnchorType; @SuppressWarnings("javadoc") public final class AnchorNode extends Node implements AnchorType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java index 900932e37..4947eb61c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/AnyCharNode.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; @SuppressWarnings("javadoc") public final class AnyCharNode extends Node { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java index 573c1ec79..f150ad8ac 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/BackRefNode.java @@ -17,9 +17,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; -import jdk.nashorn.internal.runtime.regexp.joni.ScanEnvironment; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ScanEnvironment; @SuppressWarnings("javadoc") public final class BackRefNode extends StateNode { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/CClassNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/CClassNode.java index 123e5c360..3555f4e7e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/CClassNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/CClassNode.java @@ -17,22 +17,22 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; - -import jdk.nashorn.internal.runtime.regexp.joni.BitSet; -import jdk.nashorn.internal.runtime.regexp.joni.CodeRangeBuffer; -import jdk.nashorn.internal.runtime.regexp.joni.Config; -import jdk.nashorn.internal.runtime.regexp.joni.EncodingHelper; -import jdk.nashorn.internal.runtime.regexp.joni.ScanEnvironment; -import jdk.nashorn.internal.runtime.regexp.joni.Syntax; -import jdk.nashorn.internal.runtime.regexp.joni.constants.CCSTATE; -import jdk.nashorn.internal.runtime.regexp.joni.constants.CCVALTYPE; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.CharacterType; -import jdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; -import jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; -import jdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; + +import org.openjdk.nashorn.internal.runtime.regexp.joni.BitSet; +import org.openjdk.nashorn.internal.runtime.regexp.joni.CodeRangeBuffer; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Config; +import org.openjdk.nashorn.internal.runtime.regexp.joni.EncodingHelper; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ScanEnvironment; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Syntax; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.CCSTATE; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.CCVALTYPE; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.CharacterType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.encoding.IntHolder; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.SyntaxException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ValueException; @SuppressWarnings("javadoc") public final class CClassNode extends Node { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java index d3c258b6b..5bf56f2f4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/ConsAltNode.java @@ -17,12 +17,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; import java.util.Set; -import jdk.nashorn.internal.runtime.regexp.joni.WarnCallback; -import jdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; -import jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; +import org.openjdk.nashorn.internal.runtime.regexp.joni.WarnCallback; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.ErrorMessages; +import org.openjdk.nashorn.internal.runtime.regexp.joni.exception.InternalException; @SuppressWarnings("javadoc") public final class ConsAltNode extends Node { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java index 947372112..145fe4f21 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java @@ -17,10 +17,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; -import jdk.nashorn.internal.runtime.regexp.joni.Option; -import jdk.nashorn.internal.runtime.regexp.joni.constants.EncloseType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Option; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.EncloseType; @SuppressWarnings("javadoc") public final class EncloseNode extends StateNode implements EncloseType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/Node.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/Node.java index d7205165f..555933c9a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/Node.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/Node.java @@ -17,12 +17,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; import java.util.Set; -import jdk.nashorn.internal.runtime.regexp.joni.Config; -import jdk.nashorn.internal.runtime.regexp.joni.WarnCallback; -import jdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Config; +import org.openjdk.nashorn.internal.runtime.regexp.joni.WarnCallback; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.NodeType; @SuppressWarnings("javadoc") public abstract class Node implements NodeType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java index 6a28f78ac..1cbc9bdf6 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java @@ -17,18 +17,18 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; - -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.A; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.AQ; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.ASIS; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.DEL; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.PQ_Q; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.P_QQ; -import static jdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.QQ; -import jdk.nashorn.internal.runtime.regexp.joni.Config; -import jdk.nashorn.internal.runtime.regexp.joni.ScanEnvironment; -import jdk.nashorn.internal.runtime.regexp.joni.constants.TargetInfo; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; + +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.A; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.AQ; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.ASIS; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.DEL; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.PQ_Q; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.P_QQ; +import static org.openjdk.nashorn.internal.runtime.regexp.joni.ast.QuantifierNode.ReduceType.QQ; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Config; +import org.openjdk.nashorn.internal.runtime.regexp.joni.ScanEnvironment; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.TargetInfo; @SuppressWarnings("javadoc") public final class QuantifierNode extends StateNode { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StateNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StateNode.java index 2d75ebc8f..345498f2f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StateNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StateNode.java @@ -17,9 +17,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; -import jdk.nashorn.internal.runtime.regexp.joni.constants.NodeStatus; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.NodeStatus; @SuppressWarnings("javadoc") public abstract class StateNode extends Node implements NodeStatus { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StringNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StringNode.java index e0156f562..c310964a7 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StringNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/ast/StringNode.java @@ -17,10 +17,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.ast; +package org.openjdk.nashorn.internal.runtime.regexp.joni.ast; -import jdk.nashorn.internal.runtime.regexp.joni.EncodingHelper; -import jdk.nashorn.internal.runtime.regexp.joni.constants.StringType; +import org.openjdk.nashorn.internal.runtime.regexp.joni.EncodingHelper; +import org.openjdk.nashorn.internal.runtime.regexp.joni.constants.StringType; @SuppressWarnings("javadoc") public final class StringNode extends Node implements StringType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AnchorType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AnchorType.java index 38da6ae65..6263dcadd 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AnchorType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AnchorType.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface AnchorType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Arguments.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Arguments.java index ba96564d8..879a2c9aa 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Arguments.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Arguments.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface Arguments { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AsmConstants.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AsmConstants.java index ba4bf7565..6a17cb3db 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AsmConstants.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/AsmConstants.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface AsmConstants { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java index bd98a6b1c..e1aa7869d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCSTATE.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public enum CCSTATE { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java index f45f94a58..88972a42e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/CCVALTYPE.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public enum CCVALTYPE { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/EncloseType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/EncloseType.java index f82e8af96..da93fcefa 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/EncloseType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/EncloseType.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface EncloseType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/MetaChar.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/MetaChar.java index 82c7682cb..bdfaf4ae4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/MetaChar.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/MetaChar.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface MetaChar { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeStatus.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeStatus.java index b5e0ea4c8..fce92d2c3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeStatus.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeStatus.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface NodeStatus { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeType.java index fc3670b9a..f6da902cb 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/NodeType.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface NodeType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPCode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPCode.java index bb31740d8..cc597b334 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPCode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPCode.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface OPCode { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPSize.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPSize.java index 870a5ebca..767177859 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPSize.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/OPSize.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface OPSize { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/RegexState.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/RegexState.java index 5f1a3cd41..637208d53 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/RegexState.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/RegexState.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; // we dont need this ATM @SuppressWarnings("javadoc") diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackPopLevel.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackPopLevel.java index 67bd0e1aa..944a175d4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackPopLevel.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackPopLevel.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface StackPopLevel { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackType.java index 539804f99..d25a75e58 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StackType.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface StackType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StringType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StringType.java index 33347a169..b310f2856 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StringType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/StringType.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface StringType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/SyntaxProperties.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/SyntaxProperties.java index 8f8b06474..c51913b3a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/SyntaxProperties.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/SyntaxProperties.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface SyntaxProperties { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TargetInfo.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TargetInfo.java index 5708a397f..ae2cfcabf 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TargetInfo.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TargetInfo.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface TargetInfo { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TokenType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TokenType.java index 72b94f696..bdd2da95b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TokenType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/TokenType.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public enum TokenType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Traverse.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Traverse.java index 9b6650def..14a6c4c23 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Traverse.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/constants/Traverse.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.constants; +package org.openjdk.nashorn.internal.runtime.regexp.joni.constants; @SuppressWarnings("javadoc") public interface Traverse { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/CharacterType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/CharacterType.java index d248efe13..ff5df1156 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/CharacterType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/CharacterType.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.encoding; +package org.openjdk.nashorn.internal.runtime.regexp.joni.encoding; @SuppressWarnings("javadoc") public interface CharacterType { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java index 06fc7fb01..dc0bc1fa4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/IntHolder.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.encoding; +package org.openjdk.nashorn.internal.runtime.regexp.joni.encoding; @SuppressWarnings("javadoc") public class IntHolder { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java index 18bfa0d9c..4838911a2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.encoding; +package org.openjdk.nashorn.internal.runtime.regexp.joni.encoding; @SuppressWarnings("javadoc") public final class ObjPtr { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java index da986489c..f5839fa5f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.exception; +package org.openjdk.nashorn.internal.runtime.regexp.joni.exception; @SuppressWarnings("javadoc") public interface ErrorMessages { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/InternalException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/InternalException.java index 22642dd0c..599b724ff 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/InternalException.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/InternalException.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.exception; +package org.openjdk.nashorn.internal.runtime.regexp.joni.exception; @SuppressWarnings("javadoc") public class InternalException extends JOniException{ diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/JOniException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/JOniException.java index a3892c74d..af58dfde3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/JOniException.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/JOniException.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.exception; +package org.openjdk.nashorn.internal.runtime.regexp.joni.exception; @SuppressWarnings("javadoc") public class JOniException extends RuntimeException{ diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/SyntaxException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/SyntaxException.java index 4698ab76b..8d2b39316 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/SyntaxException.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/SyntaxException.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.exception; +package org.openjdk.nashorn.internal.runtime.regexp.joni.exception; @SuppressWarnings("javadoc") public class SyntaxException extends JOniException{ diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ValueException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ValueException.java index 75b590ec9..807082e69 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ValueException.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/exception/ValueException.java @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package jdk.nashorn.internal.runtime.regexp.joni.exception; +package org.openjdk.nashorn.internal.runtime.regexp.joni.exception; @SuppressWarnings("javadoc") public class ValueException extends SyntaxException { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js index bd511f0e0..255563279 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js @@ -49,7 +49,7 @@ function parse(/*code, [name], [location]*/) { code = arguments[0]; } - var jsonStr = Packages.jdk.nashorn.api.scripting.ScriptUtils.parse(code, name, location); + var jsonStr = Packages.org.openjdk.nashorn.api.scripting.ScriptUtils.parse(code, name, location); return JSON.parse(jsonStr, function (prop, value) { if (typeof(value) == 'string' && prop == "value") { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java index 11d6cacc4..3346b3976 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.scripts; +package org.openjdk.nashorn.internal.scripts; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Empty object class for dual primitive-object fields. @@ -63,8 +63,8 @@ public JD(final ScriptObject proto) { /** * Constructor that takes a pre-initialized spill pool. Used by - * {@link jdk.nashorn.internal.codegen.SpillObjectCreator} and - * {@link jdk.nashorn.internal.parser.JSONParser} for initializing object literals + * {@link org.openjdk.nashorn.internal.codegen.SpillObjectCreator} and + * {@link org.openjdk.nashorn.internal.parser.JSONParser} for initializing object literals * * @param map property map * @param primitiveSpill primitive spill pool diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java index 1f9aa7ca1..a12f22a69 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.scripts; +package org.openjdk.nashorn.internal.scripts; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; /** * Empty object class for object-only fields. @@ -63,8 +63,8 @@ public JO(final ScriptObject proto) { /** * Constructor that takes a pre-initialized spill pool. Used by - * {@link jdk.nashorn.internal.codegen.SpillObjectCreator} and - * {@link jdk.nashorn.internal.parser.JSONParser} for initializing object literals + * {@link org.openjdk.nashorn.internal.codegen.SpillObjectCreator} and + * {@link org.openjdk.nashorn.internal.parser.JSONParser} for initializing object literals * * @param map property map * @param primitiveSpill primitive spill pool diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JS.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JS.java index 8711d648b..c2df5031d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JS.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JS.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.scripts; +package org.openjdk.nashorn.internal.scripts; /** * Root of script classes. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/ModuleGraphManipulator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/ModuleGraphManipulator.java index 72e0be1d2..b667f5b15 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/ModuleGraphManipulator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/ModuleGraphManipulator.java @@ -23,16 +23,16 @@ * questions. */ -package jdk.nashorn.internal.scripts; +package org.openjdk.nashorn.internal.scripts; -import jdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.JSObject; /** * Nashorn's StructureLoader and ScriptLoader instances load * this class in the respective dynamic modules created. This * class is never loaded by Nashorn's own class loader. The * .class bytes of this class are loaded as resource by the - * {@link jdk.nashorn.internal.runtime.NashornLoader} class. This class + * {@link org.openjdk.nashorn.internal.runtime.NashornLoader} class. This class * exists in this package because nashorn structures and scripts * modules use this package name for the only exported package * from those modules. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/PartialParser.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/PartialParser.java index db87140c2..cc985bae0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/PartialParser.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/PartialParser.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.tools; +package org.openjdk.nashorn.tools; -import jdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Context; /** * Partial parsing support for code completion of expressions. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/Shell.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/Shell.java index 9722ac133..dde732f24 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/Shell.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/Shell.java @@ -23,30 +23,30 @@ * questions. */ -package jdk.nashorn.tools; - -import jdk.nashorn.api.scripting.NashornException; -import jdk.nashorn.internal.codegen.Compiler; -import jdk.nashorn.internal.codegen.Compiler.CompilationPhases; -import jdk.nashorn.internal.ir.Expression; -import jdk.nashorn.internal.ir.FunctionNode; -import jdk.nashorn.internal.ir.debug.ASTWriter; -import jdk.nashorn.internal.ir.debug.PrintVisitor; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.objects.NativeSymbol; -import jdk.nashorn.internal.parser.Parser; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.Property; -import jdk.nashorn.internal.runtime.ScriptEnvironment; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.ScriptingFunctions; -import jdk.nashorn.internal.runtime.Symbol; -import jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; -import jdk.nashorn.internal.runtime.options.Options; +package org.openjdk.nashorn.tools; + +import org.openjdk.nashorn.api.scripting.NashornException; +import org.openjdk.nashorn.internal.codegen.Compiler; +import org.openjdk.nashorn.internal.codegen.Compiler.CompilationPhases; +import org.openjdk.nashorn.internal.ir.Expression; +import org.openjdk.nashorn.internal.ir.FunctionNode; +import org.openjdk.nashorn.internal.ir.debug.ASTWriter; +import org.openjdk.nashorn.internal.ir.debug.PrintVisitor; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.objects.NativeSymbol; +import org.openjdk.nashorn.internal.parser.Parser; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.Property; +import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.ScriptingFunctions; +import org.openjdk.nashorn.internal.runtime.Symbol; +import org.openjdk.nashorn.internal.runtime.arrays.ArrayLikeIterator; +import org.openjdk.nashorn.internal.runtime.options.Options; import java.io.BufferedReader; import java.io.File; @@ -69,7 +69,7 @@ import java.util.Locale; import java.util.ResourceBundle; -import static jdk.nashorn.internal.runtime.Source.sourceFor; +import static org.openjdk.nashorn.internal.runtime.Source.sourceFor; /** * Command line Shell for processing JavaScript files. @@ -79,7 +79,7 @@ public class Shell implements PartialParser { /** * Resource name for properties file */ - private static final String MESSAGE_RESOURCE = "jdk.nashorn.tools.resources.Shell"; + private static final String MESSAGE_RESOURCE = "org.openjdk.nashorn.tools.resources.Shell"; /** * Shell message bundle. */ diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/ShellFunctions.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/ShellFunctions.java index 2bf0964ab..7fdd3b839 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/ShellFunctions.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/tools/ShellFunctions.java @@ -23,19 +23,19 @@ * questions. */ -package jdk.nashorn.tools; +package org.openjdk.nashorn.tools; -import static jdk.nashorn.internal.lookup.Lookup.MH; -import static jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; +import static org.openjdk.nashorn.internal.lookup.Lookup.MH; +import static org.openjdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptingFunctions; -import jdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptingFunctions; +import org.openjdk.nashorn.internal.objects.Global; /** * Global functions supported only in shell interactive mode. diff --git a/src/sample/nashorn/BufferArray.java b/src/sample/nashorn/BufferArray.java index b26b5c08e..83c1ba98d 100644 --- a/src/sample/nashorn/BufferArray.java +++ b/src/sample/nashorn/BufferArray.java @@ -30,11 +30,11 @@ */ import java.nio.DoubleBuffer; -import jdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; /** * Simple class demonstrating pluggable script object - * implementation. By implementing jdk.nashorn.api.scripting.JSObject + * implementation. By implementing org.openjdk.nashorn.api.scripting.JSObject * (or extending AbstractJSObject which implements it), you * can supply a friendly script object. Nashorn will call * 'magic' methods on such a class on 'obj.foo, obj.foo = 33, diff --git a/src/sample/nashorn/EvalWithArbitraryThis.java b/src/sample/nashorn/EvalWithArbitraryThis.java index 4b9c0c76b..83ef976d7 100644 --- a/src/sample/nashorn/EvalWithArbitraryThis.java +++ b/src/sample/nashorn/EvalWithArbitraryThis.java @@ -30,7 +30,7 @@ */ import javax.script.*; -import jdk.nashorn.api.scripting.*; +import org.openjdk.nashorn.api.scripting.*; // Simple nashorn demo that evals a script with arbitrary script // object bound as "this" for the evaluated script. diff --git a/src/sample/nashorn/breakcontinue_in_tryfinally.js b/src/sample/nashorn/breakcontinue_in_tryfinally.js index 06c0bce38..3fafd1a5b 100644 --- a/src/sample/nashorn/breakcontinue_in_tryfinally.js +++ b/src/sample/nashorn/breakcontinue_in_tryfinally.js @@ -45,8 +45,8 @@ if (!file.exists()) { } var Files = Java.type("java.nio.file.Files"); -var Parser = Java.type("jdk.nashorn.api.tree.Parser"); -var SimpleTreeVisitor = Java.type("jdk.nashorn.api.tree.SimpleTreeVisitorES5_1"); +var Parser = Java.type("org.openjdk.nashorn.api.tree.Parser"); +var SimpleTreeVisitor = Java.type("org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1"); var parser = Parser.create("-scripting", "--const-as-var"); diff --git a/src/sample/nashorn/engine/foreignobject.js b/src/sample/nashorn/engine/foreignobject.js index 930c3e853..b0d447bf8 100644 --- a/src/sample/nashorn/engine/foreignobject.js +++ b/src/sample/nashorn/engine/foreignobject.js @@ -51,7 +51,7 @@ engine.eval(< 28 and it is 1 arr2 = [0] diff --git a/test/nashorn/script/basic/JDK-8043930.js b/test/nashorn/script/basic/JDK-8043930.js index a7c93f428..656abdb9e 100644 --- a/test/nashorn/script/basic/JDK-8043930.js +++ b/test/nashorn/script/basic/JDK-8043930.js @@ -28,7 +28,7 @@ * @run */ -var NonPublicClass = Java.type("jdk.nashorn.test.models.NonPublicClass"); +var NonPublicClass = Java.type("org.openjdk.nashorn.test.models.NonPublicClass"); try { var obj = new NonPublicClass(); fail("Expected TypeError to be thrown!"); diff --git a/test/nashorn/script/basic/JDK-8043930.js.EXPECTED b/test/nashorn/script/basic/JDK-8043930.js.EXPECTED index ee5cf9dc8..b57e472aa 100644 --- a/test/nashorn/script/basic/JDK-8043930.js.EXPECTED +++ b/test/nashorn/script/basic/JDK-8043930.js.EXPECTED @@ -1 +1 @@ -TypeError: new cannot be used with non-public java type jdk.nashorn.test.models.NonPublicClass. +TypeError: new cannot be used with non-public java type org.openjdk.nashorn.test.models.NonPublicClass. diff --git a/test/nashorn/script/basic/JDK-8044534.js b/test/nashorn/script/basic/JDK-8044534.js index e274328a8..b13028cb8 100644 --- a/test/nashorn/script/basic/JDK-8044534.js +++ b/test/nashorn/script/basic/JDK-8044534.js @@ -28,7 +28,7 @@ * @run */ -var inspect = Java.type("jdk.nashorn.test.tools.StaticTypeInspector").inspect; +var inspect = Java.type("org.openjdk.nashorn.test.tools.StaticTypeInspector").inspect; print(inspect(+true, "+true ")); print(inspect(+false, "+false")); diff --git a/test/nashorn/script/basic/JDK-8049086.js b/test/nashorn/script/basic/JDK-8049086.js index 7dd7ac481..9c6f04161 100644 --- a/test/nashorn/script/basic/JDK-8049086.js +++ b/test/nashorn/script/basic/JDK-8049086.js @@ -65,7 +65,7 @@ print("eval is java function? " + Java.isJavaFunction(eval)); print("println is java function? " + Java.isJavaFunction(println)); print("getProperty is java function? " + Java.isJavaFunction(getProperty)); -var JSObject = Java.type("jdk.nashorn.api.scripting.JSObject"); +var JSObject = Java.type("org.openjdk.nashorn.api.scripting.JSObject"); print("callable JSObject is function? " + Java.isJavaFunction(new JSObject() { isFunction: function() true, diff --git a/test/nashorn/script/basic/JDK-8056978.js b/test/nashorn/script/basic/JDK-8056978.js index 1b3577d4c..3fa9a3b1c 100644 --- a/test/nashorn/script/basic/JDK-8056978.js +++ b/test/nashorn/script/basic/JDK-8056978.js @@ -22,7 +22,7 @@ */ /** - * JDK-8056978: ClassCastException: cannot cast jdk.nashorn.internal.scripts.JO* + * JDK-8056978: ClassCastException: cannot cast org.openjdk.nashorn.internal.scripts.JO* * * @test * @run diff --git a/test/nashorn/script/basic/JDK-8059443.js b/test/nashorn/script/basic/JDK-8059443.js index acd0482b3..0586b54fa 100644 --- a/test/nashorn/script/basic/JDK-8059443.js +++ b/test/nashorn/script/basic/JDK-8059443.js @@ -31,7 +31,7 @@ * @run */ -var NullProvider = Java.type("jdk.nashorn.test.models.NullProvider"); +var NullProvider = Java.type("org.openjdk.nashorn.test.models.NullProvider"); try { if (!NullProvider.getBoolean()) { print("yay"); } diff --git a/test/nashorn/script/basic/JDK-8062799.js b/test/nashorn/script/basic/JDK-8062799.js index 99603327a..362037e18 100644 --- a/test/nashorn/script/basic/JDK-8062799.js +++ b/test/nashorn/script/basic/JDK-8062799.js @@ -29,7 +29,7 @@ */ (function() { - var inspect = Java.type("jdk.nashorn.test.tools.StaticTypeInspector").inspect; + var inspect = Java.type("org.openjdk.nashorn.test.tools.StaticTypeInspector").inspect; var b = true; var i = 1; diff --git a/test/nashorn/script/basic/JDK-8068573.js b/test/nashorn/script/basic/JDK-8068573.js index ad416b1a8..0fbf541ab 100644 --- a/test/nashorn/script/basic/JDK-8068573.js +++ b/test/nashorn/script/basic/JDK-8068573.js @@ -29,14 +29,14 @@ */ // Invoke a setter using []. It's important that the setter returns void. -var pb = new (Java.type("jdk.nashorn.test.models.PropertyBind")) +var pb = new (Java.type("org.openjdk.nashorn.test.models.PropertyBind")) var n = "writeOnly"; pb[n] = 2; Assert.assertEquals(pb.peekWriteOnly(), 2); // Invoke an overloaded setter using []. It's important that one of the // overloads returns void. -var os = new (Java.type("jdk.nashorn.test.models.OverloadedSetter")) +var os = new (Java.type("org.openjdk.nashorn.test.models.OverloadedSetter")) var n2 = "color"; os[n2] = 3; // exercise int overload Assert.assertEquals(os.peekColor(), "3"); diff --git a/test/nashorn/script/basic/JDK-8068580.js b/test/nashorn/script/basic/JDK-8068580.js index 0394dea45..3c021f14b 100644 --- a/test/nashorn/script/basic/JDK-8068580.js +++ b/test/nashorn/script/basic/JDK-8068580.js @@ -28,12 +28,12 @@ * @run */ -var BigAbstract = Java.type("jdk.nashorn.test.models.BigAbstract") +var BigAbstract = Java.type("org.openjdk.nashorn.test.models.BigAbstract") try { new BigAbstract({}); } catch (e) { Assert.assertTrue(e instanceof TypeError); - Assert.assertEquals(e.message, "Can not extend/implement [class jdk.nashorn.test.models.BigAbstract] because of java.lang.RuntimeException: Method code too large!"); + Assert.assertEquals(e.message, "Can not extend/implement [class org.openjdk.nashorn.test.models.BigAbstract] because of java.lang.RuntimeException: Method code too large!"); } try { BigAbstract.accept(function() { }); diff --git a/test/nashorn/script/basic/JDK-8068903.js b/test/nashorn/script/basic/JDK-8068903.js index 8209bbbea..aa921b262 100644 --- a/test/nashorn/script/basic/JDK-8068903.js +++ b/test/nashorn/script/basic/JDK-8068903.js @@ -28,7 +28,7 @@ * @run */ -var vc = new (Java.type("jdk.nashorn.test.models.VarArgConsumer"))( +var vc = new (Java.type("org.openjdk.nashorn.test.models.VarArgConsumer"))( function(x) { Assert.assertTrue(x.length == 3); Assert.assertTrue(x[0] == 1); diff --git a/test/nashorn/script/basic/JDK-8072426.js b/test/nashorn/script/basic/JDK-8072426.js index 03846a1ab..de607faed 100644 --- a/test/nashorn/script/basic/JDK-8072426.js +++ b/test/nashorn/script/basic/JDK-8072426.js @@ -30,7 +30,7 @@ Assert.assertTrue(java.math.RoundingMode.UP == "UP"); -var JSObject = Java.type("jdk.nashorn.api.scripting.JSObject"); +var JSObject = Java.type("org.openjdk.nashorn.api.scripting.JSObject"); // Adds an "isFunction" member to the JSObject that returns the specified value function addIsFunction(isFunction, obj) { diff --git a/test/nashorn/script/basic/JDK-8072596.js b/test/nashorn/script/basic/JDK-8072596.js index 878824d7a..4606eca27 100644 --- a/test/nashorn/script/basic/JDK-8072596.js +++ b/test/nashorn/script/basic/JDK-8072596.js @@ -34,7 +34,7 @@ Assert.assertEquals(arr.length, 2); Assert.assertEquals(arr[0], "hello"); Assert.assertEquals(arr[1], "world"); -var Jdk8072596TestSubject = Java.type("jdk.nashorn.test.models.Jdk8072596TestSubject"); +var Jdk8072596TestSubject = Java.type("org.openjdk.nashorn.test.models.Jdk8072596TestSubject"); var testSubject = new Jdk8072596TestSubject({bar: 0}); testSubject.test1(true, {foo: 1}, {bar: 2}); testSubject.test2(true, {foo: 1}, {bar: 2}, {baz: 3}, {bing: 4}); diff --git a/test/nashorn/script/basic/JDK-8075207.js b/test/nashorn/script/basic/JDK-8075207.js index 168345d9d..aa320235f 100644 --- a/test/nashorn/script/basic/JDK-8075207.js +++ b/test/nashorn/script/basic/JDK-8075207.js @@ -29,10 +29,10 @@ * @run */ -var Parser = Java.type("jdk.nashorn.api.tree.Parser"); -var ExpressionStatementTree = Java.type("jdk.nashorn.api.tree.ExpressionStatementTree"); -var FunctionDeclarationTree = Java.type("jdk.nashorn.api.tree.FunctionDeclarationTree"); -var VariableTree = Java.type("jdk.nashorn.api.tree.VariableTree"); +var Parser = Java.type("org.openjdk.nashorn.api.tree.Parser"); +var ExpressionStatementTree = Java.type("org.openjdk.nashorn.api.tree.ExpressionStatementTree"); +var FunctionDeclarationTree = Java.type("org.openjdk.nashorn.api.tree.FunctionDeclarationTree"); +var VariableTree = Java.type("org.openjdk.nashorn.api.tree.VariableTree"); var parser = Parser.create(); diff --git a/test/nashorn/script/basic/JDK-8075448.js b/test/nashorn/script/basic/JDK-8075448.js index ec6cb6f11..e25d4055b 100644 --- a/test/nashorn/script/basic/JDK-8075448.js +++ b/test/nashorn/script/basic/JDK-8075448.js @@ -30,9 +30,9 @@ * @run */ -var Parser = Java.type("jdk.nashorn.api.tree.Parser"); -var ForLoopTree = Java.type("jdk.nashorn.api.tree.ForLoopTree"); -var VariableTree = Java.type("jdk.nashorn.api.tree.VariableTree"); +var Parser = Java.type("org.openjdk.nashorn.api.tree.Parser"); +var ForLoopTree = Java.type("org.openjdk.nashorn.api.tree.ForLoopTree"); +var VariableTree = Java.type("org.openjdk.nashorn.api.tree.VariableTree"); var parser = Parser.create(); var code = <", source); diff --git a/test/nashorn/script/trusted/JDK-8008305.js b/test/nashorn/script/trusted/JDK-8008305.js index d75561b46..7bdd84562 100644 --- a/test/nashorn/script/trusted/JDK-8008305.js +++ b/test/nashorn/script/trusted/JDK-8008305.js @@ -27,7 +27,7 @@ * @run */ -var URLReader = Java.type("jdk.nashorn.api.scripting.URLReader"); +var URLReader = Java.type("org.openjdk.nashorn.api.scripting.URLReader"); var File = Java.type("java.io.File"); var FileReader = Java.type("java.io.FileReader"); var ScriptEngineManager = Java.type("javax.script.ScriptEngineManager"); diff --git a/test/nashorn/script/trusted/JDK-8021129.js b/test/nashorn/script/trusted/JDK-8021129.js index 47ad5d427..b55c48d39 100644 --- a/test/nashorn/script/trusted/JDK-8021129.js +++ b/test/nashorn/script/trusted/JDK-8021129.js @@ -30,7 +30,7 @@ * @run */ -var InternalRunnableSuperclass = Java.type("jdk.nashorn.test.models.InternalRunnableSuperclass"); +var InternalRunnableSuperclass = Java.type("org.openjdk.nashorn.test.models.InternalRunnableSuperclass"); var r1 = InternalRunnableSuperclass.makeInternalRunnable(); r1.run() // Can execute method from an implemented non-restricted interface print(r1.toString()) // Can execute public method from a superclass diff --git a/test/nashorn/script/trusted/JDK-8021189.js b/test/nashorn/script/trusted/JDK-8021189.js index c4c93cb9e..f7afd1a6b 100644 --- a/test/nashorn/script/trusted/JDK-8021189.js +++ b/test/nashorn/script/trusted/JDK-8021189.js @@ -27,7 +27,7 @@ * @test * @run */ -var InternalRunnableSuperclass = Java.type("jdk.nashorn.test.models.InternalRunnableSuperclass"); +var InternalRunnableSuperclass = Java.type("org.openjdk.nashorn.test.models.InternalRunnableSuperclass"); try { new (InternalRunnableSuperclass.getInternalRunnableType())(); } catch(e) { diff --git a/test/nashorn/script/trusted/JDK-8021189.js.EXPECTED b/test/nashorn/script/trusted/JDK-8021189.js.EXPECTED index 846a562c8..8aa5d69ca 100644 --- a/test/nashorn/script/trusted/JDK-8021189.js.EXPECTED +++ b/test/nashorn/script/trusted/JDK-8021189.js.EXPECTED @@ -1 +1 @@ -java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.jdk.nashorn.internal.test.models") +java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.org.openjdk.nashorn.internal.test.models") diff --git a/test/nashorn/script/trusted/JDK-8200215.js b/test/nashorn/script/trusted/JDK-8200215.js index 82f66dea2..5e3f9885f 100644 --- a/test/nashorn/script/trusted/JDK-8200215.js +++ b/test/nashorn/script/trusted/JDK-8200215.js @@ -28,7 +28,7 @@ * @run */ -var NashornScriptEngineFactory = Java.type("jdk.nashorn.api.scripting.NashornScriptEngineFactory"); +var NashornScriptEngineFactory = Java.type("org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory"); var factory = new NashornScriptEngineFactory(); var engine = factory.getScriptEngine("-strict", "--language=es6"); var bindings = engine.createBindings(); diff --git a/test/nashorn/script/trusted/NASHORN-638.js b/test/nashorn/script/trusted/NASHORN-638.js index 0bd5d41f9..d761fd4cb 100644 --- a/test/nashorn/script/trusted/NASHORN-638.js +++ b/test/nashorn/script/trusted/NASHORN-638.js @@ -35,7 +35,7 @@ function runScriptEngine(opts, code) { var imports = new JavaImporter( - Packages.jdk.nashorn.api.scripting, + Packages.org.openjdk.nashorn.api.scripting, java.io, java.lang, java.util); with(imports) { diff --git a/test/nashorn/script/trusted/NASHORN-653.js b/test/nashorn/script/trusted/NASHORN-653.js index b6d9a544c..3f486fc2a 100644 --- a/test/nashorn/script/trusted/NASHORN-653.js +++ b/test/nashorn/script/trusted/NASHORN-653.js @@ -73,7 +73,7 @@ function g() { \ function runScriptEngine(opts, code) { var imports = new JavaImporter( - Packages.jdk.nashorn.api.scripting, + Packages.org.openjdk.nashorn.api.scripting, java.io, java.lang, java.util); with(imports) { diff --git a/test/nashorn/script/trusted/classfilter.js b/test/nashorn/script/trusted/classfilter.js index a50e4a2c1..34df84087 100644 --- a/test/nashorn/script/trusted/classfilter.js +++ b/test/nashorn/script/trusted/classfilter.js @@ -28,7 +28,7 @@ * @run */ -var NashornScriptEngineFactory = Java.type("jdk.nashorn.api.scripting.NashornScriptEngineFactory"); +var NashornScriptEngineFactory = Java.type("org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory"); var fac = new NashornScriptEngineFactory(); // allow only "java.*" classes to be accessed diff --git a/test/nashorn/script/trusted/classfilter_extends.js b/test/nashorn/script/trusted/classfilter_extends.js index e721b3a10..e90eb4515 100644 --- a/test/nashorn/script/trusted/classfilter_extends.js +++ b/test/nashorn/script/trusted/classfilter_extends.js @@ -27,7 +27,7 @@ * @run */ -var factory = Java.type('jdk.nashorn.api.scripting.NashornScriptEngineFactory') +var factory = Java.type('org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory') var engine = new factory().getScriptEngine(function(str){ return str.indexOf('java.lang.Class') != -1 || str == 'java.lang.System' diff --git a/test/nashorn/script/trusted/classfilter_extends.js.EXPECTED b/test/nashorn/script/trusted/classfilter_extends.js.EXPECTED index 884e95abc..b122020d2 100644 --- a/test/nashorn/script/trusted/classfilter_extends.js.EXPECTED +++ b/test/nashorn/script/trusted/classfilter_extends.js.EXPECTED @@ -6,9 +6,9 @@ java.lang.ClassNotFoundException: java.lang.String [JavaClass java.util.ArrayList] [JavaClass java.lang.String] [JavaPackage java.lang.String] -[JavaClass jdk.nashorn.javaadapters.java_util_ArrayList] -[JavaClass jdk.nashorn.javaadapters.java_util_ArrayList] -[JavaClass jdk.nashorn.javaadapters.java_io_File] +[JavaClass org.openjdk.nashorn.javaadapters.java_util_ArrayList] +[JavaClass org.openjdk.nashorn.javaadapters.java_util_ArrayList] +[JavaClass org.openjdk.nashorn.javaadapters.java_io_File] TypeError: Java.extend needs Java types as its arguments. in at line number 1 java.lang.NullPointerException java.lang.ClassNotFoundException: java.lang.NullPointerException diff --git a/test/nashorn/script/trusted/classfilter_mozilla_compat.js b/test/nashorn/script/trusted/classfilter_mozilla_compat.js index cb05a3d7c..28fd55758 100644 --- a/test/nashorn/script/trusted/classfilter_mozilla_compat.js +++ b/test/nashorn/script/trusted/classfilter_mozilla_compat.js @@ -27,7 +27,7 @@ * @run */ -var factory = Java.type('jdk.nashorn.api.scripting.NashornScriptEngineFactory') +var factory = Java.type('org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory') var engine = new factory().getScriptEngine(function(str){ return str.indexOf('java.util') != -1; }) diff --git a/test/nashorn/script/trusted/classfilter_mozilla_compat.js.EXPECTED b/test/nashorn/script/trusted/classfilter_mozilla_compat.js.EXPECTED index 19db7152c..9c6e17208 100644 --- a/test/nashorn/script/trusted/classfilter_mozilla_compat.js.EXPECTED +++ b/test/nashorn/script/trusted/classfilter_mozilla_compat.js.EXPECTED @@ -1,7 +1,7 @@ -class jdk.nashorn.javaadapters.javax_script_ScriptContext +class org.openjdk.nashorn.javaadapters.javax_script_ScriptContext TypeError: Java.extend needs at least one type argument. in nashorn:mozilla_compat.js at line number 41 -class jdk.nashorn.javaadapters.java_util_ArrayList -class jdk.nashorn.javaadapters.java_util_ArrayList +class org.openjdk.nashorn.javaadapters.java_util_ArrayList +class org.openjdk.nashorn.javaadapters.java_util_ArrayList [JavaClass java.lang.Integer] TypeError: [object JavaPackage] is not a Java class in nashorn:mozilla_compat.js at line number 375 at column number 16 [JavaClass java.util.HashSet] diff --git a/test/nashorn/script/trusted/event_queue.js b/test/nashorn/script/trusted/event_queue.js index 158434161..16dbdf67a 100644 --- a/test/nashorn/script/trusted/event_queue.js +++ b/test/nashorn/script/trusted/event_queue.js @@ -36,15 +36,15 @@ print(Debug); print(); -var Reflector = Java.type("jdk.nashorn.test.models.Reflector"); +var Reflector = Java.type("org.openjdk.nashorn.test.models.Reflector"); var forName = java.lang.Class["forName(String)"]; -var RuntimeEvent = forName("jdk.nashorn.internal.runtime.events.RuntimeEvent").static; +var RuntimeEvent = forName("org.openjdk.nashorn.internal.runtime.events.RuntimeEvent").static; var getValue = RuntimeEvent.class.getMethod("getValue"); var getValueClass = RuntimeEvent.class.getMethod("getValueClass"); print(RuntimeEvent); -var RewriteException = forName("jdk.nashorn.internal.runtime.RewriteException").static; +var RewriteException = forName("org.openjdk.nashorn.internal.runtime.RewriteException").static; var getReturnType = RewriteException.class.getMethod("getReturnType"); print(RewriteException); diff --git a/test/nashorn/script/trusted/event_queue.js.EXPECTED b/test/nashorn/script/trusted/event_queue.js.EXPECTED index d4eb7299e..47aac4ef0 100644 --- a/test/nashorn/script/trusted/event_queue.js.EXPECTED +++ b/test/nashorn/script/trusted/event_queue.js.EXPECTED @@ -1,7 +1,7 @@ [object Debug] -[JavaClass jdk.nashorn.internal.runtime.events.RuntimeEvent] -[JavaClass jdk.nashorn.internal.runtime.RewriteException] +[JavaClass org.openjdk.nashorn.internal.runtime.events.RuntimeEvent] +[JavaClass org.openjdk.nashorn.internal.runtime.RewriteException] 4.840000000000001 13.7 @@ -10,26 +10,26 @@ Done with 2 in the event queue events = true events.length = 2 event #0 - event class=class jdk.nashorn.internal.runtime.events.RecompilationEvent - valueClass in event=class jdk.nashorn.internal.runtime.RewriteException - class of value=class jdk.nashorn.internal.runtime.RewriteException + event class=class org.openjdk.nashorn.internal.runtime.events.RecompilationEvent + valueClass in event=class org.openjdk.nashorn.internal.runtime.RewriteException + class of value=class org.openjdk.nashorn.internal.runtime.RewriteException return type=double event #1 - event class=class jdk.nashorn.internal.runtime.events.RecompilationEvent - valueClass in event=class jdk.nashorn.internal.runtime.RewriteException - class of value=class jdk.nashorn.internal.runtime.RewriteException + event class=class org.openjdk.nashorn.internal.runtime.events.RecompilationEvent + valueClass in event=class org.openjdk.nashorn.internal.runtime.RewriteException + class of value=class org.openjdk.nashorn.internal.runtime.RewriteException return type=double -in loop last class = class jdk.nashorn.internal.runtime.events.RecompilationEvent -in loop last value class = class jdk.nashorn.internal.runtime.RewriteException -in loop rex class = class jdk.nashorn.internal.runtime.RewriteException +in loop last class = class org.openjdk.nashorn.internal.runtime.events.RecompilationEvent +in loop last value class = class org.openjdk.nashorn.internal.runtime.RewriteException +in loop rex class = class org.openjdk.nashorn.internal.runtime.RewriteException in loop rex return type = double true -last class = class jdk.nashorn.internal.runtime.events.RecompilationEvent -last value class = class jdk.nashorn.internal.runtime.RewriteException -rex class = class jdk.nashorn.internal.runtime.RewriteException +last class = class org.openjdk.nashorn.internal.runtime.events.RecompilationEvent +last value class = class org.openjdk.nashorn.internal.runtime.RewriteException +rex class = class org.openjdk.nashorn.internal.runtime.RewriteException rex return type = object 1024 diff --git a/test/nashorn/script/trusted/optimistic_recompilation.js b/test/nashorn/script/trusted/optimistic_recompilation.js index 1037133b1..7a1523978 100644 --- a/test/nashorn/script/trusted/optimistic_recompilation.js +++ b/test/nashorn/script/trusted/optimistic_recompilation.js @@ -32,13 +32,13 @@ * @run */ -var Reflector = Java.type("jdk.nashorn.test.models.Reflector"); +var Reflector = Java.type("org.openjdk.nashorn.test.models.Reflector"); var forName = java.lang.Class["forName(String)"]; -var RuntimeEvent = forName("jdk.nashorn.internal.runtime.events.RuntimeEvent").static; +var RuntimeEvent = forName("org.openjdk.nashorn.internal.runtime.events.RuntimeEvent").static; var getValue = RuntimeEvent.class.getMethod("getValue"); -var RewriteException = forName("jdk.nashorn.internal.runtime.RewriteException").static; +var RewriteException = forName("org.openjdk.nashorn.internal.runtime.RewriteException").static; var getReturnType = RewriteException.class.getMethod("getReturnType"); -var RecompilationEvent = forName("jdk.nashorn.internal.runtime.events.RecompilationEvent").static; +var RecompilationEvent = forName("org.openjdk.nashorn.internal.runtime.events.RecompilationEvent").static; var getReturnValue = RecompilationEvent.class.getMethod("getReturnValue"); var setReturnTypeAndValue = []; var expectedValues = []; diff --git a/test/nashorn/script/trusted/urlreader.js b/test/nashorn/script/trusted/urlreader.js index ca037306d..bf4477237 100644 --- a/test/nashorn/script/trusted/urlreader.js +++ b/test/nashorn/script/trusted/urlreader.js @@ -5,11 +5,11 @@ * @run */ -var URLReader = Java.type("jdk.nashorn.api.scripting.URLReader"); +var URLReader = Java.type("org.openjdk.nashorn.api.scripting.URLReader"); var URL = Java.type("java.net.URL"); var File = Java.type("java.io.File"); var JString = Java.type("java.lang.String"); -var SourceHelper = Java.type("jdk.nashorn.test.models.SourceHelper"); +var SourceHelper = Java.type("org.openjdk.nashorn.test.models.SourceHelper"); var url = new File(__FILE__).toURI().toURL(); var reader = new URLReader(url); diff --git a/test/nashorn/src/META-INF/services/java.sql.Driver b/test/nashorn/src/META-INF/services/java.sql.Driver index d1bb7d332..6f24a8d30 100644 --- a/test/nashorn/src/META-INF/services/java.sql.Driver +++ b/test/nashorn/src/META-INF/services/java.sql.Driver @@ -1 +1 @@ -jdk.nashorn.api.test.NashornSQLDriver +org.openjdk.nashorn.api.test.NashornSQLDriver diff --git a/test/nashorn/src/jdk/dynalink/beans/test/CallerSensitiveTest.java b/test/nashorn/src/jdk/dynalink/beans/test/CallerSensitiveTest.java index 68656c7d0..f5d6916ff 100644 --- a/test/nashorn/src/jdk/dynalink/beans/test/CallerSensitiveTest.java +++ b/test/nashorn/src/jdk/dynalink/beans/test/CallerSensitiveTest.java @@ -26,7 +26,7 @@ package jdk.dynalink.beans.test; import jdk.dynalink.beans.BeansLinker; -import jdk.nashorn.test.models.ClassLoaderAware; +import org.openjdk.nashorn.test.models.ClassLoaderAware; import org.testng.annotations.Test; @SuppressWarnings("javadoc") diff --git a/test/nashorn/src/jdk/dynalink/test/DynamicLinkerFactoryTest.java b/test/nashorn/src/jdk/dynalink/test/DynamicLinkerFactoryTest.java index 4199da2cd..6c2802a01 100644 --- a/test/nashorn/src/jdk/dynalink/test/DynamicLinkerFactoryTest.java +++ b/test/nashorn/src/jdk/dynalink/test/DynamicLinkerFactoryTest.java @@ -48,7 +48,7 @@ import jdk.dynalink.linker.LinkRequest; import jdk.dynalink.linker.LinkerServices; import jdk.dynalink.support.SimpleRelinkableCallSite; -import jdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; import org.testng.Assert; import org.testng.annotations.Test; diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ArrayConversionTest.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ArrayConversionTest.java index 56ed51eb1..fbe7131f5 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ArrayConversionTest.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ArrayConversionTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertFalse; @@ -42,7 +42,7 @@ /** * @test - * @run testng/othervm jdk.nashorn.api.javaaccess.test.ArrayConversionTest + * @run testng/othervm org.openjdk.nashorn.api.javaaccess.test.ArrayConversionTest */ @SuppressWarnings("javadoc") public class ArrayConversionTest { diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/BooleanAccessTest.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/BooleanAccessTest.java index 803041987..5f3f936b1 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/BooleanAccessTest.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/BooleanAccessTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertTrue; @@ -38,8 +38,8 @@ /** * @test - * @build jdk.nashorn.api.javaaccess.test.SharedObject jdk.nashorn.api.javaaccess.test.Person jdk.nashorn.api.javaaccess.test.BooleanAccessTest - * @run testng/othervm jdk.nashorn.api.javaaccess.test.BooleanAccessTest + * @build org.openjdk.nashorn.api.javaaccess.test.SharedObject org.openjdk.nashorn.api.javaaccess.test.Person org.openjdk.nashorn.api.javaaccess.test.BooleanAccessTest + * @run testng/othervm org.openjdk.nashorn.api.javaaccess.test.BooleanAccessTest */ @SuppressWarnings("javadoc") public class BooleanAccessTest { @@ -57,7 +57,7 @@ public static void setUpClass() throws ScriptException { e = m.getEngineByName("nashorn"); o = new SharedObject(); e.put("o", o); - e.eval("var SharedObject = Packages.jdk.nashorn.api.javaaccess.test.SharedObject;"); + e.eval("var SharedObject = Packages.org.openjdk.nashorn.api.javaaccess.test.SharedObject;"); } @AfterClass diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ConsStringTest.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ConsStringTest.java index 0ea533744..13fcd80cd 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ConsStringTest.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ConsStringTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; import static org.testng.AssertJUnit.assertEquals; import java.util.HashMap; @@ -33,7 +33,7 @@ import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.JSObject; import org.testng.TestNG; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; @@ -41,7 +41,7 @@ /** * @test - * @run testng jdk.nashorn.api.javaaccess.test.ConsStringTest + * @run testng org.openjdk.nashorn.api.javaaccess.test.ConsStringTest */ @SuppressWarnings("javadoc") public class ConsStringTest { diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/MethodAccessTest.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/MethodAccessTest.java index ba3460da6..9a36dcc44 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/MethodAccessTest.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/MethodAccessTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertTrue; @@ -41,8 +41,8 @@ /** * @test - * @build jdk.nashorn.api.javaaccess.test.SharedObject jdk.nashorn.api.javaaccess.test.Person jdk.nashorn.api.javaaccess.test.MethodAccessTest - * @run testng/othervm jdk.nashorn.api.javaaccess.test.MethodAccessTest + * @build org.openjdk.nashorn.api.javaaccess.test.SharedObject org.openjdk.nashorn.api.javaaccess.test.Person org.openjdk.nashorn.api.javaaccess.test.MethodAccessTest + * @run testng/othervm org.openjdk.nashorn.api.javaaccess.test.MethodAccessTest */ @SuppressWarnings("javadoc") public class MethodAccessTest { @@ -61,8 +61,8 @@ public static void setUpClass() throws ScriptException { o = new SharedObject(); o.setEngine(e); e.put("o", o); - e.eval("var SharedObject = Packages.jdk.nashorn.api.javaaccess.test.SharedObject;"); - e.eval("var Person = Packages.jdk.nashorn.api.javaaccess.test.Person;"); + e.eval("var SharedObject = Packages.org.openjdk.nashorn.api.javaaccess.test.SharedObject;"); + e.eval("var Person = Packages.org.openjdk.nashorn.api.javaaccess.test.Person;"); } @AfterClass @@ -338,13 +338,13 @@ public void accessMethodObjectArray() throws ScriptException { @Test public void accessDefaultConstructor() throws ScriptException { - e.eval("var dc = new Packages.jdk.nashorn.api.javaaccess.test.Person()"); + e.eval("var dc = new Packages.org.openjdk.nashorn.api.javaaccess.test.Person()"); assertEquals(new Person(), e.get("dc")); } @Test public void accessCustomConstructor() throws ScriptException { - e.eval("var cc = new Packages.jdk.nashorn.api.javaaccess.test.Person(17)"); + e.eval("var cc = new Packages.org.openjdk.nashorn.api.javaaccess.test.Person(17)"); assertEquals(new Person(17), e.get("cc")); } diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberAccessTest.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberAccessTest.java index f64e79b02..d91445c61 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberAccessTest.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberAccessTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertTrue; @@ -38,8 +38,8 @@ /** * @test - * @build jdk.nashorn.api.javaaccess.test.SharedObject jdk.nashorn.api.javaaccess.test.Person jdk.nashorn.api.javaaccess.test.NumberAccessTest - * @run testng/othervm jdk.nashorn.api.javaaccess.test.NumberAccessTest + * @build org.openjdk.nashorn.api.javaaccess.test.SharedObject org.openjdk.nashorn.api.javaaccess.test.Person org.openjdk.nashorn.api.javaaccess.test.NumberAccessTest + * @run testng/othervm org.openjdk.nashorn.api.javaaccess.test.NumberAccessTest */ @SuppressWarnings("javadoc") public class NumberAccessTest { @@ -57,7 +57,7 @@ public static void setUpClass() throws ScriptException { e = m.getEngineByName("nashorn"); o = new SharedObject(); e.put("o", o); - e.eval("var SharedObject = Packages.jdk.nashorn.api.javaaccess.test.SharedObject;"); + e.eval("var SharedObject = Packages.org.openjdk.nashorn.api.javaaccess.test.SharedObject;"); } @AfterClass diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberBoxingTest.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberBoxingTest.java index 4a6f3e2c9..88ea89c9b 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberBoxingTest.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberBoxingTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertTrue; @@ -37,8 +37,8 @@ /** * @test - * @build jdk.nashorn.api.javaaccess.test.SharedObject jdk.nashorn.api.javaaccess.test.Person jdk.nashorn.api.javaaccess.test.NumberBoxingTest - * @run testng/othervm jdk.nashorn.api.javaaccess.test.NumberBoxingTest + * @build org.openjdk.nashorn.api.javaaccess.test.SharedObject org.openjdk.nashorn.api.javaaccess.test.Person org.openjdk.nashorn.api.javaaccess.test.NumberBoxingTest + * @run testng/othervm org.openjdk.nashorn.api.javaaccess.test.NumberBoxingTest */ @SuppressWarnings("javadoc") public class NumberBoxingTest { @@ -56,7 +56,7 @@ public static void setUpClass() throws ScriptException { e = m.getEngineByName("nashorn"); o = new SharedObject(); e.put("o", o); - e.eval("var SharedObject = Packages.jdk.nashorn.api.javaaccess.test.SharedObject;"); + e.eval("var SharedObject = Packages.org.openjdk.nashorn.api.javaaccess.test.SharedObject;"); } @AfterClass diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ObjectAccessTest.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ObjectAccessTest.java index 80a325e4c..f3b5fffa6 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ObjectAccessTest.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ObjectAccessTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; import static org.testng.AssertJUnit.assertEquals; import static org.testng.internal.junit.ArrayAsserts.assertArrayEquals; @@ -37,8 +37,8 @@ /** * @test - * @build jdk.nashorn.api.javaaccess.test.SharedObject jdk.nashorn.api.javaaccess.test.Person jdk.nashorn.api.javaaccess.test.ObjectAccessTest - * @run testng/othervm jdk.nashorn.api.javaaccess.test.ObjectAccessTest + * @build org.openjdk.nashorn.api.javaaccess.test.SharedObject org.openjdk.nashorn.api.javaaccess.test.Person org.openjdk.nashorn.api.javaaccess.test.ObjectAccessTest + * @run testng/othervm org.openjdk.nashorn.api.javaaccess.test.ObjectAccessTest */ @SuppressWarnings("javadoc") public class ObjectAccessTest { @@ -56,8 +56,8 @@ public static void setUpClass() throws ScriptException { e = m.getEngineByName("nashorn"); o = new SharedObject(); e.put("o", o); - e.eval("var SharedObject = Packages.jdk.nashorn.api.javaaccess.test.SharedObject;"); - e.eval("var Person = Packages.jdk.nashorn.api.javaaccess.test.Person;"); + e.eval("var SharedObject = Packages.org.openjdk.nashorn.api.javaaccess.test.SharedObject;"); + e.eval("var Person = Packages.org.openjdk.nashorn.api.javaaccess.test.Person;"); } @AfterClass @@ -80,7 +80,7 @@ public void accessFieldObjectArray() throws ScriptException { e.eval("var p_object_array = o.publicObjectArray;"); assertEquals(o.publicObjectArray[0], e.eval("o.publicObjectArray[0]")); assertArrayEquals(o.publicObjectArray, (Object[])e.get("p_object_array")); - e.eval("var t_object_arr = new (Java.type(\"jdk.nashorn.api.javaaccess.test.Person[]\"))(3);" + + e.eval("var t_object_arr = new (Java.type(\"org.openjdk.nashorn.api.javaaccess.test.Person[]\"))(3);" + "t_object_arr[0] = new Person(100);" + "t_object_arr[1] = new Person(120);" + "t_object_arr[2] = new Person(140);" + @@ -104,7 +104,7 @@ public void accessStaticFieldObjectArray() throws ScriptException { e.eval("var ps_object_array = SharedObject.publicStaticObjectArray;"); assertEquals(SharedObject.publicStaticObjectArray[0], e.eval("SharedObject.publicStaticObjectArray[0]")); assertArrayEquals(SharedObject.publicStaticObjectArray, (Object[])e.get("ps_object_array")); - e.eval("var ts_object_arr = new (Java.type(\"jdk.nashorn.api.javaaccess.test.Person[]\"))(3);" + + e.eval("var ts_object_arr = new (Java.type(\"org.openjdk.nashorn.api.javaaccess.test.Person[]\"))(3);" + "ts_object_arr[0] = new Person(100);" + "ts_object_arr[1] = new Person(120);" + "ts_object_arr[2] = new Person(140);" + @@ -128,7 +128,7 @@ public void accessFinalFieldObjectArray() throws ScriptException { e.eval("var pf_object_array = o.publicFinalObjectArray;"); assertEquals(o.publicFinalObjectArray[0], e.eval("o.publicFinalObjectArray[0]")); assertArrayEquals(o.publicFinalObjectArray, (Object[])e.get("pf_object_array")); - e.eval("var tf_object_arr = new (Java.type(\"jdk.nashorn.api.javaaccess.test.Person[]\"))(3);" + + e.eval("var tf_object_arr = new (Java.type(\"org.openjdk.nashorn.api.javaaccess.test.Person[]\"))(3);" + "tf_object_arr[0] = new Person(100);" + "tf_object_arr[1] = new Person(120);" + "tf_object_arr[2] = new Person(140);" + @@ -152,7 +152,7 @@ public void accessStaticFinalFieldObjectArray() throws ScriptException { e.eval("var psf_object_array = SharedObject.publicStaticFinalObjectArray;"); assertEquals(SharedObject.publicStaticFinalObjectArray[0], e.eval("SharedObject.publicStaticFinalObjectArray[0]")); assertArrayEquals(SharedObject.publicStaticFinalObjectArray, (Object[])e.get("psf_object_array")); - e.eval("var tsf_object_arr = new (Java.type(\"jdk.nashorn.api.javaaccess.test.Person[]\"))(3);" + + e.eval("var tsf_object_arr = new (Java.type(\"org.openjdk.nashorn.api.javaaccess.test.Person[]\"))(3);" + "tsf_object_arr[0] = new Person(100);" + "tsf_object_arr[1] = new Person(120);" + "tsf_object_arr[2] = new Person(140);" + diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/Person.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/Person.java index 3e563b111..77fd116ad 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/Person.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/Person.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; @SuppressWarnings("javadoc") public class Person { diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/SharedObject.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/SharedObject.java index d47b6f2e0..7635b6e92 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/SharedObject.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/SharedObject.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; import javax.script.Invocable; import javax.script.ScriptEngine; diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/StringAccessTest.java b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/StringAccessTest.java index 909ddb48a..8781d1516 100644 --- a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/StringAccessTest.java +++ b/test/nashorn/src/jdk/nashorn/api/javaaccess/test/StringAccessTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.javaaccess.test; +package org.openjdk.nashorn.api.javaaccess.test; import static org.testng.AssertJUnit.assertEquals; import static org.testng.internal.junit.ArrayAsserts.assertArrayEquals; @@ -37,8 +37,8 @@ /** * @test - * @build jdk.nashorn.api.javaaccess.test.SharedObject jdk.nashorn.api.javaaccess.test.Person jdk.nashorn.api.javaaccess.test.StringAccessTest - * @run testng/othervm jdk.nashorn.api.javaaccess.test.StringAccessTest + * @build org.openjdk.nashorn.api.javaaccess.test.SharedObject org.openjdk.nashorn.api.javaaccess.test.Person org.openjdk.nashorn.api.javaaccess.test.StringAccessTest + * @run testng/othervm org.openjdk.nashorn.api.javaaccess.test.StringAccessTest */ @SuppressWarnings("javadoc") public class StringAccessTest { @@ -56,7 +56,7 @@ public static void setUpClass() throws ScriptException { e = m.getEngineByName("nashorn"); o = new SharedObject(); e.put("o", o); - e.eval("var SharedObject = Packages.jdk.nashorn.api.javaaccess.test.SharedObject;"); + e.eval("var SharedObject = Packages.org.openjdk.nashorn.api.javaaccess.test.SharedObject;"); } @AfterClass diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/InvocableTest.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/InvocableTest.java index 4a84632ea..5dce23647 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/InvocableTest.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/InvocableTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.fail; @@ -42,8 +42,8 @@ * Tests for javax.script.Invocable implementation of nashorn. * * @test - * @build jdk.nashorn.api.scripting.test.VariableArityTestInterface jdk.nashorn.api.scripting.test.InvocableTest - * @run testng jdk.nashorn.api.scripting.test.InvocableTest + * @build org.openjdk.nashorn.api.scripting.test.VariableArityTestInterface org.openjdk.nashorn.api.scripting.test.InvocableTest + * @run testng org.openjdk.nashorn.api.scripting.test.InvocableTest */ @SuppressWarnings("javadoc") public class InvocableTest { diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8068741_Test.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8068741_Test.java index 4bfab53ac..77d8ef72f 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8068741_Test.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8068741_Test.java @@ -23,16 +23,16 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import javax.script.ScriptEngineFactory; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import org.testng.Assert; import org.testng.annotations.Test; /** * @test - * @run testng jdk.nashorn.api.scripting.test.JDK_8068741_Test + * @run testng org.openjdk.nashorn.api.scripting.test.JDK_8068741_Test * @bug 8068741 * @summary javax.script.ScriptEngineFactory.getMethodCallSyntax() spec allows null passed as an object */ diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8148140_Test.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8148140_Test.java index 3003fc078..bea6f806b 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8148140_Test.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8148140_Test.java @@ -22,13 +22,13 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import java.util.Arrays; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8169050_Test.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8169050_Test.java index 357b7c449..8375f31e2 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8169050_Test.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8169050_Test.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8182996_Test.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8182996_Test.java index e4c55d52a..bcb0082d7 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8182996_Test.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8182996_Test.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JSONCompatibleTest.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/JSONCompatibleTest.java index 832d7e34e..a8e6ba7e8 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/JSONCompatibleTest.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/JSONCompatibleTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertTrue; @@ -33,15 +33,15 @@ import java.util.Map; import javax.script.ScriptEngine; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.NashornScriptEngine; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.NashornScriptEngine; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import org.testng.Assert; import org.testng.annotations.Test; /** * @test - * @run testng jdk.nashorn.api.scripting.test.JSONCompatibleTest + * @run testng org.openjdk.nashorn.api.scripting.test.JSONCompatibleTest */ public class JSONCompatibleTest { diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/MultipleEngineTest.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/MultipleEngineTest.java index 76982faef..4aa86a801 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/MultipleEngineTest.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/MultipleEngineTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; @@ -35,7 +35,7 @@ * independently. * * @test - * @run testng jdk.nashorn.api.scripting.test.MultipleEngineTest + * @run testng org.openjdk.nashorn.api.scripting.test.MultipleEngineTest */ @SuppressWarnings("javadoc") public class MultipleEngineTest { diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/PluggableJSObjectTest.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/PluggableJSObjectTest.java index 4e5a8e1a2..ce8995b95 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/PluggableJSObjectTest.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/PluggableJSObjectTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; @@ -38,18 +38,18 @@ import javax.script.Invocable; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; -import jdk.nashorn.api.scripting.AbstractJSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; import org.testng.annotations.Test; /** - * Tests for pluggable external impls. of jdk.nashorn.api.scripting.JSObject. + * Tests for pluggable external impls. of org.openjdk.nashorn.api.scripting.JSObject. * * JDK-8024615: Refactor ScriptObjectMirror and JSObject to support external * JSObject implementations. * * @test - * @run testng jdk.nashorn.api.scripting.test.PluggableJSObjectTest + * @run testng org.openjdk.nashorn.api.scripting.test.PluggableJSObjectTest */ @SuppressWarnings("javadoc") public class PluggableJSObjectTest { diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScopeTest.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/ScopeTest.java index dcff59f88..d17388364 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScopeTest.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/ScopeTest.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotNull; @@ -40,9 +40,9 @@ import javax.script.ScriptException; import javax.script.SimpleBindings; import javax.script.SimpleScriptContext; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.api.scripting.URLReader; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.URLReader; import org.testng.Assert; import org.testng.annotations.Test; @@ -845,7 +845,7 @@ public void megamorphicPropertyReadTest() throws ScriptException { boolean ret; // Why 16 is the upper limit of this loop? The default nashorn dynalink megamorphic threshold is 16. - // See jdk.nashorn.internal.runtime.linker.Bootstrap.NASHORN_DEFAULT_UNSTABLE_RELINK_THRESHOLD + // See org.openjdk.nashorn.internal.runtime.linker.Bootstrap.NASHORN_DEFAULT_UNSTABLE_RELINK_THRESHOLD // We do, 'eval' of the same in this loop twice. So, 16*2 = 32 times that callsite in the script // is exercised - much beyond the default megamorphic threshold. diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineSecurityTest.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineSecurityTest.java index 5d7ab1a07..caa4b2012 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineSecurityTest.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineSecurityTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import static org.testng.Assert.fail; import java.lang.reflect.InvocationHandler; @@ -32,15 +32,15 @@ import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.ClassFilter; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.ClassFilter; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import org.testng.annotations.Test; /** * jsr223 tests for security access checks. * * @test - * @run testng/othervm jdk.nashorn.api.scripting.test.ScriptEngineSecurityTest + * @run testng/othervm org.openjdk.nashorn.api.scripting.test.ScriptEngineSecurityTest */ @SuppressWarnings("javadoc") public class ScriptEngineSecurityTest { diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineTest.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineTest.java index 031df2dc8..40c527d93 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineTest.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotNull; @@ -51,15 +51,15 @@ import javax.script.ScriptEngineManager; import javax.script.ScriptException; import javax.script.SimpleScriptContext; -import jdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; import org.testng.annotations.Test; /** * Tests for JSR-223 script engine for Nashorn. * * @test - * @build jdk.nashorn.api.scripting.test.Window jdk.nashorn.api.scripting.test.WindowEventHandler jdk.nashorn.api.scripting.test.VariableArityTestInterface jdk.nashorn.api.scripting.test.ScriptEngineTest - * @run testng/othervm jdk.nashorn.api.scripting.test.ScriptEngineTest + * @build org.openjdk.nashorn.api.scripting.test.Window org.openjdk.nashorn.api.scripting.test.WindowEventHandler org.openjdk.nashorn.api.scripting.test.VariableArityTestInterface org.openjdk.nashorn.api.scripting.test.ScriptEngineTest + * @run testng/othervm org.openjdk.nashorn.api.scripting.test.ScriptEngineTest */ @SuppressWarnings("javadoc") public class ScriptEngineTest { @@ -542,7 +542,7 @@ public void scriptObjectAutoConversionTest() throws ScriptException { final ScriptEngineManager m = new ScriptEngineManager(); final ScriptEngine e = m.getEngineByName("nashorn"); e.eval("obj = { foo: 'hello' }"); - e.put("Window", e.eval("Packages.jdk.nashorn.api.scripting.test.Window")); + e.put("Window", e.eval("Packages.org.openjdk.nashorn.api.scripting.test.Window")); assertEquals(e.eval("Window.funcJSObject(obj)"), "hello"); assertEquals(e.eval("Window.funcScriptObjectMirror(obj)"), "hello"); assertEquals(e.eval("Window.funcMap(obj)"), "hello"); diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptObjectMirrorTest.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptObjectMirrorTest.java index f43c0db2f..9ec98c451 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptObjectMirrorTest.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptObjectMirrorTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; @@ -41,16 +41,16 @@ import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.AbstractJSObject; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; import org.testng.annotations.Test; /** - * Tests to check jdk.nashorn.api.scripting.ScriptObjectMirror API. + * Tests to check org.openjdk.nashorn.api.scripting.ScriptObjectMirror API. * * @test - * @run testng jdk.nashorn.api.scripting.test.ScriptObjectMirrorTest + * @run testng org.openjdk.nashorn.api.scripting.test.ScriptObjectMirrorTest */ @SuppressWarnings("javadoc") public class ScriptObjectMirrorTest { @@ -362,7 +362,7 @@ public void mirrorUnwrapInterfaceMethod() throws Exception { final ScriptEngine engine = engineManager.getEngineByName("nashorn"); final Invocable invocable = (Invocable)engine; engine.eval("function apply(obj) { " + - " return obj instanceof Packages.jdk.nashorn.api.scripting.ScriptObjectMirror; " + + " return obj instanceof Packages.org.openjdk.nashorn.api.scripting.ScriptObjectMirror; " + "}"); @SuppressWarnings("unchecked") final Function func = invocable.getInterface(Function.class); diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/VariableArityTestInterface.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/VariableArityTestInterface.java index 7761a3d6e..0dbff0b5e 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/VariableArityTestInterface.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/VariableArityTestInterface.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; @SuppressWarnings("javadoc") public interface VariableArityTestInterface { diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/Window.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/Window.java index 6c60b163b..6cdc9a262 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/Window.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/Window.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; import java.util.Map; import javax.script.Bindings; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; @SuppressWarnings("javadoc") public class Window { diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/WindowEventHandler.java b/test/nashorn/src/jdk/nashorn/api/scripting/test/WindowEventHandler.java index ddc879c89..5902dab92 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/WindowEventHandler.java +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/WindowEventHandler.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.scripting.test; +package org.openjdk.nashorn.api.scripting.test; @SuppressWarnings("javadoc") public interface WindowEventHandler { diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/func.js b/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/func.js index 477bd1a64..bc50ccd91 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/func.js +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/func.js @@ -23,7 +23,7 @@ * questions. */ -// This script is loaded from jdk.nashorn.api.scripting.ScopeTest to test script class sharing and reuse. +// This script is loaded from org.openjdk.nashorn.api.scripting.ScopeTest to test script class sharing and reuse. var scopeVar = 1; var global = this; diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/gettersetter.js b/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/gettersetter.js index 51e247274..9708f6016 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/gettersetter.js +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/gettersetter.js @@ -23,7 +23,7 @@ * questions. */ -// This script is loaded from jdk.nashorn.api.scripting.ScopeTest to test script class sharing and reuse. +// This script is loaded from org.openjdk.nashorn.api.scripting.ScopeTest to test script class sharing and reuse. var v; diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/witheval.js b/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/witheval.js index 6041d5b49..cb9162543 100644 --- a/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/witheval.js +++ b/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/witheval.js @@ -23,7 +23,7 @@ * questions. */ -// This script is loaded from jdk.nashorn.api.scripting.ScopeTest to test script class sharing and reuse. +// This script is loaded from org.openjdk.nashorn.api.scripting.ScopeTest to test script class sharing and reuse. var a; diff --git a/test/nashorn/src/jdk/nashorn/api/test/NashornSQLDriver.java b/test/nashorn/src/jdk/nashorn/api/test/NashornSQLDriver.java index d1a5377f7..ced71a781 100644 --- a/test/nashorn/src/jdk/nashorn/api/test/NashornSQLDriver.java +++ b/test/nashorn/src/jdk/nashorn/api/test/NashornSQLDriver.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.api.test; +package org.openjdk.nashorn.api.test; import java.sql.Connection; import java.sql.Driver; diff --git a/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8188098_Test.java b/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8188098_Test.java index 9530d2a09..a7ddea9ee 100644 --- a/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8188098_Test.java +++ b/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8188098_Test.java @@ -22,17 +22,17 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree.test; +package org.openjdk.nashorn.api.tree.test; -import jdk.nashorn.api.tree.Parser; -import jdk.nashorn.api.tree.SimpleTreeVisitorES6; +import org.openjdk.nashorn.api.tree.Parser; +import org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6; import org.testng.annotations.Test; /** * 8188098: NPE in SimpleTreeVisitorES6 visitor when parsing a tagged template literal * * @test - * @run testng jdk.nashorn.api.tree.test.JDK_8188098_Test + * @run testng org.openjdk.nashorn.api.tree.test.JDK_8188098_Test */ public class JDK_8188098_Test { @Test diff --git a/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8193296_Test.java b/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8193296_Test.java index e5abab87a..5951ef99e 100644 --- a/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8193296_Test.java +++ b/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8193296_Test.java @@ -22,14 +22,14 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree.test; +package org.openjdk.nashorn.api.tree.test; -import jdk.nashorn.api.tree.CompilationUnitTree; -import jdk.nashorn.api.tree.ExpressionStatementTree; -import jdk.nashorn.api.tree.FunctionCallTree; -import jdk.nashorn.api.tree.Parser; -import jdk.nashorn.api.tree.Tree; -import jdk.nashorn.api.tree.UnaryTree; +import org.openjdk.nashorn.api.tree.CompilationUnitTree; +import org.openjdk.nashorn.api.tree.ExpressionStatementTree; +import org.openjdk.nashorn.api.tree.FunctionCallTree; +import org.openjdk.nashorn.api.tree.Parser; +import org.openjdk.nashorn.api.tree.Tree; +import org.openjdk.nashorn.api.tree.UnaryTree; import org.testng.Assert; import org.testng.annotations.Test; @@ -37,7 +37,7 @@ * @test * @bug 8184723 * @summary Parser should not eagerly transform delete expressions - * @run testng jdk.nashorn.api.tree.test.JDK_8193296_Test + * @run testng org.openjdk.nashorn.api.tree.test.JDK_8193296_Test */ public class JDK_8193296_Test { @Test diff --git a/test/nashorn/src/jdk/nashorn/api/tree/test/ParseAPITest.java b/test/nashorn/src/jdk/nashorn/api/tree/test/ParseAPITest.java index c13a4c1cc..a9c1ac508 100644 --- a/test/nashorn/src/jdk/nashorn/api/tree/test/ParseAPITest.java +++ b/test/nashorn/src/jdk/nashorn/api/tree/test/ParseAPITest.java @@ -22,24 +22,24 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.api.tree.test; +package org.openjdk.nashorn.api.tree.test; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; -import jdk.nashorn.api.tree.Parser; -import jdk.nashorn.api.tree.SimpleTreeVisitorES5_1; -import jdk.nashorn.api.tree.Tree; +import org.openjdk.nashorn.api.tree.Parser; +import org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1; +import org.openjdk.nashorn.api.tree.Tree; import org.testng.Assert; import org.testng.annotations.Test; /** - * Test for nashorn Parser API (jdk.nashorn.api.tree.*) + * Test for nashorn Parser API (org.openjdk.nashorn.api.tree.*) * * @test - * @run testng jdk.nashorn.api.tree.test.ParseAPITest + * @run testng org.openjdk.nashorn.api.tree.test.ParseAPITest */ public class ParseAPITest { diff --git a/test/nashorn/src/jdk/nashorn/internal/codegen/test/CompilerTest.java b/test/nashorn/src/jdk/nashorn/internal/codegen/test/CompilerTest.java index 998d2aa3f..825267a32 100644 --- a/test/nashorn/src/jdk/nashorn/internal/codegen/test/CompilerTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/codegen/test/CompilerTest.java @@ -23,19 +23,19 @@ * questions. */ -package jdk.nashorn.internal.codegen.test; +package org.openjdk.nashorn.internal.codegen.test; -import static jdk.nashorn.internal.runtime.Source.readFully; -import static jdk.nashorn.internal.runtime.Source.sourceFor; +import static org.openjdk.nashorn.internal.runtime.Source.readFully; +import static org.openjdk.nashorn.internal.runtime.Source.sourceFor; import java.io.File; import java.io.PrintWriter; import java.io.StringWriter; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.options.Options; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; diff --git a/test/nashorn/src/jdk/nashorn/internal/parser/test/ParserTest.java b/test/nashorn/src/jdk/nashorn/internal/parser/test/ParserTest.java index 17259cc96..1416a6902 100644 --- a/test/nashorn/src/jdk/nashorn/internal/parser/test/ParserTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/parser/test/ParserTest.java @@ -23,16 +23,16 @@ * questions. */ -package jdk.nashorn.internal.parser.test; +package org.openjdk.nashorn.internal.parser.test; -import static jdk.nashorn.internal.runtime.Source.readFully; -import static jdk.nashorn.internal.runtime.Source.sourceFor; +import static org.openjdk.nashorn.internal.runtime.Source.readFully; +import static org.openjdk.nashorn.internal.runtime.Source.sourceFor; import java.io.File; -import jdk.nashorn.internal.parser.Parser; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.parser.Parser; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.options.Options; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; diff --git a/test/nashorn/src/jdk/nashorn/internal/performance/AuroraWrapper.java b/test/nashorn/src/jdk/nashorn/internal/performance/AuroraWrapper.java index ccc3930e0..83dc38e7b 100644 --- a/test/nashorn/src/jdk/nashorn/internal/performance/AuroraWrapper.java +++ b/test/nashorn/src/jdk/nashorn/internal/performance/AuroraWrapper.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.performance; +package org.openjdk.nashorn.internal.performance; import java.io.File; import java.io.FileOutputStream; diff --git a/test/nashorn/src/jdk/nashorn/internal/performance/OctaneTest.java b/test/nashorn/src/jdk/nashorn/internal/performance/OctaneTest.java index cbb016f5a..4c3a04e8d 100644 --- a/test/nashorn/src/jdk/nashorn/internal/performance/OctaneTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/performance/OctaneTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.performance; +package org.openjdk.nashorn.internal.performance; import java.io.BufferedInputStream; import java.io.BufferedReader; diff --git a/test/nashorn/src/jdk/nashorn/internal/performance/PerformanceWrapper.java b/test/nashorn/src/jdk/nashorn/internal/performance/PerformanceWrapper.java index cd3d322b7..f020c79eb 100644 --- a/test/nashorn/src/jdk/nashorn/internal/performance/PerformanceWrapper.java +++ b/test/nashorn/src/jdk/nashorn/internal/performance/PerformanceWrapper.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.performance; +package org.openjdk.nashorn.internal.performance; import java.io.OutputStream; import java.util.concurrent.Callable; @@ -31,13 +31,13 @@ import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; @SuppressWarnings("javadoc") -public class PerformanceWrapper extends jdk.nashorn.tools.Shell { +public class PerformanceWrapper extends org.openjdk.nashorn.tools.Shell { int _numberOfIterations; int _runsPerIteration; @@ -86,7 +86,7 @@ protected void runExecuteOnlyTest(final String name, final int numberOfIteration @Override protected Object apply(final ScriptFunction target, final Object self) { if (_runsPerIteration == 0 && _numberOfIterations == 0) { - final Global global = jdk.nashorn.internal.runtime.Context.getGlobal(); + final Global global = org.openjdk.nashorn.internal.runtime.Context.getGlobal(); final ScriptFunction _target = target; final Object _self = self; diff --git a/test/nashorn/src/jdk/nashorn/internal/performance/SplayTest.java b/test/nashorn/src/jdk/nashorn/internal/performance/SplayTest.java index d80b1aa2d..5d68ffd4f 100644 --- a/test/nashorn/src/jdk/nashorn/internal/performance/SplayTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/performance/SplayTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.performance; +package org.openjdk.nashorn.internal.performance; import org.testng.annotations.Test; diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java index 3f0e7b351..db8a1d408 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java @@ -55,13 +55,13 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv.test; +package org.openjdk.nashorn.internal.runtime.doubleconv.test; import java.io.BufferedReader; import java.io.InputStreamReader; -import jdk.nashorn.internal.runtime.doubleconv.DoubleConversion; -import jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer; -import jdk.nashorn.internal.runtime.doubleconv.DtoaMode; +import org.openjdk.nashorn.internal.runtime.doubleconv.DoubleConversion; +import org.openjdk.nashorn.internal.runtime.doubleconv.DtoaBuffer; +import org.openjdk.nashorn.internal.runtime.doubleconv.DtoaMode; import org.testng.annotations.Test; diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java index 8cec340da..aaf777b4b 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java @@ -55,7 +55,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv.test; +package org.openjdk.nashorn.internal.runtime.doubleconv.test; import org.testng.annotations.Test; @@ -69,8 +69,8 @@ * Bignum class tests * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv:open - * @run testng jdk.nashorn.internal.runtime.doubleconv.test.BignumTest + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.doubleconv:open + * @run testng org.openjdk.nashorn.internal.runtime.doubleconv.test.BignumTest */ @SuppressWarnings("javadoc") public class BignumTest { @@ -80,7 +80,7 @@ public class BignumTest { static { try { - Bignum = Class.forName("jdk.nashorn.internal.runtime.doubleconv.Bignum"); + Bignum = Class.forName("org.openjdk.nashorn.internal.runtime.doubleconv.Bignum"); ctor = Bignum.getDeclaredConstructor(); ctor.setAccessible(true); } catch (final Exception e) { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java index 02d52eb01..e6fcc4fc6 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java @@ -30,7 +30,7 @@ // // Copyright 2006-2008 the V8 project authors. All rights reserved. -package jdk.nashorn.internal.runtime.doubleconv.test; +package org.openjdk.nashorn.internal.runtime.doubleconv.test; import org.testng.annotations.Test; @@ -44,8 +44,8 @@ * DiyFp class tests * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv:open - * @run testng jdk.nashorn.internal.runtime.doubleconv.test.DiyFpTest + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.doubleconv:open + * @run testng org.openjdk.nashorn.internal.runtime.doubleconv.test.DiyFpTest */ @SuppressWarnings("javadoc") public class DiyFpTest { @@ -55,7 +55,7 @@ public class DiyFpTest { static { try { - DiyFp = Class.forName("jdk.nashorn.internal.runtime.doubleconv.DiyFp"); + DiyFp = Class.forName("org.openjdk.nashorn.internal.runtime.doubleconv.DiyFp"); ctor = DiyFp.getDeclaredConstructor(long.class, int.class); ctor.setAccessible(true); } catch (final Exception e) { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java index e70d533a3..6c2bf6000 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java @@ -30,14 +30,14 @@ // // Copyright 2006-2008 the V8 project authors. All rights reserved. -package jdk.nashorn.internal.runtime.doubleconv.test; +package org.openjdk.nashorn.internal.runtime.doubleconv.test; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; -import jdk.nashorn.internal.runtime.doubleconv.DoubleConversion; -import jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer; +import org.openjdk.nashorn.internal.runtime.doubleconv.DoubleConversion; +import org.openjdk.nashorn.internal.runtime.doubleconv.DtoaBuffer; import org.testng.annotations.Test; diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java index 1f68ae8be..d01c113bd 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java @@ -55,13 +55,13 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -package jdk.nashorn.internal.runtime.doubleconv.test; +package org.openjdk.nashorn.internal.runtime.doubleconv.test; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.concurrent.atomic.AtomicInteger; -import jdk.nashorn.internal.runtime.doubleconv.DoubleConversion; -import jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer; +import org.openjdk.nashorn.internal.runtime.doubleconv.DoubleConversion; +import org.openjdk.nashorn.internal.runtime.doubleconv.DtoaBuffer; import org.testng.annotations.Test; diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java index b75bfb361..5d19119ac 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java @@ -30,7 +30,7 @@ // // Copyright 2006-2008 the V8 project authors. All rights reserved. -package jdk.nashorn.internal.runtime.doubleconv.test; +package org.openjdk.nashorn.internal.runtime.doubleconv.test; import org.testng.annotations.Test; @@ -44,8 +44,8 @@ * IeeeDouble tests * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.doubleconv:open - * @run testng jdk.nashorn.internal.runtime.doubleconv.test.IeeeDoubleTest + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.doubleconv:open + * @run testng org.openjdk.nashorn.internal.runtime.doubleconv.test.IeeeDoubleTest */ @SuppressWarnings({"unchecked", "javadoc"}) public class IeeeDoubleTest { @@ -71,8 +71,8 @@ public class IeeeDoubleTest { static { try { - final Class IeeeDouble = Class.forName("jdk.nashorn.internal.runtime.doubleconv.IeeeDouble"); - final Class DiyFp = Class.forName("jdk.nashorn.internal.runtime.doubleconv.DiyFp"); + final Class IeeeDouble = Class.forName("org.openjdk.nashorn.internal.runtime.doubleconv.IeeeDouble"); + final Class DiyFp = Class.forName("org.openjdk.nashorn.internal.runtime.doubleconv.DiyFp"); asDiyFp = method(IeeeDouble, "asDiyFp", long.class); asNormalizedDiyFp = method(IeeeDouble, "asNormalizedDiyFp", long.class); doubleToLong = method(IeeeDouble, "doubleToLong", double.class); diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java index b23992846..05a8a4a4d 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java @@ -23,18 +23,18 @@ * questions. */ -package jdk.nashorn.internal.runtime.linker.test; +package org.openjdk.nashorn.internal.runtime.linker.test; -import jdk.nashorn.api.scripting.AbstractJSObject; -import jdk.nashorn.api.scripting.NashornScriptEngine; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.NashornScriptEngine; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; /** * @test * @bug 8184723 - * @summary jdk.nashorn.internal.runtime.linker.JSObjectLinker.callToApply erroneously asserts given arguments - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.linker - * @run main/othervm -ea jdk.nashorn.internal.runtime.linker.test.JDK_8184723_Test + * @summary org.openjdk.nashorn.internal.runtime.linker.JSObjectLinker.callToApply erroneously asserts given arguments + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.linker + * @run main/othervm -ea org.openjdk.nashorn.internal.runtime.linker.test.JDK_8184723_Test */ public class JDK_8184723_Test { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JavaAdapterTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JavaAdapterTest.java index ad82e5feb..e2032f2b5 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JavaAdapterTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JavaAdapterTest.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.linker.test; +package org.openjdk.nashorn.internal.runtime.linker.test; import java.util.Collection; import java.util.Deque; @@ -35,11 +35,11 @@ import javax.script.ScriptContext; import javax.script.ScriptEngine; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.NashornScriptEngine; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.NashornScriptEngine; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.runtime.Context; import org.testng.Assert; import org.testng.annotations.Test; @@ -291,8 +291,8 @@ public static void testMirrorAdapter() throws ScriptException { e.eval("function convertObjectFromGlobalScope(){ return new java.util.concurrent.Callable(o).call(); }", e.getBindings(ScriptContext.GLOBAL_SCOPE)); e.eval("function convertFuncFromEngineScope(){ return new java.util.concurrent.Callable(g).call(); }", e.getBindings(ScriptContext.ENGINE_SCOPE)); e.eval("function convertFuncFromGlobalScope(){ return new java.util.concurrent.Callable(g).call(); }", e.getBindings(ScriptContext.GLOBAL_SCOPE)); - e.eval("function convertParamFromEngineScope(){ return Java.type('jdk.nashorn.internal.runtime.linker.test.JavaAdapterTest').m(f);}", e.getBindings(ScriptContext.ENGINE_SCOPE)); - e.eval("function convertParamFromGlobalScope(){ return Java.type('jdk.nashorn.internal.runtime.linker.test.JavaAdapterTest').m(f);}", e.getBindings(ScriptContext.GLOBAL_SCOPE)); + e.eval("function convertParamFromEngineScope(){ return Java.type('org.openjdk.nashorn.internal.runtime.linker.test.JavaAdapterTest').m(f);}", e.getBindings(ScriptContext.ENGINE_SCOPE)); + e.eval("function convertParamFromGlobalScope(){ return Java.type('org.openjdk.nashorn.internal.runtime.linker.test.JavaAdapterTest').m(f);}", e.getBindings(ScriptContext.GLOBAL_SCOPE)); e.eval("var o = { call: function () { return 'ok from o'; } }", e.getBindings(ScriptContext.ENGINE_SCOPE)); e.eval("function g() { return 'ok from g'; }", e.getBindings(ScriptContext.ENGINE_SCOPE)); diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/NameCodecTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/NameCodecTest.java index 2358a686c..df3fb05da 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/NameCodecTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/NameCodecTest.java @@ -22,15 +22,15 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.linker.test; +package org.openjdk.nashorn.internal.runtime.linker.test; import static org.testng.Assert.assertEquals; -import jdk.nashorn.internal.runtime.linker.NameCodec; +import org.openjdk.nashorn.internal.runtime.linker.NameCodec; import org.testng.annotations.Test; /** - * Test for jdk.nashorn.intenal.runtime.linker.NameCodec.java. This test is + * Test for org.openjdk.nashorn.intenal.runtime.linker.NameCodec.java. This test is * derived from BytecodeNameTest.java from (older) mlvm code @ * http://hg.openjdk.java.net/mlvm/mlvm/file/tip/netbeans/meth/test/sun/invoke/util/BytecodeNameTest.java * diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java index 1a6d32407..e10a7638f 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.runtime.regexp.joni.test; +package org.openjdk.nashorn.internal.runtime.regexp.joni.test; -import jdk.nashorn.internal.runtime.regexp.joni.Regex; +import org.openjdk.nashorn.internal.runtime.regexp.joni.Regex; import org.testng.annotations.Test; /** * Joni coverage tests * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.regexp.joni - * @run testng jdk.nashorn.internal.runtime.regexp.joni.test.JoniTest + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp.joni + * @run testng org.openjdk.nashorn.internal.runtime.regexp.joni.test.JoniTest */ @SuppressWarnings("javadoc") public class JoniTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java index 99c0b7960..f73dec27e 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.regexp.test; +package org.openjdk.nashorn.internal.runtime.regexp.test; -import jdk.nashorn.internal.runtime.regexp.RegExp; -import jdk.nashorn.internal.runtime.regexp.RegExpFactory; -import jdk.nashorn.internal.runtime.regexp.RegExpMatcher; +import org.openjdk.nashorn.internal.runtime.regexp.RegExp; +import org.openjdk.nashorn.internal.runtime.regexp.RegExpFactory; +import org.openjdk.nashorn.internal.runtime.regexp.RegExpMatcher; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotNull; import static org.testng.Assert.assertTrue; @@ -38,8 +38,8 @@ * Basic tests for the JDK based RegExp implementation. * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.regexp - * @run testng jdk.nashorn.internal.runtime.regexp.test.JdkRegExpTest + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp + * @run testng org.openjdk.nashorn.internal.runtime.regexp.test.JdkRegExpTest */ public class JdkRegExpTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java index 3115e181e..8b35ee870 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import static org.testng.Assert.assertEquals; @@ -32,7 +32,7 @@ import java.util.List; import javax.script.ScriptEngine; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import org.testng.annotations.Test; /** diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ClassFilterTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ClassFilterTest.java index 3a3349f81..6c98c3dc4 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ClassFilterTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ClassFilterTest.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.fail; import java.io.File; import javax.script.ScriptEngine; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.ClassFilter; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; -import jdk.nashorn.api.scripting.URLReader; -import jdk.nashorn.internal.test.framework.TestFinder; +import org.openjdk.nashorn.api.scripting.ClassFilter; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.URLReader; +import org.openjdk.nashorn.internal.test.framework.TestFinder; import org.testng.annotations.Test; @SuppressWarnings("javadoc") diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java index ae855c1f3..ab41f8ba7 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; @@ -35,14 +35,14 @@ import java.nio.file.Path; import javax.script.ScriptEngine; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import org.testng.annotations.Test; /** * @test * @bug 8039185 8039403 * @summary Test for persistent code cache and path handling - * @run testng jdk.nashorn.internal.runtime.test.CodeStoreAndPathTest + * @run testng org.openjdk.nashorn.internal.runtime.test.CodeStoreAndPathTest */ @SuppressWarnings("javadoc") public class CodeStoreAndPathTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java index 037a7a3a5..50d6af458 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; -import jdk.nashorn.internal.runtime.ConsString; +import org.openjdk.nashorn.internal.runtime.ConsString; import static org.testng.Assert.assertEquals; import org.testng.annotations.Test; @@ -34,8 +34,8 @@ * Tests for JSType methods. * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime - * @run testng jdk.nashorn.internal.runtime.test.ConsStringTest + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime + * @run testng org.openjdk.nashorn.internal.runtime.test.ConsStringTest */ public class ConsStringTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java index 3c5f73d09..e131f754c 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java @@ -23,31 +23,31 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; -import static jdk.nashorn.internal.runtime.Source.sourceFor; +import static org.openjdk.nashorn.internal.runtime.Source.sourceFor; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertTrue; import static org.testng.Assert.fail; import java.util.Map; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.Source; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.options.Options; import org.testng.annotations.Test; /** * Basic Context API tests. * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime - * org.openjdk.nashorn/jdk.nashorn.internal.runtime.options - * org.openjdk.nashorn/jdk.nashorn.internal.objects - * @run testng jdk.nashorn.internal.runtime.test.ContextTest + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime + * org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.options + * org.openjdk.nashorn/org.openjdk.nashorn.internal.objects + * @run testng org.openjdk.nashorn.internal.runtime.test.ContextTest */ @SuppressWarnings("javadoc") public class ContextTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java index 5f1ca6473..a29c6fa43 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.fail; @@ -33,17 +33,17 @@ import java.io.ObjectOutputStream; import javax.script.ScriptEngine; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; -import jdk.nashorn.internal.runtime.RewriteException; -import jdk.nashorn.internal.runtime.UnwarrantedOptimismException; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.internal.runtime.RewriteException; +import org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException; import org.testng.annotations.Test; /** * JDK-8044518: Ensure exceptions related to optimistic recompilation are not serializable * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime - * @run testng jdk.nashorn.internal.runtime.test.ExceptionsNotSerializable + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime + * @run testng org.openjdk.nashorn.internal.runtime.test.ExceptionsNotSerializable */ @SuppressWarnings("javadoc") public class ExceptionsNotSerializable { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java index 77efbdc3c..45ecf6908 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java @@ -23,22 +23,22 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertTrue; import java.util.Map; import javax.script.Bindings; -import jdk.nashorn.api.scripting.JSObject; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.objects.NativeArray; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.ScriptObject; -import jdk.nashorn.internal.runtime.linker.Bootstrap; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.api.scripting.JSObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.objects.NativeArray; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; +import org.openjdk.nashorn.internal.runtime.options.Options; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; @@ -47,11 +47,11 @@ * @test * @bug 8078414 * @summary Test that arbitrary classes can't be converted to mirror's superclasses/interfaces. - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.linker - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime.options - * @modules org.openjdk.nashorn/jdk.nashorn.internal.objects - * @run testng jdk.nashorn.internal.runtime.test.JDK_8078414_Test + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.linker + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.options + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.objects + * @run testng org.openjdk.nashorn.internal.runtime.test.JDK_8078414_Test */ public class JDK_8078414_Test { private static Context cx; diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8081015_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8081015_Test.java index 6051591ea..935be5bfe 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8081015_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8081015_Test.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNull; @@ -32,8 +32,8 @@ import java.util.Queue; import javax.script.ScriptEngine; import javax.script.ScriptException; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; -import jdk.nashorn.test.models.JDK_8081015_TestModel; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.test.models.JDK_8081015_TestModel; import org.testng.annotations.Test; /** diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8142924_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8142924_Test.java index 68b249359..1d3d0fb3d 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8142924_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8142924_Test.java @@ -22,14 +22,14 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; -import jdk.nashorn.internal.objects.NativeSymbol; -import jdk.nashorn.internal.runtime.Symbol; +import org.openjdk.nashorn.internal.objects.NativeSymbol; +import org.openjdk.nashorn.internal.runtime.Symbol; import org.testng.Assert; import org.testng.annotations.Test; diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java index 76f339e08..2a7b5c9f9 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; -import jdk.nashorn.api.scripting.AbstractJSObject; -import jdk.nashorn.api.scripting.NashornScriptEngine; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; -import jdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; +import org.openjdk.nashorn.api.scripting.NashornScriptEngine; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; import static org.testng.Assert.assertEquals; import org.testng.annotations.Test; import javax.script.ScriptException; @@ -38,8 +38,8 @@ * @test * @bug 8186807 * @summary JSObject gets ScriptFunction when ScriptObjectMirror is expected - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime - * @run testng/othervm -Dnashorn.unstable.relink.threshold=1 jdk.nashorn.internal.runtime.test.JDK_8186807_Test + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime + * @run testng/othervm -Dnashorn.unstable.relink.threshold=1 org.openjdk.nashorn.internal.runtime.test.JDK_8186807_Test */ public class JDK_8186807_Test { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java index 071088c8b..36689b877 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; -import jdk.nashorn.internal.runtime.JSType; -import jdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.JSType; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertTrue; @@ -37,8 +37,8 @@ * Tests for JSType methods. * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime - * @run testng jdk.nashorn.internal.runtime.test.JSTypeTest + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime + * @run testng org.openjdk.nashorn.internal.runtime.test.JSTypeTest */ public class JSTypeTest { /** diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/LexicalBindingTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/LexicalBindingTest.java index 9e91195fd..6a2b2c360 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/LexicalBindingTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/LexicalBindingTest.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import org.testng.annotations.Test; import javax.script.Bindings; @@ -40,7 +40,7 @@ * Top-level lexical binding tests. * * @test - * @run testng jdk.nashorn.internal.runtime.test.LexicalBindingTest + * @run testng org.openjdk.nashorn.internal.runtime.test.LexicalBindingTest */ @SuppressWarnings("javadoc") public class LexicalBindingTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/NoPersistenceCachingTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/NoPersistenceCachingTest.java index d9643e650..de60c8353 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/NoPersistenceCachingTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/NoPersistenceCachingTest.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import static org.testng.Assert.fail; import java.io.ByteArrayOutputStream; @@ -34,7 +34,7 @@ import javax.script.ScriptEngineFactory; import javax.script.ScriptEngineManager; import javax.script.SimpleScriptContext; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; @@ -43,7 +43,7 @@ * @test * @bug 8037378 * @summary Sanity tests for no persistence caching - * @run testng/othervm jdk.nashorn.internal.runtime.test.NoPersistenceCachingTest + * @run testng/othervm org.openjdk.nashorn.internal.runtime.test.NoPersistenceCachingTest */ @SuppressWarnings("javadoc") public class NoPersistenceCachingTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java index d5925472f..dbc7083da 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import java.util.Iterator; -import jdk.nashorn.internal.runtime.PropertyMap; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.internal.runtime.PropertyMap; +import org.openjdk.nashorn.internal.runtime.ScriptObject; import org.testng.Assert; import org.testng.annotations.Test; @@ -35,8 +35,8 @@ * Tests for PropertyMap functionality * * @test - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime - * @run testng jdk.nashorn.internal.runtime.test.PropertyMapTest + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime + * @run testng org.openjdk.nashorn.internal.runtime.test.PropertyMapTest */ @SuppressWarnings("javadoc") public class PropertyMapTest { diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java index 642874cd2..378fc5e9b 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; -import static jdk.nashorn.internal.runtime.Source.sourceFor; +import static org.openjdk.nashorn.internal.runtime.Source.sourceFor; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertTrue; import static org.testng.Assert.fail; @@ -35,8 +35,8 @@ import java.io.Reader; import java.net.URL; import java.util.Arrays; -import jdk.nashorn.api.scripting.URLReader; -import jdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.api.scripting.URLReader; +import org.openjdk.nashorn.internal.runtime.Source; import org.testng.annotations.Test; /** diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/TrustedScriptEngineTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/TrustedScriptEngineTest.java index 416a204bd..1c551e0d0 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/TrustedScriptEngineTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/TrustedScriptEngineTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertTrue; @@ -34,9 +34,9 @@ import javax.script.ScriptEngineManager; import javax.script.ScriptException; import javax.script.SimpleScriptContext; -import jdk.nashorn.api.scripting.ClassFilter; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; -import jdk.nashorn.internal.runtime.Version; +import org.openjdk.nashorn.api.scripting.ClassFilter; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.internal.runtime.Version; import org.testng.annotations.Test; /** diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java index bbca26838..ad59957a5 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.internal.runtime.test; +package org.openjdk.nashorn.internal.runtime.test; -import jdk.nashorn.api.scripting.NashornScriptEngine; -import jdk.nashorn.api.scripting.NashornScriptEngineFactory; +import org.openjdk.nashorn.api.scripting.NashornScriptEngine; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import javax.script.ScriptException; import static org.testng.Assert.assertEquals; import org.testng.annotations.Test; @@ -35,8 +35,8 @@ * @test * @bug 8187362 * @summary Nashorn unsigned right shift operator unexpectedly returns floating-point - * @modules org.openjdk.nashorn/jdk.nashorn.internal.runtime - * @run testng jdk.nashorn.internal.runtime.test.JDK_8187362_Test + * @modules org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime + * @run testng org.openjdk.nashorn.internal.runtime.test.JDK_8187362_Test */ public class JDK_8187362_Test { diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/AbstractScriptRunnable.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/AbstractScriptRunnable.java index 1019abdfc..16f20ae25 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/AbstractScriptRunnable.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/AbstractScriptRunnable.java @@ -23,17 +23,17 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_CHECK_COMPILE_MSG; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_COMPARE; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_EXPECT_COMPILE_FAIL; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_EXPECT_RUN_FAIL; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_FORK; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_IGNORE_STD_ERROR; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_RUN; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_FAIL_LIST; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_SHARED_CONTEXT; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_CHECK_COMPILE_MSG; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_COMPARE; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_EXPECT_COMPILE_FAIL; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_EXPECT_RUN_FAIL; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_FORK; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_IGNORE_STD_ERROR; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_RUN; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_FAIL_LIST; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_SHARED_CONTEXT; import java.io.BufferedReader; import java.io.File; import java.io.IOException; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/JSJUnitReportReporter.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/JSJUnitReportReporter.java index fe8fa7107..3eb312138 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/JSJUnitReportReporter.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/JSJUnitReportReporter.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; import org.testng.ITestResult; import org.testng.reporters.JUnitReportReporter; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/OrphanTestFinder.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/OrphanTestFinder.java index 74b5ccd70..34a9368b4 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/OrphanTestFinder.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/OrphanTestFinder.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; import java.util.Set; import org.testng.Assert; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/ParallelTestRunner.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/ParallelTestRunner.java index 336369681..53ecaa496 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/ParallelTestRunner.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/ParallelTestRunner.java @@ -23,14 +23,14 @@ * questions. */ -package jdk.nashorn.internal.test.framework; - -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_FAILED_LIST_FILE; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_ENABLE_STRICT_MODE; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDES_FILE; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDE_LIST; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_FRAMEWORK; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_ROOTS; +package org.openjdk.nashorn.internal.test.framework; + +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_FAILED_LIST_FILE; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_ENABLE_STRICT_MODE; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDES_FILE; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDE_LIST; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_FRAMEWORK; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_ROOTS; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; @@ -66,7 +66,7 @@ import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; -import jdk.nashorn.internal.test.framework.TestFinder.TestFactory; +import org.openjdk.nashorn.internal.test.framework.TestFinder.TestFactory; /** * Parallel test runner runs tests in multiple threads - but avoids any dependency diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptEvaluator.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptEvaluator.java index 6a2eebb7b..b17a5b279 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptEvaluator.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptEvaluator.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; import java.io.IOException; import java.io.OutputStream; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java index 21a760983..9fafc615a 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; @@ -42,7 +42,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Map; -import jdk.nashorn.tools.Shell; +import org.openjdk.nashorn.tools.Shell; import org.testng.Assert; import org.testng.ITest; import org.testng.annotations.Test; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptTest.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptTest.java index 70c2992f7..5de435c9c 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptTest.java @@ -23,9 +23,9 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_INCLUDES; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_INCLUDES; import java.io.File; import java.util.ArrayList; import java.util.List; @@ -33,7 +33,7 @@ import java.util.Map; import java.util.Set; import java.util.TreeSet; -import jdk.nashorn.internal.test.framework.TestFinder.TestFactory; +import org.openjdk.nashorn.internal.test.framework.TestFinder.TestFactory; import org.testng.ITest; import org.testng.annotations.Factory; import org.testng.annotations.Listeners; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/SeparateContextEvaluator.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/SeparateContextEvaluator.java index d108a1b0b..a0f2e5bbb 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/SeparateContextEvaluator.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/SeparateContextEvaluator.java @@ -23,11 +23,11 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; import java.io.IOException; import java.io.OutputStream; -import jdk.nashorn.tools.Shell; +import org.openjdk.nashorn.tools.Shell; /** * A script evaluator that uses a fresh Nashorn Context to evaluate scripts. diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/SharedContextEvaluator.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/SharedContextEvaluator.java index b7844b927..d5c10af70 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/SharedContextEvaluator.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/SharedContextEvaluator.java @@ -23,24 +23,24 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; -import static jdk.nashorn.internal.runtime.Source.sourceFor; -import static jdk.nashorn.tools.Shell.COMPILATION_ERROR; -import static jdk.nashorn.tools.Shell.RUNTIME_ERROR; -import static jdk.nashorn.tools.Shell.SUCCESS; +import static org.openjdk.nashorn.internal.runtime.Source.sourceFor; +import static org.openjdk.nashorn.tools.Shell.COMPILATION_ERROR; +import static org.openjdk.nashorn.tools.Shell.RUNTIME_ERROR; +import static org.openjdk.nashorn.tools.Shell.SUCCESS; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; -import jdk.nashorn.api.scripting.NashornException; -import jdk.nashorn.internal.objects.Global; -import jdk.nashorn.internal.runtime.Context; -import jdk.nashorn.internal.runtime.ErrorManager; -import jdk.nashorn.internal.runtime.ScriptFunction; -import jdk.nashorn.internal.runtime.ScriptRuntime; -import jdk.nashorn.internal.runtime.options.Options; +import org.openjdk.nashorn.api.scripting.NashornException; +import org.openjdk.nashorn.internal.objects.Global; +import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.ErrorManager; +import org.openjdk.nashorn.internal.runtime.ScriptFunction; +import org.openjdk.nashorn.internal.runtime.ScriptRuntime; +import org.openjdk.nashorn.internal.runtime.options.Options; /** * A script evaluator that shares a single Nashorn Context instance to run diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestConfig.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/TestConfig.java index e539ee2a2..adf58340c 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestConfig.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/TestConfig.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; /** * Configuration info for script tests. diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestFinder.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/TestFinder.java index 7332e3271..583e0460d 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestFinder.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/TestFinder.java @@ -22,25 +22,25 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.internal.test.framework; - -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_CHECK_COMPILE_MSG; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_COMPARE; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_EXPECT_COMPILE_FAIL; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_EXPECT_RUN_FAIL; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_FORK; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_IGNORE_STD_ERROR; -import static jdk.nashorn.internal.test.framework.TestConfig.OPTIONS_RUN; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_FAILED_LIST_FILE; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_ENABLE_STRICT_MODE; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDES_FILE; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDE_DIR; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDE_LIST; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_FRAMEWORK; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_INCLUDES; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_LIST; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_ROOTS; -import static jdk.nashorn.internal.test.framework.TestConfig.TEST_JS_UNCHECKED_DIR; +package org.openjdk.nashorn.internal.test.framework; + +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_CHECK_COMPILE_MSG; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_COMPARE; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_EXPECT_COMPILE_FAIL; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_EXPECT_RUN_FAIL; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_FORK; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_IGNORE_STD_ERROR; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.OPTIONS_RUN; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_FAILED_LIST_FILE; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_ENABLE_STRICT_MODE; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDES_FILE; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDE_DIR; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_EXCLUDE_LIST; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_FRAMEWORK; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_INCLUDES; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_LIST; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_ROOTS; +import static org.openjdk.nashorn.internal.test.framework.TestConfig.TEST_JS_UNCHECKED_DIR; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; @@ -68,7 +68,7 @@ import javax.xml.xpath.XPathConstants; import javax.xml.xpath.XPathExpressionException; import javax.xml.xpath.XPathFactory; -import jdk.nashorn.tools.Shell; +import org.openjdk.nashorn.tools.Shell; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestHelper.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/TestHelper.java index 733b3e3d9..ed3aec886 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestHelper.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/TestHelper.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestReorderInterceptor.java b/test/nashorn/src/jdk/nashorn/internal/test/framework/TestReorderInterceptor.java index 6a134ddf0..7e4727e19 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestReorderInterceptor.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/framework/TestReorderInterceptor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.test.framework; +package org.openjdk.nashorn.internal.test.framework; import java.util.Collections; import java.util.Comparator; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/models/InternalRunnable.java b/test/nashorn/src/jdk/nashorn/internal/test/models/InternalRunnable.java index 503d8f6ef..4a12b7427 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/models/InternalRunnable.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/models/InternalRunnable.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.test.models; +package org.openjdk.nashorn.internal.test.models; import java.io.PrintWriter; import java.io.StringWriter; diff --git a/test/nashorn/src/jdk/nashorn/internal/test/models/RestrictedRunnable.java b/test/nashorn/src/jdk/nashorn/internal/test/models/RestrictedRunnable.java index aa5bfb779..97f2fc53e 100644 --- a/test/nashorn/src/jdk/nashorn/internal/test/models/RestrictedRunnable.java +++ b/test/nashorn/src/jdk/nashorn/internal/test/models/RestrictedRunnable.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.internal.test.models; +package org.openjdk.nashorn.internal.test.models; /** * Acts as a restricted interface implemented by a restricted class. diff --git a/test/nashorn/src/jdk/nashorn/test/models/A.java b/test/nashorn/src/jdk/nashorn/test/models/A.java index 3b302a683..fbb8e2a1b 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/A.java +++ b/test/nashorn/src/jdk/nashorn/test/models/A.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; public interface A { default String a() { diff --git a/test/nashorn/src/jdk/nashorn/test/models/ArrayConversionPreferences.java b/test/nashorn/src/jdk/nashorn/test/models/ArrayConversionPreferences.java index a88f3c37b..be654264a 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/ArrayConversionPreferences.java +++ b/test/nashorn/src/jdk/nashorn/test/models/ArrayConversionPreferences.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; import java.util.Collection; import java.util.Deque; diff --git a/test/nashorn/src/jdk/nashorn/test/models/B.java b/test/nashorn/src/jdk/nashorn/test/models/B.java index 8c98c193c..6ba6da05e 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/B.java +++ b/test/nashorn/src/jdk/nashorn/test/models/B.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; public interface B extends A { default String b() { diff --git a/test/nashorn/src/jdk/nashorn/test/models/BigAbstract.java b/test/nashorn/src/jdk/nashorn/test/models/BigAbstract.java index cc200c733..9887ec9f3 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/BigAbstract.java +++ b/test/nashorn/src/jdk/nashorn/test/models/BigAbstract.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; public abstract class BigAbstract { public static void accept(final BigAbstract ba) { diff --git a/test/nashorn/src/jdk/nashorn/test/models/ClassLoaderAware.java b/test/nashorn/src/jdk/nashorn/test/models/ClassLoaderAware.java index 491e9db2b..5312a9f4a 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/ClassLoaderAware.java +++ b/test/nashorn/src/jdk/nashorn/test/models/ClassLoaderAware.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public interface ClassLoaderAware { diff --git a/test/nashorn/src/jdk/nashorn/test/models/ClassWithFinalFinalizer.java b/test/nashorn/src/jdk/nashorn/test/models/ClassWithFinalFinalizer.java index a1909a03f..cd2a414a6 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/ClassWithFinalFinalizer.java +++ b/test/nashorn/src/jdk/nashorn/test/models/ClassWithFinalFinalizer.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class ClassWithFinalFinalizer { diff --git a/test/nashorn/src/jdk/nashorn/test/models/ClassWithInheritedFinalFinalizer.java b/test/nashorn/src/jdk/nashorn/test/models/ClassWithInheritedFinalFinalizer.java index 6a1f4d651..39ff7a3f0 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/ClassWithInheritedFinalFinalizer.java +++ b/test/nashorn/src/jdk/nashorn/test/models/ClassWithInheritedFinalFinalizer.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class ClassWithInheritedFinalFinalizer extends ClassWithFinalFinalizer { diff --git a/test/nashorn/src/jdk/nashorn/test/models/ConstructorWithArgument.java b/test/nashorn/src/jdk/nashorn/test/models/ConstructorWithArgument.java index 1483a6e52..5d225fd6d 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/ConstructorWithArgument.java +++ b/test/nashorn/src/jdk/nashorn/test/models/ConstructorWithArgument.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public abstract class ConstructorWithArgument { diff --git a/test/nashorn/src/jdk/nashorn/test/models/DessertTopping.java b/test/nashorn/src/jdk/nashorn/test/models/DessertTopping.java index a4352499f..07c1ff695 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/DessertTopping.java +++ b/test/nashorn/src/jdk/nashorn/test/models/DessertTopping.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public interface DessertTopping { diff --git a/test/nashorn/src/jdk/nashorn/test/models/DessertToppingFloorWaxDriver.java b/test/nashorn/src/jdk/nashorn/test/models/DessertToppingFloorWaxDriver.java index f074ec3d6..f7258fcad 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/DessertToppingFloorWaxDriver.java +++ b/test/nashorn/src/jdk/nashorn/test/models/DessertToppingFloorWaxDriver.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class DessertToppingFloorWaxDriver { diff --git a/test/nashorn/src/jdk/nashorn/test/models/FinalClass.java b/test/nashorn/src/jdk/nashorn/test/models/FinalClass.java index 3b759dd2c..5a287c054 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/FinalClass.java +++ b/test/nashorn/src/jdk/nashorn/test/models/FinalClass.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public final class FinalClass { diff --git a/test/nashorn/src/jdk/nashorn/test/models/FloorWax.java b/test/nashorn/src/jdk/nashorn/test/models/FloorWax.java index 024392720..54d84f6ba 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/FloorWax.java +++ b/test/nashorn/src/jdk/nashorn/test/models/FloorWax.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public interface FloorWax { diff --git a/test/nashorn/src/jdk/nashorn/test/models/FunctionalInterfaceProvider.java b/test/nashorn/src/jdk/nashorn/test/models/FunctionalInterfaceProvider.java index 408c05135..0e0e2611e 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/FunctionalInterfaceProvider.java +++ b/test/nashorn/src/jdk/nashorn/test/models/FunctionalInterfaceProvider.java @@ -22,9 +22,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; -import jdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; import org.testng.Assert; import java.util.List; diff --git a/test/nashorn/src/jdk/nashorn/test/models/IntFloatOverloadSelection.java b/test/nashorn/src/jdk/nashorn/test/models/IntFloatOverloadSelection.java index 52a745527..cf5185384 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/IntFloatOverloadSelection.java +++ b/test/nashorn/src/jdk/nashorn/test/models/IntFloatOverloadSelection.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class IntFloatOverloadSelection { diff --git a/test/nashorn/src/jdk/nashorn/test/models/InternalRunnableSuperclass.java b/test/nashorn/src/jdk/nashorn/test/models/InternalRunnableSuperclass.java index ba3a49bd3..6e1021a8c 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/InternalRunnableSuperclass.java +++ b/test/nashorn/src/jdk/nashorn/test/models/InternalRunnableSuperclass.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; import jdk.dynalink.beans.StaticClass; -import jdk.nashorn.internal.test.models.InternalRunnable; +import org.openjdk.nashorn.internal.test.models.InternalRunnable; /** * Acts as a non-restricted superclass for a restricted class. diff --git a/test/nashorn/src/jdk/nashorn/test/models/JDK_8081015_TestModel.java b/test/nashorn/src/jdk/nashorn/test/models/JDK_8081015_TestModel.java index e283e59cf..9bfe20448 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/JDK_8081015_TestModel.java +++ b/test/nashorn/src/jdk/nashorn/test/models/JDK_8081015_TestModel.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; diff --git a/test/nashorn/src/jdk/nashorn/test/models/JDK_8184241Test.java b/test/nashorn/src/jdk/nashorn/test/models/JDK_8184241Test.java index a1c2438e1..0351d8361 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/JDK_8184241Test.java +++ b/test/nashorn/src/jdk/nashorn/test/models/JDK_8184241Test.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; public class JDK_8184241Test { public JDK_8184241Test() { diff --git a/test/nashorn/src/jdk/nashorn/test/models/Jdk8011362TestSubject.java b/test/nashorn/src/jdk/nashorn/test/models/Jdk8011362TestSubject.java index d7f2a95fe..8f86a8011 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/Jdk8011362TestSubject.java +++ b/test/nashorn/src/jdk/nashorn/test/models/Jdk8011362TestSubject.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; /** * Test class used by JDK-8011362.js diff --git a/test/nashorn/src/jdk/nashorn/test/models/Jdk8072596TestSubject.java b/test/nashorn/src/jdk/nashorn/test/models/Jdk8072596TestSubject.java index 900fe7832..9a14d7f20 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/Jdk8072596TestSubject.java +++ b/test/nashorn/src/jdk/nashorn/test/models/Jdk8072596TestSubject.java @@ -23,12 +23,12 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; import java.util.List; import java.util.Map; -import jdk.nashorn.api.scripting.ScriptObjectMirror; -import jdk.nashorn.internal.runtime.ScriptObject; +import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; +import org.openjdk.nashorn.internal.runtime.ScriptObject; import org.testng.Assert; public class Jdk8072596TestSubject { diff --git a/test/nashorn/src/jdk/nashorn/test/models/LongProvider.java b/test/nashorn/src/jdk/nashorn/test/models/LongProvider.java index d205b8cd0..2a7a2f04d 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/LongProvider.java +++ b/test/nashorn/src/jdk/nashorn/test/models/LongProvider.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; import java.util.Arrays; diff --git a/test/nashorn/src/jdk/nashorn/test/models/Nashorn401TestSubject.java b/test/nashorn/src/jdk/nashorn/test/models/Nashorn401TestSubject.java index 8d5294423..719c9070a 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/Nashorn401TestSubject.java +++ b/test/nashorn/src/jdk/nashorn/test/models/Nashorn401TestSubject.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class Nashorn401TestSubject { diff --git a/test/nashorn/src/jdk/nashorn/test/models/NoAccessibleConstructorClass.java b/test/nashorn/src/jdk/nashorn/test/models/NoAccessibleConstructorClass.java index 68ca4f888..5050216cb 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/NoAccessibleConstructorClass.java +++ b/test/nashorn/src/jdk/nashorn/test/models/NoAccessibleConstructorClass.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class NoAccessibleConstructorClass { diff --git a/test/nashorn/src/jdk/nashorn/test/models/NonPublicClass.java b/test/nashorn/src/jdk/nashorn/test/models/NonPublicClass.java index d0a61856c..f75cdd533 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/NonPublicClass.java +++ b/test/nashorn/src/jdk/nashorn/test/models/NonPublicClass.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; class NonPublicClass { public NonPublicClass() { } diff --git a/test/nashorn/src/jdk/nashorn/test/models/NullProvider.java b/test/nashorn/src/jdk/nashorn/test/models/NullProvider.java index e21bf7aed..b2b6eff3e 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/NullProvider.java +++ b/test/nashorn/src/jdk/nashorn/test/models/NullProvider.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class NullProvider { diff --git a/test/nashorn/src/jdk/nashorn/test/models/OuterClass.java b/test/nashorn/src/jdk/nashorn/test/models/OuterClass.java index 3d6f279a8..77c40fae8 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/OuterClass.java +++ b/test/nashorn/src/jdk/nashorn/test/models/OuterClass.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class OuterClass { diff --git a/test/nashorn/src/jdk/nashorn/test/models/OverloadedSam.java b/test/nashorn/src/jdk/nashorn/test/models/OverloadedSam.java index b75f6b079..c567a8b4a 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/OverloadedSam.java +++ b/test/nashorn/src/jdk/nashorn/test/models/OverloadedSam.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public interface OverloadedSam { diff --git a/test/nashorn/src/jdk/nashorn/test/models/OverloadedSetter.java b/test/nashorn/src/jdk/nashorn/test/models/OverloadedSetter.java index 810ae2f12..b7ff7564d 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/OverloadedSetter.java +++ b/test/nashorn/src/jdk/nashorn/test/models/OverloadedSetter.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; public class OverloadedSetter { private String color; diff --git a/test/nashorn/src/jdk/nashorn/test/models/OverrideObject.java b/test/nashorn/src/jdk/nashorn/test/models/OverrideObject.java index ed5a895ef..e6d6f5483 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/OverrideObject.java +++ b/test/nashorn/src/jdk/nashorn/test/models/OverrideObject.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class OverrideObject { diff --git a/test/nashorn/src/jdk/nashorn/test/models/PropertyBind.java b/test/nashorn/src/jdk/nashorn/test/models/PropertyBind.java index 09e853094..93d14330d 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/PropertyBind.java +++ b/test/nashorn/src/jdk/nashorn/test/models/PropertyBind.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public class PropertyBind { diff --git a/test/nashorn/src/jdk/nashorn/test/models/Reflector.java b/test/nashorn/src/jdk/nashorn/test/models/Reflector.java index 72f2938d0..7d16f7410 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/Reflector.java +++ b/test/nashorn/src/jdk/nashorn/test/models/Reflector.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; import java.lang.reflect.Constructor; import java.lang.reflect.Executable; import java.lang.reflect.Field; import java.lang.reflect.Method; -import jdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.internal.runtime.Context; /** * Few tests reflectively invoke or read fields of Nashorn classes diff --git a/test/nashorn/src/jdk/nashorn/test/models/SourceHelper.java b/test/nashorn/src/jdk/nashorn/test/models/SourceHelper.java index d05258272..f853d483b 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/SourceHelper.java +++ b/test/nashorn/src/jdk/nashorn/test/models/SourceHelper.java @@ -23,13 +23,13 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; import java.io.File; import java.io.IOException; import java.io.Reader; import java.net.URL; -import jdk.nashorn.internal.runtime.Source; +import org.openjdk.nashorn.internal.runtime.Source; /** * Helper class to facilitate script access of nashorn Source class. diff --git a/test/nashorn/src/jdk/nashorn/test/models/StringArgs.java b/test/nashorn/src/jdk/nashorn/test/models/StringArgs.java index d80480f5e..6b1c6755d 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/StringArgs.java +++ b/test/nashorn/src/jdk/nashorn/test/models/StringArgs.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; import java.util.List; diff --git a/test/nashorn/src/jdk/nashorn/test/models/Toothpaste.java b/test/nashorn/src/jdk/nashorn/test/models/Toothpaste.java index 747de89cc..14fcb4d45 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/Toothpaste.java +++ b/test/nashorn/src/jdk/nashorn/test/models/Toothpaste.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; @SuppressWarnings("javadoc") public abstract class Toothpaste { diff --git a/test/nashorn/src/jdk/nashorn/test/models/VarArgConstructor.java b/test/nashorn/src/jdk/nashorn/test/models/VarArgConstructor.java index 6c31627fa..9d2279c24 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/VarArgConstructor.java +++ b/test/nashorn/src/jdk/nashorn/test/models/VarArgConstructor.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; import java.util.List; diff --git a/test/nashorn/src/jdk/nashorn/test/models/VarArgConsumer.java b/test/nashorn/src/jdk/nashorn/test/models/VarArgConsumer.java index a9b540129..41ea898a3 100644 --- a/test/nashorn/src/jdk/nashorn/test/models/VarArgConsumer.java +++ b/test/nashorn/src/jdk/nashorn/test/models/VarArgConsumer.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; /** * Simple function interface with a varargs SAM method. diff --git a/test/nashorn/src/jdk/nashorn/test/nashorn/models/ES6ASTVisitor.java b/test/nashorn/src/jdk/nashorn/test/nashorn/models/ES6ASTVisitor.java index 89a999164..3baa3c780 100644 --- a/test/nashorn/src/jdk/nashorn/test/nashorn/models/ES6ASTVisitor.java +++ b/test/nashorn/src/jdk/nashorn/test/nashorn/models/ES6ASTVisitor.java @@ -23,10 +23,10 @@ * questions. */ -package jdk.nashorn.test.models; +package org.openjdk.nashorn.test.models; -import jdk.nashorn.api.tree.SimpleTreeVisitorES6; -import jdk.nashorn.api.tree.*; +import org.openjdk.nashorn.api.tree.SimpleTreeVisitorES6; +import org.openjdk.nashorn.api.tree.*; public class ES6ASTVisitor{ diff --git a/test/nashorn/src/jdk/nashorn/test/tools/StaticTypeInspector.java b/test/nashorn/src/jdk/nashorn/test/tools/StaticTypeInspector.java index 8a971f3d9..ce4c139e4 100644 --- a/test/nashorn/src/jdk/nashorn/test/tools/StaticTypeInspector.java +++ b/test/nashorn/src/jdk/nashorn/test/tools/StaticTypeInspector.java @@ -22,9 +22,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.nashorn.test.tools; +package org.openjdk.nashorn.test.tools; -import jdk.nashorn.internal.runtime.Undefined; +import org.openjdk.nashorn.internal.runtime.Undefined; @SuppressWarnings("javadoc") public class StaticTypeInspector { From 9c8002345eb6cc5cabe0100a1d508e1714f974dd Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 12:30:54 +0200 Subject: [PATCH 05/29] Package path: jdk/nashorn to org/openjdk/nashorn --- .../symbols/jdk.scripting.nashorn-7.sym.txt | 18 +- .../symbols/jdk.scripting.nashorn-8.sym.txt | 38 +- .../symbols/jdk.scripting.nashorn-9.sym.txt | 1006 ++++++++--------- .../symbols/jdk.scripting.nashorn-A.sym.txt | 2 +- .../symbols/jdk.scripting.nashorn-B.sym.txt | 286 ++--- make/gensrc/Gensrc-jdk.scripting.nashorn.gmk | 2 +- make/nashorn/build-nasgen.xml | 8 +- make/nashorn/build.xml | 40 +- .../tools/nasgen/StringConstants.java | 2 +- .../internal/codegen/CodeGenerator.java | 2 +- .../nashorn/internal/codegen/Compiler.java | 4 +- .../internal/runtime/NashornLoader.java | 10 +- .../linker/JavaAdapterBytecodeGenerator.java | 2 +- test/nashorn/script/trusted/JDK-8025629.js | 2 +- .../internal/runtime/test/SourceTest.java | 2 +- 15 files changed, 712 insertions(+), 712 deletions(-) diff --git a/make/data/symbols/jdk.scripting.nashorn-7.sym.txt b/make/data/symbols/jdk.scripting.nashorn-7.sym.txt index 0bc9c5945..3972fe2fd 100644 --- a/make/data/symbols/jdk.scripting.nashorn-7.sym.txt +++ b/make/data/symbols/jdk.scripting.nashorn-7.sym.txt @@ -26,21 +26,21 @@ # ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ### # ########################################################## # --class name jdk/nashorn/api/scripting/AbstractJSObject +-class name org/openjdk/nashorn/api/scripting/AbstractJSObject --class name jdk/nashorn/api/scripting/ClassFilter +-class name org/openjdk/nashorn/api/scripting/ClassFilter --class name jdk/nashorn/api/scripting/JSObject +-class name org/openjdk/nashorn/api/scripting/JSObject --class name jdk/nashorn/api/scripting/NashornException +-class name org/openjdk/nashorn/api/scripting/NashornException --class name jdk/nashorn/api/scripting/NashornScriptEngine +-class name org/openjdk/nashorn/api/scripting/NashornScriptEngine --class name jdk/nashorn/api/scripting/NashornScriptEngineFactory +-class name org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory --class name jdk/nashorn/api/scripting/ScriptObjectMirror +-class name org/openjdk/nashorn/api/scripting/ScriptObjectMirror --class name jdk/nashorn/api/scripting/ScriptUtils +-class name org/openjdk/nashorn/api/scripting/ScriptUtils --class name jdk/nashorn/api/scripting/URLReader +-class name org/openjdk/nashorn/api/scripting/URLReader diff --git a/make/data/symbols/jdk.scripting.nashorn-8.sym.txt b/make/data/symbols/jdk.scripting.nashorn-8.sym.txt index ae38fef3c..ec1650ed8 100644 --- a/make/data/symbols/jdk.scripting.nashorn-8.sym.txt +++ b/make/data/symbols/jdk.scripting.nashorn-8.sym.txt @@ -26,8 +26,8 @@ # ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ### # ########################################################## # -class name jdk/nashorn/api/scripting/AbstractJSObject -header extends java/lang/Object implements jdk/nashorn/api/scripting/JSObject flags 421 runtimeAnnotations @Ljdk/Exported; +class name org/openjdk/nashorn/api/scripting/AbstractJSObject +header extends java/lang/Object implements org/openjdk/nashorn/api/scripting/JSObject flags 421 runtimeAnnotations @Ljdk/Exported; method name descriptor ()V flags 1 method name call descriptor (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; flags 81 method name newObject descriptor ([Ljava/lang/Object;)Ljava/lang/Object; flags 81 @@ -49,13 +49,13 @@ method name isStrictFunction descriptor ()Z flags 1 method name isArray descriptor ()Z flags 1 method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated; method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Class<*>;)Ljava/lang/Object; -method name getDefaultValue descriptor (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object; flags 9 signature (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class<*>;)Ljava/lang/Object; +method name getDefaultValue descriptor (Lorg/openjdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object; flags 9 signature (Lorg/openjdk/nashorn/api/scripting/JSObject;Ljava/lang/Class<*>;)Ljava/lang/Object; -class name jdk/nashorn/api/scripting/ClassFilter +class name org/openjdk/nashorn/api/scripting/ClassFilter header extends java/lang/Object flags 601 runtimeAnnotations @Ljdk/Exported; method name exposeToScripts descriptor (Ljava/lang/String;)Z flags 401 -class name jdk/nashorn/api/scripting/JSObject +class name org/openjdk/nashorn/api/scripting/JSObject header extends java/lang/Object flags 601 runtimeAnnotations @Ljdk/Exported; method name call descriptor (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; flags 481 method name newObject descriptor ([Ljava/lang/Object;)Ljava/lang/Object; flags 481 @@ -77,7 +77,7 @@ method name isStrictFunction descriptor ()Z flags 401 method name isArray descriptor ()Z flags 401 method name toNumber descriptor ()D flags 401 deprecated true runtimeAnnotations @Ljava/lang/Deprecated; -class name jdk/nashorn/api/scripting/NashornException +class name org/openjdk/nashorn/api/scripting/NashornException header extends java/lang/RuntimeException flags 421 runtimeAnnotations @Ljdk/Exported; method name descriptor (Ljava/lang/String;Ljava/lang/String;II)V flags 4 method name descriptor (Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/String;II)V flags 4 @@ -91,11 +91,11 @@ method name setColumnNumber descriptor (I)V flags 11 method name getScriptFrames descriptor (Ljava/lang/Throwable;)[Ljava/lang/StackTraceElement; flags 9 method name getScriptStackString descriptor (Ljava/lang/Throwable;)Ljava/lang/String; flags 9 method name getThrown descriptor ()Ljava/lang/Object; flags 4 -method name initEcmaError descriptor (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/api/scripting/NashornException; flags 4 +method name initEcmaError descriptor (Lorg/openjdk/nashorn/internal/runtime/ScriptObject;)Lorg/openjdk/nashorn/api/scripting/NashornException; flags 4 method name getEcmaError descriptor ()Ljava/lang/Object; flags 1 method name setEcmaError descriptor (Ljava/lang/Object;)V flags 1 -class name jdk/nashorn/api/scripting/NashornScriptEngine +class name org/openjdk/nashorn/api/scripting/NashornScriptEngine header extends javax/script/AbstractScriptEngine implements javax/script/Compilable,javax/script/Invocable flags 31 runtimeAnnotations @Ljdk/Exported; innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 field name NASHORN_GLOBAL descriptor Ljava/lang/String; constantValue nashorn.global flags 19 @@ -110,7 +110,7 @@ method name invokeMethod descriptor (Ljava/lang/Object;Ljava/lang/String;[Ljava/ method name getInterface descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Class;)TT; method name getInterface descriptor (Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Object;Ljava/lang/Class;)TT; -class name jdk/nashorn/api/scripting/NashornScriptEngineFactory +class name org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory header extends java/lang/Object implements javax/script/ScriptEngineFactory flags 31 runtimeAnnotations @Ljdk/Exported; method name descriptor ()V flags 1 method name getEngineName descriptor ()Ljava/lang/String; flags 1 @@ -126,13 +126,13 @@ method name getParameter descriptor (Ljava/lang/String;)Ljava/lang/Object; flags method name getProgram descriptor ([Ljava/lang/String;)Ljava/lang/String; flags 81 method name getScriptEngine descriptor ()Ljavax/script/ScriptEngine; flags 1 method name getScriptEngine descriptor (Ljava/lang/ClassLoader;)Ljavax/script/ScriptEngine; flags 1 -method name getScriptEngine descriptor (Ljdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1 +method name getScriptEngine descriptor (Lorg/openjdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1 method name getScriptEngine descriptor ([Ljava/lang/String;)Ljavax/script/ScriptEngine; flags 81 method name getScriptEngine descriptor ([Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/script/ScriptEngine; flags 1 -method name getScriptEngine descriptor ([Ljava/lang/String;Ljava/lang/ClassLoader;Ljdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1 +method name getScriptEngine descriptor ([Ljava/lang/String;Ljava/lang/ClassLoader;Lorg/openjdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1 -class name jdk/nashorn/api/scripting/ScriptObjectMirror -header extends jdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31 runtimeAnnotations @Ljdk/Exported; +class name org/openjdk/nashorn/api/scripting/ScriptObjectMirror +header extends org/openjdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31 runtimeAnnotations @Ljdk/Exported; innerclass innerClass java/util/Map$Entry outerClass java/util/Map innerClassName Entry flags 609 method name equals descriptor (Ljava/lang/Object;)Z flags 1 method name hashCode descriptor ()I flags 1 @@ -171,11 +171,11 @@ method name getProto descriptor ()Ljava/lang/Object; flags 1 method name setProto descriptor (Ljava/lang/Object;)V flags 1 method name getOwnPropertyDescriptor descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 1 method name getOwnKeys descriptor (Z)[Ljava/lang/String; flags 1 -method name preventExtensions descriptor ()Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 1 +method name preventExtensions descriptor ()Lorg/openjdk/nashorn/api/scripting/ScriptObjectMirror; flags 1 method name isExtensible descriptor ()Z flags 1 -method name seal descriptor ()Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 1 +method name seal descriptor ()Lorg/openjdk/nashorn/api/scripting/ScriptObjectMirror; flags 1 method name isSealed descriptor ()Z flags 1 -method name freeze descriptor ()Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 1 +method name freeze descriptor ()Lorg/openjdk/nashorn/api/scripting/ScriptObjectMirror; flags 1 method name isFrozen descriptor ()Z flags 1 method name isUndefined descriptor (Ljava/lang/Object;)Z flags 9 method name to descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Class;)TT; @@ -189,18 +189,18 @@ method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @ method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Class<*>;)Ljava/lang/Object; method name put descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 1041 -class name jdk/nashorn/api/scripting/ScriptUtils +class name org/openjdk/nashorn/api/scripting/ScriptUtils header extends java/lang/Object flags 31 runtimeAnnotations @Ljdk/Exported; method name parse descriptor (Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; flags 9 method name format descriptor (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; flags 9 method name makeSynchronizedFunction descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9 -method name wrap descriptor (Ljava/lang/Object;)Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 9 +method name wrap descriptor (Ljava/lang/Object;)Lorg/openjdk/nashorn/api/scripting/ScriptObjectMirror; flags 9 method name unwrap descriptor (Ljava/lang/Object;)Ljava/lang/Object; flags 9 method name wrapArray descriptor ([Ljava/lang/Object;)[Ljava/lang/Object; flags 9 method name unwrapArray descriptor ([Ljava/lang/Object;)[Ljava/lang/Object; flags 9 method name convert descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9 -class name jdk/nashorn/api/scripting/URLReader +class name org/openjdk/nashorn/api/scripting/URLReader header extends java/io/Reader flags 31 runtimeAnnotations @Ljdk/Exported; method name descriptor (Ljava/net/URL;)V flags 1 method name descriptor (Ljava/net/URL;Ljava/lang/String;)V flags 1 diff --git a/make/data/symbols/jdk.scripting.nashorn-9.sym.txt b/make/data/symbols/jdk.scripting.nashorn-9.sym.txt index f0101823d..40d4ea1ed 100644 --- a/make/data/symbols/jdk.scripting.nashorn-9.sym.txt +++ b/make/data/symbols/jdk.scripting.nashorn-9.sym.txt @@ -27,134 +27,134 @@ # ########################################################## # module name org.openjdk.nashorn -header exports jdk/nashorn/api/scripting,jdk/nashorn/api/tree requires name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;jdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;jdk/nashorn/api/linker/NashornLinkerExporter flags 8000 +header exports org/openjdk/nashorn/api/scripting,org/openjdk/nashorn/api/tree requires name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;org/openjdk/nashorn/api/linker/NashornLinkerExporter flags 8000 -class name jdk/nashorn/api/scripting/AbstractJSObject -header extends java/lang/Object implements jdk/nashorn/api/scripting/JSObject flags 421 +class name org/openjdk/nashorn/api/scripting/AbstractJSObject +header extends java/lang/Object implements org/openjdk/nashorn/api/scripting/JSObject flags 421 -method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; --method name getDefaultValue descriptor (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object; -method name getDefaultValue descriptor (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object; flags 9 deprecated true signature (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class<*>;)Ljava/lang/Object; runtimeAnnotations @Ljava/lang/Deprecated; +-method name getDefaultValue descriptor (Lorg/openjdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object; +method name getDefaultValue descriptor (Lorg/openjdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object; flags 9 deprecated true signature (Lorg/openjdk/nashorn/api/scripting/JSObject;Ljava/lang/Class<*>;)Ljava/lang/Object; runtimeAnnotations @Ljava/lang/Deprecated; -class name jdk/nashorn/api/scripting/ClassFilter +class name org/openjdk/nashorn/api/scripting/ClassFilter header extends java/lang/Object flags 601 -class name jdk/nashorn/api/scripting/JSObject +class name org/openjdk/nashorn/api/scripting/JSObject header extends java/lang/Object flags 601 -method name toNumber descriptor ()D method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated; method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; thrownTypes java/lang/UnsupportedOperationException flags 1 signature (Ljava/lang/Class<*>;)Ljava/lang/Object; -class name jdk/nashorn/api/scripting/NashornException +class name org/openjdk/nashorn/api/scripting/NashornException header extends java/lang/RuntimeException flags 421 innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 --method name initEcmaError descriptor (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/api/scripting/NashornException; +-method name initEcmaError descriptor (Lorg/openjdk/nashorn/internal/runtime/ScriptObject;)Lorg/openjdk/nashorn/api/scripting/NashornException; -class name jdk/nashorn/api/scripting/NashornScriptEngine +class name org/openjdk/nashorn/api/scripting/NashornScriptEngine header extends javax/script/AbstractScriptEngine implements javax/script/Compilable,javax/script/Invocable flags 31 innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/scripting/NashornScriptEngineFactory +class name org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory header extends java/lang/Object implements javax/script/ScriptEngineFactory flags 31 innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/scripting/ScriptObjectMirror -header extends jdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31 +class name org/openjdk/nashorn/api/scripting/ScriptObjectMirror +header extends org/openjdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31 innerclass innerClass java/util/Map$Entry outerClass java/util/Map innerClassName Entry flags 609 innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/scripting/ScriptUtils +class name org/openjdk/nashorn/api/scripting/ScriptUtils header extends java/lang/Object flags 31 -class name jdk/nashorn/api/scripting/URLReader +class name org/openjdk/nashorn/api/scripting/URLReader header extends java/io/Reader flags 31 -class name jdk/nashorn/api/tree/ArrayAccessTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getIndex descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 +class name org/openjdk/nashorn/api/tree/ArrayAccessTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getIndex descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 -class name jdk/nashorn/api/tree/ArrayLiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getElements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>; +class name org/openjdk/nashorn/api/tree/ArrayLiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getElements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/ExpressionTree;>; -class name jdk/nashorn/api/tree/AssignmentTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getVariable descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 +class name org/openjdk/nashorn/api/tree/AssignmentTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getVariable descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 -class name jdk/nashorn/api/tree/BinaryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getLeftOperand descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getRightOperand descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 +class name org/openjdk/nashorn/api/tree/BinaryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getLeftOperand descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getRightOperand descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 -class name jdk/nashorn/api/tree/BlockTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getStatements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/StatementTree;>; +class name org/openjdk/nashorn/api/tree/BlockTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getStatements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/StatementTree;>; -class name jdk/nashorn/api/tree/BreakTree -header extends java/lang/Object implements jdk/nashorn/api/tree/GotoTree flags 601 +class name org/openjdk/nashorn/api/tree/BreakTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/GotoTree flags 601 method name getLabel descriptor ()Ljava/lang/String; flags 401 -class name jdk/nashorn/api/tree/CaseTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getStatements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/StatementTree;>; - -class name jdk/nashorn/api/tree/CatchTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 -method name getParameter descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getBlock descriptor ()Ljdk/nashorn/api/tree/BlockTree; flags 401 -method name getCondition descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 - -class name jdk/nashorn/api/tree/ClassDeclarationTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getName descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 -method name getClassHeritage descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getConstructor descriptor ()Ljdk/nashorn/api/tree/PropertyTree; flags 401 -method name getClassElements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/PropertyTree;>; - -class name jdk/nashorn/api/tree/ClassExpressionTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getName descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 -method name getClassHeritage descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getConstructor descriptor ()Ljdk/nashorn/api/tree/PropertyTree; flags 401 -method name getClassElements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/PropertyTree;>; - -class name jdk/nashorn/api/tree/CompilationUnitTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 -method name getSourceElements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/Tree;>; +class name org/openjdk/nashorn/api/tree/CaseTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getStatements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/StatementTree;>; + +class name org/openjdk/nashorn/api/tree/CatchTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 +method name getParameter descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getBlock descriptor ()Lorg/openjdk/nashorn/api/tree/BlockTree; flags 401 +method name getCondition descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 + +class name org/openjdk/nashorn/api/tree/ClassDeclarationTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getName descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 +method name getClassHeritage descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getConstructor descriptor ()Lorg/openjdk/nashorn/api/tree/PropertyTree; flags 401 +method name getClassElements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/PropertyTree;>; + +class name org/openjdk/nashorn/api/tree/ClassExpressionTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getName descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 +method name getClassHeritage descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getConstructor descriptor ()Lorg/openjdk/nashorn/api/tree/PropertyTree; flags 401 +method name getClassElements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/PropertyTree;>; + +class name org/openjdk/nashorn/api/tree/CompilationUnitTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 +method name getSourceElements descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/Tree;>; method name getSourceName descriptor ()Ljava/lang/String; flags 401 method name isStrict descriptor ()Z flags 401 -method name getLineMap descriptor ()Ljdk/nashorn/api/tree/LineMap; flags 401 -method name getModule descriptor ()Ljdk/nashorn/api/tree/ModuleTree; flags 401 - -class name jdk/nashorn/api/tree/CompoundAssignmentTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getVariable descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 - -class name jdk/nashorn/api/tree/ConditionalExpressionTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getCondition descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getTrueExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getFalseExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 - -class name jdk/nashorn/api/tree/ConditionalLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/LoopTree flags 601 -method name getCondition descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 - -class name jdk/nashorn/api/tree/ContinueTree -header extends java/lang/Object implements jdk/nashorn/api/tree/GotoTree flags 601 +method name getLineMap descriptor ()Lorg/openjdk/nashorn/api/tree/LineMap; flags 401 +method name getModule descriptor ()Lorg/openjdk/nashorn/api/tree/ModuleTree; flags 401 + +class name org/openjdk/nashorn/api/tree/CompoundAssignmentTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getVariable descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 + +class name org/openjdk/nashorn/api/tree/ConditionalExpressionTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getCondition descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getTrueExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getFalseExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 + +class name org/openjdk/nashorn/api/tree/ConditionalLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/LoopTree flags 601 +method name getCondition descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 + +class name org/openjdk/nashorn/api/tree/ContinueTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/GotoTree flags 601 method name getLabel descriptor ()Ljava/lang/String; flags 401 -class name jdk/nashorn/api/tree/DebuggerTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 +class name org/openjdk/nashorn/api/tree/DebuggerTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 -class name jdk/nashorn/api/tree/Diagnostic +class name org/openjdk/nashorn/api/tree/Diagnostic header extends java/lang/Object flags 601 -innerclass innerClass jdk/nashorn/api/tree/Diagnostic$Kind outerClass jdk/nashorn/api/tree/Diagnostic innerClassName Kind flags 4019 +innerclass innerClass org/openjdk/nashorn/api/tree/Diagnostic$Kind outerClass org/openjdk/nashorn/api/tree/Diagnostic innerClassName Kind flags 4019 field name NOPOS descriptor J constantValue -1 flags 19 -method name getKind descriptor ()Ljdk/nashorn/api/tree/Diagnostic$Kind; flags 401 +method name getKind descriptor ()Lorg/openjdk/nashorn/api/tree/Diagnostic$Kind; flags 401 method name getPosition descriptor ()J flags 401 method name getFileName descriptor ()Ljava/lang/String; flags 401 method name getLineNumber descriptor ()J flags 401 @@ -162,94 +162,94 @@ method name getColumnNumber descriptor ()J flags 401 method name getCode descriptor ()Ljava/lang/String; flags 401 method name getMessage descriptor ()Ljava/lang/String; flags 401 -class name jdk/nashorn/api/tree/Diagnostic$Kind -header extends java/lang/Enum flags 4031 signature Ljava/lang/Enum; -innerclass innerClass jdk/nashorn/api/tree/Diagnostic$Kind outerClass jdk/nashorn/api/tree/Diagnostic innerClassName Kind flags 4019 -field name ERROR descriptor Ljdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 -field name WARNING descriptor Ljdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 -field name MANDATORY_WARNING descriptor Ljdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 -field name NOTE descriptor Ljdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 -field name OTHER descriptor Ljdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 -method name values descriptor ()[Ljdk/nashorn/api/tree/Diagnostic$Kind; flags 9 -method name valueOf descriptor (Ljava/lang/String;)Ljdk/nashorn/api/tree/Diagnostic$Kind; flags 9 - -class name jdk/nashorn/api/tree/DiagnosticListener +class name org/openjdk/nashorn/api/tree/Diagnostic$Kind +header extends java/lang/Enum flags 4031 signature Ljava/lang/Enum; +innerclass innerClass org/openjdk/nashorn/api/tree/Diagnostic$Kind outerClass org/openjdk/nashorn/api/tree/Diagnostic innerClassName Kind flags 4019 +field name ERROR descriptor Lorg/openjdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 +field name WARNING descriptor Lorg/openjdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 +field name MANDATORY_WARNING descriptor Lorg/openjdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 +field name NOTE descriptor Lorg/openjdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 +field name OTHER descriptor Lorg/openjdk/nashorn/api/tree/Diagnostic$Kind; flags 4019 +method name values descriptor ()[Lorg/openjdk/nashorn/api/tree/Diagnostic$Kind; flags 9 +method name valueOf descriptor (Ljava/lang/String;)Lorg/openjdk/nashorn/api/tree/Diagnostic$Kind; flags 9 + +class name org/openjdk/nashorn/api/tree/DiagnosticListener header extends java/lang/Object flags 601 runtimeAnnotations @Ljava/lang/FunctionalInterface; -method name report descriptor (Ljdk/nashorn/api/tree/Diagnostic;)V flags 401 - -class name jdk/nashorn/api/tree/DoWhileLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ConditionalLoopTree flags 601 -method name getCondition descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 - -class name jdk/nashorn/api/tree/EmptyStatementTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 - -class name jdk/nashorn/api/tree/ErroneousTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 - -class name jdk/nashorn/api/tree/ExportEntryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 -method name getExportName descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 -method name getModuleRequest descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 -method name getImportName descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 -method name getLocalName descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 - -class name jdk/nashorn/api/tree/ExpressionStatementTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 - -class name jdk/nashorn/api/tree/ExpressionTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 - -class name jdk/nashorn/api/tree/ForInLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/LoopTree flags 601 -method name getVariable descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 +method name report descriptor (Lorg/openjdk/nashorn/api/tree/Diagnostic;)V flags 401 + +class name org/openjdk/nashorn/api/tree/DoWhileLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ConditionalLoopTree flags 601 +method name getCondition descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 + +class name org/openjdk/nashorn/api/tree/EmptyStatementTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 + +class name org/openjdk/nashorn/api/tree/ErroneousTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 + +class name org/openjdk/nashorn/api/tree/ExportEntryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 +method name getExportName descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 +method name getModuleRequest descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 +method name getImportName descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 +method name getLocalName descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 + +class name org/openjdk/nashorn/api/tree/ExpressionStatementTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 + +class name org/openjdk/nashorn/api/tree/ExpressionTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 + +class name org/openjdk/nashorn/api/tree/ForInLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/LoopTree flags 601 +method name getVariable descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 method name isForEach descriptor ()Z flags 401 -class name jdk/nashorn/api/tree/ForLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ConditionalLoopTree flags 601 -method name getInitializer descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getCondition descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getUpdate descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 - -class name jdk/nashorn/api/tree/ForOfLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/LoopTree flags 601 -method name getVariable descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 - -class name jdk/nashorn/api/tree/FunctionCallTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getFunctionSelect descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getArguments descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>; - -class name jdk/nashorn/api/tree/FunctionDeclarationTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getName descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 -method name getParameters descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>; -method name getBody descriptor ()Ljdk/nashorn/api/tree/BlockTree; flags 401 +class name org/openjdk/nashorn/api/tree/ForLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ConditionalLoopTree flags 601 +method name getInitializer descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getCondition descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getUpdate descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 + +class name org/openjdk/nashorn/api/tree/ForOfLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/LoopTree flags 601 +method name getVariable descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 + +class name org/openjdk/nashorn/api/tree/FunctionCallTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getFunctionSelect descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getArguments descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/ExpressionTree;>; + +class name org/openjdk/nashorn/api/tree/FunctionDeclarationTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getName descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 +method name getParameters descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/ExpressionTree;>; +method name getBody descriptor ()Lorg/openjdk/nashorn/api/tree/BlockTree; flags 401 method name isStrict descriptor ()Z flags 401 method name isGenerator descriptor ()Z flags 401 -class name jdk/nashorn/api/tree/FunctionExpressionTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getName descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 -method name getParameters descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>; -method name getBody descriptor ()Ljdk/nashorn/api/tree/Tree; flags 401 +class name org/openjdk/nashorn/api/tree/FunctionExpressionTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getName descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 +method name getParameters descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/ExpressionTree;>; +method name getBody descriptor ()Lorg/openjdk/nashorn/api/tree/Tree; flags 401 method name isStrict descriptor ()Z flags 401 method name isArrow descriptor ()Z flags 401 method name isGenerator descriptor ()Z flags 401 -class name jdk/nashorn/api/tree/GotoTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 +class name org/openjdk/nashorn/api/tree/GotoTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 method name getLabel descriptor ()Ljava/lang/String; flags 401 -class name jdk/nashorn/api/tree/IdentifierTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 +class name org/openjdk/nashorn/api/tree/IdentifierTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 method name getName descriptor ()Ljava/lang/String; flags 401 method name isRestParameter descriptor ()Z flags 401 method name isSuper descriptor ()Z flags 401 @@ -258,388 +258,388 @@ method name isStar descriptor ()Z flags 401 method name isDefault descriptor ()Z flags 401 method name isStarDefaultStar descriptor ()Z flags 401 -class name jdk/nashorn/api/tree/IfTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getCondition descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getThenStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 -method name getElseStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 - -class name jdk/nashorn/api/tree/ImportEntryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 -method name getModuleRequest descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 -method name getImportName descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 -method name getLocalName descriptor ()Ljdk/nashorn/api/tree/IdentifierTree; flags 401 - -class name jdk/nashorn/api/tree/InstanceOfTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getType descriptor ()Ljdk/nashorn/api/tree/Tree; flags 401 - -class name jdk/nashorn/api/tree/LabeledStatementTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 +class name org/openjdk/nashorn/api/tree/IfTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getCondition descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getThenStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 +method name getElseStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 + +class name org/openjdk/nashorn/api/tree/ImportEntryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 +method name getModuleRequest descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 +method name getImportName descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 +method name getLocalName descriptor ()Lorg/openjdk/nashorn/api/tree/IdentifierTree; flags 401 + +class name org/openjdk/nashorn/api/tree/InstanceOfTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getType descriptor ()Lorg/openjdk/nashorn/api/tree/Tree; flags 401 + +class name org/openjdk/nashorn/api/tree/LabeledStatementTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 method name getLabel descriptor ()Ljava/lang/String; flags 401 -method name getStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 +method name getStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 -class name jdk/nashorn/api/tree/LineMap +class name org/openjdk/nashorn/api/tree/LineMap header extends java/lang/Object flags 601 method name getLineNumber descriptor (J)J flags 401 method name getColumnNumber descriptor (J)J flags 401 -class name jdk/nashorn/api/tree/LiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 +class name org/openjdk/nashorn/api/tree/LiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 method name getValue descriptor ()Ljava/lang/Object; flags 401 -class name jdk/nashorn/api/tree/LoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 +class name org/openjdk/nashorn/api/tree/LoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 -class name jdk/nashorn/api/tree/MemberSelectTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 +class name org/openjdk/nashorn/api/tree/MemberSelectTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 method name getIdentifier descriptor ()Ljava/lang/String; flags 401 -class name jdk/nashorn/api/tree/ModuleTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 -method name getImportEntries descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/ImportEntryTree;>; -method name getLocalExportEntries descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExportEntryTree;>; -method name getIndirectExportEntries descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExportEntryTree;>; -method name getStarExportEntries descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExportEntryTree;>; +class name org/openjdk/nashorn/api/tree/ModuleTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 +method name getImportEntries descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/ImportEntryTree;>; +method name getLocalExportEntries descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/ExportEntryTree;>; +method name getIndirectExportEntries descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/ExportEntryTree;>; +method name getStarExportEntries descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/ExportEntryTree;>; -class name jdk/nashorn/api/tree/NewTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getConstructorExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 +class name org/openjdk/nashorn/api/tree/NewTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getConstructorExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 -class name jdk/nashorn/api/tree/ObjectLiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getProperties descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/PropertyTree;>; +class name org/openjdk/nashorn/api/tree/ObjectLiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getProperties descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/PropertyTree;>; -class name jdk/nashorn/api/tree/ParenthesizedTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 +class name org/openjdk/nashorn/api/tree/ParenthesizedTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 -class name jdk/nashorn/api/tree/Parser +class name org/openjdk/nashorn/api/tree/Parser header extends java/lang/Object flags 601 -method name parse descriptor (Ljava/io/File;Ljdk/nashorn/api/tree/DiagnosticListener;)Ljdk/nashorn/api/tree/CompilationUnitTree; thrownTypes java/io/IOException,jdk/nashorn/api/scripting/NashornException flags 401 -method name parse descriptor (Ljava/nio/file/Path;Ljdk/nashorn/api/tree/DiagnosticListener;)Ljdk/nashorn/api/tree/CompilationUnitTree; thrownTypes java/io/IOException,jdk/nashorn/api/scripting/NashornException flags 401 -method name parse descriptor (Ljava/net/URL;Ljdk/nashorn/api/tree/DiagnosticListener;)Ljdk/nashorn/api/tree/CompilationUnitTree; thrownTypes java/io/IOException,jdk/nashorn/api/scripting/NashornException flags 401 -method name parse descriptor (Ljava/lang/String;Ljava/io/Reader;Ljdk/nashorn/api/tree/DiagnosticListener;)Ljdk/nashorn/api/tree/CompilationUnitTree; thrownTypes java/io/IOException,jdk/nashorn/api/scripting/NashornException flags 401 -method name parse descriptor (Ljava/lang/String;Ljava/lang/String;Ljdk/nashorn/api/tree/DiagnosticListener;)Ljdk/nashorn/api/tree/CompilationUnitTree; thrownTypes jdk/nashorn/api/scripting/NashornException flags 401 -method name parse descriptor (Ljdk/nashorn/api/scripting/ScriptObjectMirror;Ljdk/nashorn/api/tree/DiagnosticListener;)Ljdk/nashorn/api/tree/CompilationUnitTree; thrownTypes jdk/nashorn/api/scripting/NashornException flags 401 -method name create descriptor ([Ljava/lang/String;)Ljdk/nashorn/api/tree/Parser; thrownTypes java/lang/IllegalArgumentException flags 89 - -class name jdk/nashorn/api/tree/PropertyTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 -method name getKey descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getValue descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getGetter descriptor ()Ljdk/nashorn/api/tree/FunctionExpressionTree; flags 401 -method name getSetter descriptor ()Ljdk/nashorn/api/tree/FunctionExpressionTree; flags 401 +method name parse descriptor (Ljava/io/File;Lorg/openjdk/nashorn/api/tree/DiagnosticListener;)Lorg/openjdk/nashorn/api/tree/CompilationUnitTree; thrownTypes java/io/IOException,org/openjdk/nashorn/api/scripting/NashornException flags 401 +method name parse descriptor (Ljava/nio/file/Path;Lorg/openjdk/nashorn/api/tree/DiagnosticListener;)Lorg/openjdk/nashorn/api/tree/CompilationUnitTree; thrownTypes java/io/IOException,org/openjdk/nashorn/api/scripting/NashornException flags 401 +method name parse descriptor (Ljava/net/URL;Lorg/openjdk/nashorn/api/tree/DiagnosticListener;)Lorg/openjdk/nashorn/api/tree/CompilationUnitTree; thrownTypes java/io/IOException,org/openjdk/nashorn/api/scripting/NashornException flags 401 +method name parse descriptor (Ljava/lang/String;Ljava/io/Reader;Lorg/openjdk/nashorn/api/tree/DiagnosticListener;)Lorg/openjdk/nashorn/api/tree/CompilationUnitTree; thrownTypes java/io/IOException,org/openjdk/nashorn/api/scripting/NashornException flags 401 +method name parse descriptor (Ljava/lang/String;Ljava/lang/String;Lorg/openjdk/nashorn/api/tree/DiagnosticListener;)Lorg/openjdk/nashorn/api/tree/CompilationUnitTree; thrownTypes org/openjdk/nashorn/api/scripting/NashornException flags 401 +method name parse descriptor (Lorg/openjdk/nashorn/api/scripting/ScriptObjectMirror;Lorg/openjdk/nashorn/api/tree/DiagnosticListener;)Lorg/openjdk/nashorn/api/tree/CompilationUnitTree; thrownTypes org/openjdk/nashorn/api/scripting/NashornException flags 401 +method name create descriptor ([Ljava/lang/String;)Lorg/openjdk/nashorn/api/tree/Parser; thrownTypes java/lang/IllegalArgumentException flags 89 + +class name org/openjdk/nashorn/api/tree/PropertyTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 +method name getKey descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getValue descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getGetter descriptor ()Lorg/openjdk/nashorn/api/tree/FunctionExpressionTree; flags 401 +method name getSetter descriptor ()Lorg/openjdk/nashorn/api/tree/FunctionExpressionTree; flags 401 method name isStatic descriptor ()Z flags 401 method name isComputed descriptor ()Z flags 401 -class name jdk/nashorn/api/tree/RegExpLiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 +class name org/openjdk/nashorn/api/tree/RegExpLiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 method name getPattern descriptor ()Ljava/lang/String; flags 401 method name getOptions descriptor ()Ljava/lang/String; flags 401 -class name jdk/nashorn/api/tree/ReturnTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 +class name org/openjdk/nashorn/api/tree/ReturnTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 -class name jdk/nashorn/api/tree/SimpleTreeVisitorES5_1 -header extends java/lang/Object implements jdk/nashorn/api/tree/TreeVisitor flags 21 signature Ljava/lang/Object;Ljdk/nashorn/api/tree/TreeVisitor; +class name org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1 +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/TreeVisitor flags 21 signature Ljava/lang/Object;Lorg/openjdk/nashorn/api/tree/TreeVisitor; innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 method name descriptor ()V flags 1 -method name visitAssignment descriptor (Ljdk/nashorn/api/tree/AssignmentTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/AssignmentTree;TP;)TR; -method name visitCompoundAssignment descriptor (Ljdk/nashorn/api/tree/CompoundAssignmentTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/CompoundAssignmentTree;TP;)TR; -method name visitModule descriptor (Ljdk/nashorn/api/tree/ModuleTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ModuleTree;TP;)TR; -method name visitExportEntry descriptor (Ljdk/nashorn/api/tree/ExportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ExportEntryTree;TP;)TR; -method name visitImportEntry descriptor (Ljdk/nashorn/api/tree/ImportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ImportEntryTree;TP;)TR; -method name visitBinary descriptor (Ljdk/nashorn/api/tree/BinaryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/BinaryTree;TP;)TR; -method name visitBlock descriptor (Ljdk/nashorn/api/tree/BlockTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/BlockTree;TP;)TR; -method name visitBreak descriptor (Ljdk/nashorn/api/tree/BreakTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/BreakTree;TP;)TR; -method name visitCase descriptor (Ljdk/nashorn/api/tree/CaseTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/CaseTree;TP;)TR; -method name visitCatch descriptor (Ljdk/nashorn/api/tree/CatchTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/CatchTree;TP;)TR; -method name visitClassDeclaration descriptor (Ljdk/nashorn/api/tree/ClassDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ClassDeclarationTree;TP;)TR; -method name visitClassExpression descriptor (Ljdk/nashorn/api/tree/ClassExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ClassExpressionTree;TP;)TR; -method name visitConditionalExpression descriptor (Ljdk/nashorn/api/tree/ConditionalExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ConditionalExpressionTree;TP;)TR; -method name visitContinue descriptor (Ljdk/nashorn/api/tree/ContinueTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ContinueTree;TP;)TR; -method name visitDebugger descriptor (Ljdk/nashorn/api/tree/DebuggerTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/DebuggerTree;TP;)TR; -method name visitDoWhileLoop descriptor (Ljdk/nashorn/api/tree/DoWhileLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/DoWhileLoopTree;TP;)TR; -method name visitErroneous descriptor (Ljdk/nashorn/api/tree/ErroneousTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ErroneousTree;TP;)TR; -method name visitExpressionStatement descriptor (Ljdk/nashorn/api/tree/ExpressionStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ExpressionStatementTree;TP;)TR; -method name visitForLoop descriptor (Ljdk/nashorn/api/tree/ForLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ForLoopTree;TP;)TR; -method name visitForInLoop descriptor (Ljdk/nashorn/api/tree/ForInLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ForInLoopTree;TP;)TR; -method name visitForOfLoop descriptor (Ljdk/nashorn/api/tree/ForOfLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ForOfLoopTree;TP;)TR; -method name visitFunctionCall descriptor (Ljdk/nashorn/api/tree/FunctionCallTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/FunctionCallTree;TP;)TR; -method name visitFunctionDeclaration descriptor (Ljdk/nashorn/api/tree/FunctionDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/FunctionDeclarationTree;TP;)TR; -method name visitFunctionExpression descriptor (Ljdk/nashorn/api/tree/FunctionExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/FunctionExpressionTree;TP;)TR; -method name visitIdentifier descriptor (Ljdk/nashorn/api/tree/IdentifierTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/IdentifierTree;TP;)TR; -method name visitIf descriptor (Ljdk/nashorn/api/tree/IfTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/IfTree;TP;)TR; -method name visitArrayAccess descriptor (Ljdk/nashorn/api/tree/ArrayAccessTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ArrayAccessTree;TP;)TR; -method name visitArrayLiteral descriptor (Ljdk/nashorn/api/tree/ArrayLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ArrayLiteralTree;TP;)TR; -method name visitLabeledStatement descriptor (Ljdk/nashorn/api/tree/LabeledStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/LabeledStatementTree;TP;)TR; -method name visitLiteral descriptor (Ljdk/nashorn/api/tree/LiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/LiteralTree;TP;)TR; -method name visitParenthesized descriptor (Ljdk/nashorn/api/tree/ParenthesizedTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ParenthesizedTree;TP;)TR; -method name visitReturn descriptor (Ljdk/nashorn/api/tree/ReturnTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ReturnTree;TP;)TR; -method name visitMemberSelect descriptor (Ljdk/nashorn/api/tree/MemberSelectTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/MemberSelectTree;TP;)TR; -method name visitNew descriptor (Ljdk/nashorn/api/tree/NewTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/NewTree;TP;)TR; -method name visitObjectLiteral descriptor (Ljdk/nashorn/api/tree/ObjectLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ObjectLiteralTree;TP;)TR; -method name visitProperty descriptor (Ljdk/nashorn/api/tree/PropertyTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/PropertyTree;TP;)TR; -method name visitRegExpLiteral descriptor (Ljdk/nashorn/api/tree/RegExpLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/RegExpLiteralTree;TP;)TR; -method name visitTemplateLiteral descriptor (Ljdk/nashorn/api/tree/TemplateLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/TemplateLiteralTree;TP;)TR; -method name visitEmptyStatement descriptor (Ljdk/nashorn/api/tree/EmptyStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/EmptyStatementTree;TP;)TR; -method name visitSpread descriptor (Ljdk/nashorn/api/tree/SpreadTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/SpreadTree;TP;)TR; -method name visitSwitch descriptor (Ljdk/nashorn/api/tree/SwitchTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/SwitchTree;TP;)TR; -method name visitThrow descriptor (Ljdk/nashorn/api/tree/ThrowTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ThrowTree;TP;)TR; -method name visitCompilationUnit descriptor (Ljdk/nashorn/api/tree/CompilationUnitTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/CompilationUnitTree;TP;)TR; -method name visitTry descriptor (Ljdk/nashorn/api/tree/TryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/TryTree;TP;)TR; -method name visitInstanceOf descriptor (Ljdk/nashorn/api/tree/InstanceOfTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/InstanceOfTree;TP;)TR; -method name visitUnary descriptor (Ljdk/nashorn/api/tree/UnaryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/UnaryTree;TP;)TR; -method name visitVariable descriptor (Ljdk/nashorn/api/tree/VariableTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/VariableTree;TP;)TR; -method name visitWhileLoop descriptor (Ljdk/nashorn/api/tree/WhileLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/WhileLoopTree;TP;)TR; -method name visitWith descriptor (Ljdk/nashorn/api/tree/WithTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/WithTree;TP;)TR; -method name visitYield descriptor (Ljdk/nashorn/api/tree/YieldTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/YieldTree;TP;)TR; -method name visitUnknown descriptor (Ljdk/nashorn/api/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/Tree;TP;)TR; - -class name jdk/nashorn/api/tree/SimpleTreeVisitorES6 -header extends jdk/nashorn/api/tree/SimpleTreeVisitorES5_1 flags 21 signature Ljdk/nashorn/api/tree/SimpleTreeVisitorES5_1; +method name visitAssignment descriptor (Lorg/openjdk/nashorn/api/tree/AssignmentTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/AssignmentTree;TP;)TR; +method name visitCompoundAssignment descriptor (Lorg/openjdk/nashorn/api/tree/CompoundAssignmentTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/CompoundAssignmentTree;TP;)TR; +method name visitModule descriptor (Lorg/openjdk/nashorn/api/tree/ModuleTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ModuleTree;TP;)TR; +method name visitExportEntry descriptor (Lorg/openjdk/nashorn/api/tree/ExportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ExportEntryTree;TP;)TR; +method name visitImportEntry descriptor (Lorg/openjdk/nashorn/api/tree/ImportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ImportEntryTree;TP;)TR; +method name visitBinary descriptor (Lorg/openjdk/nashorn/api/tree/BinaryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/BinaryTree;TP;)TR; +method name visitBlock descriptor (Lorg/openjdk/nashorn/api/tree/BlockTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/BlockTree;TP;)TR; +method name visitBreak descriptor (Lorg/openjdk/nashorn/api/tree/BreakTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/BreakTree;TP;)TR; +method name visitCase descriptor (Lorg/openjdk/nashorn/api/tree/CaseTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/CaseTree;TP;)TR; +method name visitCatch descriptor (Lorg/openjdk/nashorn/api/tree/CatchTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/CatchTree;TP;)TR; +method name visitClassDeclaration descriptor (Lorg/openjdk/nashorn/api/tree/ClassDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ClassDeclarationTree;TP;)TR; +method name visitClassExpression descriptor (Lorg/openjdk/nashorn/api/tree/ClassExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ClassExpressionTree;TP;)TR; +method name visitConditionalExpression descriptor (Lorg/openjdk/nashorn/api/tree/ConditionalExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ConditionalExpressionTree;TP;)TR; +method name visitContinue descriptor (Lorg/openjdk/nashorn/api/tree/ContinueTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ContinueTree;TP;)TR; +method name visitDebugger descriptor (Lorg/openjdk/nashorn/api/tree/DebuggerTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/DebuggerTree;TP;)TR; +method name visitDoWhileLoop descriptor (Lorg/openjdk/nashorn/api/tree/DoWhileLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/DoWhileLoopTree;TP;)TR; +method name visitErroneous descriptor (Lorg/openjdk/nashorn/api/tree/ErroneousTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ErroneousTree;TP;)TR; +method name visitExpressionStatement descriptor (Lorg/openjdk/nashorn/api/tree/ExpressionStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ExpressionStatementTree;TP;)TR; +method name visitForLoop descriptor (Lorg/openjdk/nashorn/api/tree/ForLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ForLoopTree;TP;)TR; +method name visitForInLoop descriptor (Lorg/openjdk/nashorn/api/tree/ForInLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ForInLoopTree;TP;)TR; +method name visitForOfLoop descriptor (Lorg/openjdk/nashorn/api/tree/ForOfLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ForOfLoopTree;TP;)TR; +method name visitFunctionCall descriptor (Lorg/openjdk/nashorn/api/tree/FunctionCallTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/FunctionCallTree;TP;)TR; +method name visitFunctionDeclaration descriptor (Lorg/openjdk/nashorn/api/tree/FunctionDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/FunctionDeclarationTree;TP;)TR; +method name visitFunctionExpression descriptor (Lorg/openjdk/nashorn/api/tree/FunctionExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/FunctionExpressionTree;TP;)TR; +method name visitIdentifier descriptor (Lorg/openjdk/nashorn/api/tree/IdentifierTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/IdentifierTree;TP;)TR; +method name visitIf descriptor (Lorg/openjdk/nashorn/api/tree/IfTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/IfTree;TP;)TR; +method name visitArrayAccess descriptor (Lorg/openjdk/nashorn/api/tree/ArrayAccessTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ArrayAccessTree;TP;)TR; +method name visitArrayLiteral descriptor (Lorg/openjdk/nashorn/api/tree/ArrayLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ArrayLiteralTree;TP;)TR; +method name visitLabeledStatement descriptor (Lorg/openjdk/nashorn/api/tree/LabeledStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/LabeledStatementTree;TP;)TR; +method name visitLiteral descriptor (Lorg/openjdk/nashorn/api/tree/LiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/LiteralTree;TP;)TR; +method name visitParenthesized descriptor (Lorg/openjdk/nashorn/api/tree/ParenthesizedTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ParenthesizedTree;TP;)TR; +method name visitReturn descriptor (Lorg/openjdk/nashorn/api/tree/ReturnTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ReturnTree;TP;)TR; +method name visitMemberSelect descriptor (Lorg/openjdk/nashorn/api/tree/MemberSelectTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/MemberSelectTree;TP;)TR; +method name visitNew descriptor (Lorg/openjdk/nashorn/api/tree/NewTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/NewTree;TP;)TR; +method name visitObjectLiteral descriptor (Lorg/openjdk/nashorn/api/tree/ObjectLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ObjectLiteralTree;TP;)TR; +method name visitProperty descriptor (Lorg/openjdk/nashorn/api/tree/PropertyTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/PropertyTree;TP;)TR; +method name visitRegExpLiteral descriptor (Lorg/openjdk/nashorn/api/tree/RegExpLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/RegExpLiteralTree;TP;)TR; +method name visitTemplateLiteral descriptor (Lorg/openjdk/nashorn/api/tree/TemplateLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/TemplateLiteralTree;TP;)TR; +method name visitEmptyStatement descriptor (Lorg/openjdk/nashorn/api/tree/EmptyStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/EmptyStatementTree;TP;)TR; +method name visitSpread descriptor (Lorg/openjdk/nashorn/api/tree/SpreadTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/SpreadTree;TP;)TR; +method name visitSwitch descriptor (Lorg/openjdk/nashorn/api/tree/SwitchTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/SwitchTree;TP;)TR; +method name visitThrow descriptor (Lorg/openjdk/nashorn/api/tree/ThrowTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ThrowTree;TP;)TR; +method name visitCompilationUnit descriptor (Lorg/openjdk/nashorn/api/tree/CompilationUnitTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/CompilationUnitTree;TP;)TR; +method name visitTry descriptor (Lorg/openjdk/nashorn/api/tree/TryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/TryTree;TP;)TR; +method name visitInstanceOf descriptor (Lorg/openjdk/nashorn/api/tree/InstanceOfTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/InstanceOfTree;TP;)TR; +method name visitUnary descriptor (Lorg/openjdk/nashorn/api/tree/UnaryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/UnaryTree;TP;)TR; +method name visitVariable descriptor (Lorg/openjdk/nashorn/api/tree/VariableTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/VariableTree;TP;)TR; +method name visitWhileLoop descriptor (Lorg/openjdk/nashorn/api/tree/WhileLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/WhileLoopTree;TP;)TR; +method name visitWith descriptor (Lorg/openjdk/nashorn/api/tree/WithTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/WithTree;TP;)TR; +method name visitYield descriptor (Lorg/openjdk/nashorn/api/tree/YieldTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/YieldTree;TP;)TR; +method name visitUnknown descriptor (Lorg/openjdk/nashorn/api/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/Tree;TP;)TR; + +class name org/openjdk/nashorn/api/tree/SimpleTreeVisitorES6 +header extends org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1 flags 21 signature Lorg/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1; innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 method name descriptor ()V flags 1 -method name visitCompilationUnit descriptor (Ljdk/nashorn/api/tree/CompilationUnitTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/CompilationUnitTree;TP;)TR; -method name visitModule descriptor (Ljdk/nashorn/api/tree/ModuleTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ModuleTree;TP;)TR; -method name visitExportEntry descriptor (Ljdk/nashorn/api/tree/ExportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ExportEntryTree;TP;)TR; -method name visitImportEntry descriptor (Ljdk/nashorn/api/tree/ImportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ImportEntryTree;TP;)TR; -method name visitClassDeclaration descriptor (Ljdk/nashorn/api/tree/ClassDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ClassDeclarationTree;TP;)TR; -method name visitClassExpression descriptor (Ljdk/nashorn/api/tree/ClassExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ClassExpressionTree;TP;)TR; -method name visitForOfLoop descriptor (Ljdk/nashorn/api/tree/ForOfLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/ForOfLoopTree;TP;)TR; -method name visitYield descriptor (Ljdk/nashorn/api/tree/YieldTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/YieldTree;TP;)TR; -method name visitSpread descriptor (Ljdk/nashorn/api/tree/SpreadTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/SpreadTree;TP;)TR; -method name visitTemplateLiteral descriptor (Ljdk/nashorn/api/tree/TemplateLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/TemplateLiteralTree;TP;)TR; -method name visitVariable descriptor (Ljdk/nashorn/api/tree/VariableTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Ljdk/nashorn/api/tree/VariableTree;TP;)TR; - -class name jdk/nashorn/api/tree/SpreadTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 - -class name jdk/nashorn/api/tree/StatementTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 - -class name jdk/nashorn/api/tree/SwitchTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getCases descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/CaseTree;>; - -class name jdk/nashorn/api/tree/TemplateLiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getExpressions descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>; - -class name jdk/nashorn/api/tree/ThrowTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 - -class name jdk/nashorn/api/tree/Tree +method name visitCompilationUnit descriptor (Lorg/openjdk/nashorn/api/tree/CompilationUnitTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/CompilationUnitTree;TP;)TR; +method name visitModule descriptor (Lorg/openjdk/nashorn/api/tree/ModuleTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ModuleTree;TP;)TR; +method name visitExportEntry descriptor (Lorg/openjdk/nashorn/api/tree/ExportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ExportEntryTree;TP;)TR; +method name visitImportEntry descriptor (Lorg/openjdk/nashorn/api/tree/ImportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ImportEntryTree;TP;)TR; +method name visitClassDeclaration descriptor (Lorg/openjdk/nashorn/api/tree/ClassDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ClassDeclarationTree;TP;)TR; +method name visitClassExpression descriptor (Lorg/openjdk/nashorn/api/tree/ClassExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ClassExpressionTree;TP;)TR; +method name visitForOfLoop descriptor (Lorg/openjdk/nashorn/api/tree/ForOfLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/ForOfLoopTree;TP;)TR; +method name visitYield descriptor (Lorg/openjdk/nashorn/api/tree/YieldTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/YieldTree;TP;)TR; +method name visitSpread descriptor (Lorg/openjdk/nashorn/api/tree/SpreadTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/SpreadTree;TP;)TR; +method name visitTemplateLiteral descriptor (Lorg/openjdk/nashorn/api/tree/TemplateLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/TemplateLiteralTree;TP;)TR; +method name visitVariable descriptor (Lorg/openjdk/nashorn/api/tree/VariableTree;Ljava/lang/Object;)Ljava/lang/Object; flags 1 signature (Lorg/openjdk/nashorn/api/tree/VariableTree;TP;)TR; + +class name org/openjdk/nashorn/api/tree/SpreadTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 + +class name org/openjdk/nashorn/api/tree/StatementTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 + +class name org/openjdk/nashorn/api/tree/SwitchTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getCases descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/CaseTree;>; + +class name org/openjdk/nashorn/api/tree/TemplateLiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getExpressions descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/ExpressionTree;>; + +class name org/openjdk/nashorn/api/tree/ThrowTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 + +class name org/openjdk/nashorn/api/tree/Tree header extends java/lang/Object flags 601 -innerclass innerClass jdk/nashorn/api/tree/Tree$Kind outerClass jdk/nashorn/api/tree/Tree innerClassName Kind flags 4019 +innerclass innerClass org/openjdk/nashorn/api/tree/Tree$Kind outerClass org/openjdk/nashorn/api/tree/Tree innerClassName Kind flags 4019 method name getStartPosition descriptor ()J flags 401 method name getEndPosition descriptor ()J flags 401 -method name getKind descriptor ()Ljdk/nashorn/api/tree/Tree$Kind; flags 401 -method name accept descriptor (Ljdk/nashorn/api/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/TreeVisitor;TD;)TR; - -class name jdk/nashorn/api/tree/Tree$Kind -header extends java/lang/Enum flags 4031 signature Ljava/lang/Enum; -innerclass innerClass jdk/nashorn/api/tree/Tree$Kind outerClass jdk/nashorn/api/tree/Tree innerClassName Kind flags 4019 -field name ARRAY_ACCESS descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name ARRAY_LITERAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name BLOCK descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name BREAK descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name CLASS descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name CLASS_EXPRESSION descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name CASE descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name CATCH descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name COMPILATION_UNIT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name CONDITIONAL_EXPRESSION descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name CONTINUE descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name DO_WHILE_LOOP descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name DEBUGGER descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name FOR_IN_LOOP descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name FUNCTION_EXPRESSION descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name ERROR descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name EXPRESSION_STATEMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name MEMBER_SELECT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name FOR_LOOP descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name IDENTIFIER descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name IF descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name INSTANCE_OF descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name LABELED_STATEMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name MODULE descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name EXPORT_ENTRY descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name IMPORT_ENTRY descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name FUNCTION descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name FUNCTION_INVOCATION descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name NEW descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name OBJECT_LITERAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name PARENTHESIZED descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name PROPERTY descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name REGEXP_LITERAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name TEMPLATE_LITERAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name RETURN descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name EMPTY_STATEMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name SWITCH descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name THROW descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name TRY descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name VARIABLE descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name WHILE_LOOP descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name WITH descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name POSTFIX_INCREMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name POSTFIX_DECREMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name PREFIX_INCREMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name PREFIX_DECREMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name UNARY_PLUS descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name UNARY_MINUS descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name BITWISE_COMPLEMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name LOGICAL_COMPLEMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name DELETE descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name TYPEOF descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name VOID descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name COMMA descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name MULTIPLY descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name DIVIDE descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name REMAINDER descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name PLUS descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name MINUS descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name LEFT_SHIFT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name RIGHT_SHIFT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name UNSIGNED_RIGHT_SHIFT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name LESS_THAN descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name GREATER_THAN descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name LESS_THAN_EQUAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name GREATER_THAN_EQUAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name IN descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name EQUAL_TO descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name NOT_EQUAL_TO descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name STRICT_EQUAL_TO descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name STRICT_NOT_EQUAL_TO descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name AND descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name XOR descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name OR descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name CONDITIONAL_AND descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name CONDITIONAL_OR descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name MULTIPLY_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name DIVIDE_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name REMAINDER_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name PLUS_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name MINUS_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name LEFT_SHIFT_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name RIGHT_SHIFT_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name UNSIGNED_RIGHT_SHIFT_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name AND_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name XOR_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name OR_ASSIGNMENT descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name SPREAD descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name YIELD descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name NUMBER_LITERAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name BOOLEAN_LITERAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name STRING_LITERAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name NULL_LITERAL descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -field name OTHER descriptor Ljdk/nashorn/api/tree/Tree$Kind; flags 4019 -method name values descriptor ()[Ljdk/nashorn/api/tree/Tree$Kind; flags 9 -method name valueOf descriptor (Ljava/lang/String;)Ljdk/nashorn/api/tree/Tree$Kind; flags 9 -method name asInterface descriptor ()Ljava/lang/Class; flags 1 signature ()Ljava/lang/Class<+Ljdk/nashorn/api/tree/Tree;>; +method name getKind descriptor ()Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 401 +method name accept descriptor (Lorg/openjdk/nashorn/api/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/TreeVisitor;TD;)TR; + +class name org/openjdk/nashorn/api/tree/Tree$Kind +header extends java/lang/Enum flags 4031 signature Ljava/lang/Enum; +innerclass innerClass org/openjdk/nashorn/api/tree/Tree$Kind outerClass org/openjdk/nashorn/api/tree/Tree innerClassName Kind flags 4019 +field name ARRAY_ACCESS descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name ARRAY_LITERAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name BLOCK descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name BREAK descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name CLASS descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name CLASS_EXPRESSION descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name CASE descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name CATCH descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name COMPILATION_UNIT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name CONDITIONAL_EXPRESSION descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name CONTINUE descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name DO_WHILE_LOOP descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name DEBUGGER descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name FOR_IN_LOOP descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name FUNCTION_EXPRESSION descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name ERROR descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name EXPRESSION_STATEMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name MEMBER_SELECT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name FOR_LOOP descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name IDENTIFIER descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name IF descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name INSTANCE_OF descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name LABELED_STATEMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name MODULE descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name EXPORT_ENTRY descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name IMPORT_ENTRY descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name FUNCTION descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name FUNCTION_INVOCATION descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name NEW descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name OBJECT_LITERAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name PARENTHESIZED descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name PROPERTY descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name REGEXP_LITERAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name TEMPLATE_LITERAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name RETURN descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name EMPTY_STATEMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name SWITCH descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name THROW descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name TRY descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name VARIABLE descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name WHILE_LOOP descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name WITH descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name POSTFIX_INCREMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name POSTFIX_DECREMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name PREFIX_INCREMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name PREFIX_DECREMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name UNARY_PLUS descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name UNARY_MINUS descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name BITWISE_COMPLEMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name LOGICAL_COMPLEMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name DELETE descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name TYPEOF descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name VOID descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name COMMA descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name MULTIPLY descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name DIVIDE descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name REMAINDER descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name PLUS descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name MINUS descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name LEFT_SHIFT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name RIGHT_SHIFT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name UNSIGNED_RIGHT_SHIFT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name LESS_THAN descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name GREATER_THAN descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name LESS_THAN_EQUAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name GREATER_THAN_EQUAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name IN descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name EQUAL_TO descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name NOT_EQUAL_TO descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name STRICT_EQUAL_TO descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name STRICT_NOT_EQUAL_TO descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name AND descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name XOR descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name OR descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name CONDITIONAL_AND descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name CONDITIONAL_OR descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name MULTIPLY_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name DIVIDE_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name REMAINDER_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name PLUS_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name MINUS_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name LEFT_SHIFT_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name RIGHT_SHIFT_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name UNSIGNED_RIGHT_SHIFT_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name AND_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name XOR_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name OR_ASSIGNMENT descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name SPREAD descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name YIELD descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name NUMBER_LITERAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name BOOLEAN_LITERAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name STRING_LITERAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name NULL_LITERAL descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +field name OTHER descriptor Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 4019 +method name values descriptor ()[Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 9 +method name valueOf descriptor (Ljava/lang/String;)Lorg/openjdk/nashorn/api/tree/Tree$Kind; flags 9 +method name asInterface descriptor ()Ljava/lang/Class; flags 1 signature ()Ljava/lang/Class<+Lorg/openjdk/nashorn/api/tree/Tree;>; method name isLiteral descriptor ()Z flags 1 method name isExpression descriptor ()Z flags 1 method name isStatement descriptor ()Z flags 1 -class name jdk/nashorn/api/tree/TreeVisitor +class name org/openjdk/nashorn/api/tree/TreeVisitor header extends java/lang/Object flags 601 signature Ljava/lang/Object; -method name visitAssignment descriptor (Ljdk/nashorn/api/tree/AssignmentTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/AssignmentTree;TP;)TR; -method name visitCompoundAssignment descriptor (Ljdk/nashorn/api/tree/CompoundAssignmentTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/CompoundAssignmentTree;TP;)TR; -method name visitBinary descriptor (Ljdk/nashorn/api/tree/BinaryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/BinaryTree;TP;)TR; -method name visitBlock descriptor (Ljdk/nashorn/api/tree/BlockTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/BlockTree;TP;)TR; -method name visitBreak descriptor (Ljdk/nashorn/api/tree/BreakTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/BreakTree;TP;)TR; -method name visitCase descriptor (Ljdk/nashorn/api/tree/CaseTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/CaseTree;TP;)TR; -method name visitCatch descriptor (Ljdk/nashorn/api/tree/CatchTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/CatchTree;TP;)TR; -method name visitClassDeclaration descriptor (Ljdk/nashorn/api/tree/ClassDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ClassDeclarationTree;TP;)TR; -method name visitClassExpression descriptor (Ljdk/nashorn/api/tree/ClassExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ClassExpressionTree;TP;)TR; -method name visitConditionalExpression descriptor (Ljdk/nashorn/api/tree/ConditionalExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ConditionalExpressionTree;TP;)TR; -method name visitContinue descriptor (Ljdk/nashorn/api/tree/ContinueTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ContinueTree;TP;)TR; -method name visitDebugger descriptor (Ljdk/nashorn/api/tree/DebuggerTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/DebuggerTree;TP;)TR; -method name visitDoWhileLoop descriptor (Ljdk/nashorn/api/tree/DoWhileLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/DoWhileLoopTree;TP;)TR; -method name visitErroneous descriptor (Ljdk/nashorn/api/tree/ErroneousTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ErroneousTree;TP;)TR; -method name visitExpressionStatement descriptor (Ljdk/nashorn/api/tree/ExpressionStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ExpressionStatementTree;TP;)TR; -method name visitForLoop descriptor (Ljdk/nashorn/api/tree/ForLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ForLoopTree;TP;)TR; -method name visitForInLoop descriptor (Ljdk/nashorn/api/tree/ForInLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ForInLoopTree;TP;)TR; -method name visitForOfLoop descriptor (Ljdk/nashorn/api/tree/ForOfLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ForOfLoopTree;TP;)TR; -method name visitFunctionCall descriptor (Ljdk/nashorn/api/tree/FunctionCallTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/FunctionCallTree;TP;)TR; -method name visitFunctionDeclaration descriptor (Ljdk/nashorn/api/tree/FunctionDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/FunctionDeclarationTree;TP;)TR; -method name visitFunctionExpression descriptor (Ljdk/nashorn/api/tree/FunctionExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/FunctionExpressionTree;TP;)TR; -method name visitIdentifier descriptor (Ljdk/nashorn/api/tree/IdentifierTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/IdentifierTree;TP;)TR; -method name visitIf descriptor (Ljdk/nashorn/api/tree/IfTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/IfTree;TP;)TR; -method name visitArrayAccess descriptor (Ljdk/nashorn/api/tree/ArrayAccessTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ArrayAccessTree;TP;)TR; -method name visitArrayLiteral descriptor (Ljdk/nashorn/api/tree/ArrayLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ArrayLiteralTree;TP;)TR; -method name visitLabeledStatement descriptor (Ljdk/nashorn/api/tree/LabeledStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/LabeledStatementTree;TP;)TR; -method name visitLiteral descriptor (Ljdk/nashorn/api/tree/LiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/LiteralTree;TP;)TR; -method name visitParenthesized descriptor (Ljdk/nashorn/api/tree/ParenthesizedTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ParenthesizedTree;TP;)TR; -method name visitReturn descriptor (Ljdk/nashorn/api/tree/ReturnTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ReturnTree;TP;)TR; -method name visitMemberSelect descriptor (Ljdk/nashorn/api/tree/MemberSelectTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/MemberSelectTree;TP;)TR; -method name visitNew descriptor (Ljdk/nashorn/api/tree/NewTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/NewTree;TP;)TR; -method name visitObjectLiteral descriptor (Ljdk/nashorn/api/tree/ObjectLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ObjectLiteralTree;TP;)TR; -method name visitProperty descriptor (Ljdk/nashorn/api/tree/PropertyTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/PropertyTree;TP;)TR; -method name visitRegExpLiteral descriptor (Ljdk/nashorn/api/tree/RegExpLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/RegExpLiteralTree;TP;)TR; -method name visitTemplateLiteral descriptor (Ljdk/nashorn/api/tree/TemplateLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/TemplateLiteralTree;TP;)TR; -method name visitEmptyStatement descriptor (Ljdk/nashorn/api/tree/EmptyStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/EmptyStatementTree;TP;)TR; -method name visitSpread descriptor (Ljdk/nashorn/api/tree/SpreadTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/SpreadTree;TP;)TR; -method name visitSwitch descriptor (Ljdk/nashorn/api/tree/SwitchTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/SwitchTree;TP;)TR; -method name visitThrow descriptor (Ljdk/nashorn/api/tree/ThrowTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ThrowTree;TP;)TR; -method name visitCompilationUnit descriptor (Ljdk/nashorn/api/tree/CompilationUnitTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/CompilationUnitTree;TP;)TR; -method name visitModule descriptor (Ljdk/nashorn/api/tree/ModuleTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ModuleTree;TP;)TR; -method name visitExportEntry descriptor (Ljdk/nashorn/api/tree/ExportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ExportEntryTree;TP;)TR; -method name visitImportEntry descriptor (Ljdk/nashorn/api/tree/ImportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/ImportEntryTree;TP;)TR; -method name visitTry descriptor (Ljdk/nashorn/api/tree/TryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/TryTree;TP;)TR; -method name visitInstanceOf descriptor (Ljdk/nashorn/api/tree/InstanceOfTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/InstanceOfTree;TP;)TR; -method name visitUnary descriptor (Ljdk/nashorn/api/tree/UnaryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/UnaryTree;TP;)TR; -method name visitVariable descriptor (Ljdk/nashorn/api/tree/VariableTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/VariableTree;TP;)TR; -method name visitWhileLoop descriptor (Ljdk/nashorn/api/tree/WhileLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/WhileLoopTree;TP;)TR; -method name visitWith descriptor (Ljdk/nashorn/api/tree/WithTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/WithTree;TP;)TR; -method name visitYield descriptor (Ljdk/nashorn/api/tree/YieldTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/YieldTree;TP;)TR; -method name visitUnknown descriptor (Ljdk/nashorn/api/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Ljdk/nashorn/api/tree/Tree;TP;)TR; - -class name jdk/nashorn/api/tree/TryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getBlock descriptor ()Ljdk/nashorn/api/tree/BlockTree; flags 401 -method name getCatches descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Ljdk/nashorn/api/tree/CatchTree;>; -method name getFinallyBlock descriptor ()Ljdk/nashorn/api/tree/BlockTree; flags 401 - -class name jdk/nashorn/api/tree/UnaryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 - -class name jdk/nashorn/api/tree/UnknownTreeException +method name visitAssignment descriptor (Lorg/openjdk/nashorn/api/tree/AssignmentTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/AssignmentTree;TP;)TR; +method name visitCompoundAssignment descriptor (Lorg/openjdk/nashorn/api/tree/CompoundAssignmentTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/CompoundAssignmentTree;TP;)TR; +method name visitBinary descriptor (Lorg/openjdk/nashorn/api/tree/BinaryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/BinaryTree;TP;)TR; +method name visitBlock descriptor (Lorg/openjdk/nashorn/api/tree/BlockTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/BlockTree;TP;)TR; +method name visitBreak descriptor (Lorg/openjdk/nashorn/api/tree/BreakTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/BreakTree;TP;)TR; +method name visitCase descriptor (Lorg/openjdk/nashorn/api/tree/CaseTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/CaseTree;TP;)TR; +method name visitCatch descriptor (Lorg/openjdk/nashorn/api/tree/CatchTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/CatchTree;TP;)TR; +method name visitClassDeclaration descriptor (Lorg/openjdk/nashorn/api/tree/ClassDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ClassDeclarationTree;TP;)TR; +method name visitClassExpression descriptor (Lorg/openjdk/nashorn/api/tree/ClassExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ClassExpressionTree;TP;)TR; +method name visitConditionalExpression descriptor (Lorg/openjdk/nashorn/api/tree/ConditionalExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ConditionalExpressionTree;TP;)TR; +method name visitContinue descriptor (Lorg/openjdk/nashorn/api/tree/ContinueTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ContinueTree;TP;)TR; +method name visitDebugger descriptor (Lorg/openjdk/nashorn/api/tree/DebuggerTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/DebuggerTree;TP;)TR; +method name visitDoWhileLoop descriptor (Lorg/openjdk/nashorn/api/tree/DoWhileLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/DoWhileLoopTree;TP;)TR; +method name visitErroneous descriptor (Lorg/openjdk/nashorn/api/tree/ErroneousTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ErroneousTree;TP;)TR; +method name visitExpressionStatement descriptor (Lorg/openjdk/nashorn/api/tree/ExpressionStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ExpressionStatementTree;TP;)TR; +method name visitForLoop descriptor (Lorg/openjdk/nashorn/api/tree/ForLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ForLoopTree;TP;)TR; +method name visitForInLoop descriptor (Lorg/openjdk/nashorn/api/tree/ForInLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ForInLoopTree;TP;)TR; +method name visitForOfLoop descriptor (Lorg/openjdk/nashorn/api/tree/ForOfLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ForOfLoopTree;TP;)TR; +method name visitFunctionCall descriptor (Lorg/openjdk/nashorn/api/tree/FunctionCallTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/FunctionCallTree;TP;)TR; +method name visitFunctionDeclaration descriptor (Lorg/openjdk/nashorn/api/tree/FunctionDeclarationTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/FunctionDeclarationTree;TP;)TR; +method name visitFunctionExpression descriptor (Lorg/openjdk/nashorn/api/tree/FunctionExpressionTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/FunctionExpressionTree;TP;)TR; +method name visitIdentifier descriptor (Lorg/openjdk/nashorn/api/tree/IdentifierTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/IdentifierTree;TP;)TR; +method name visitIf descriptor (Lorg/openjdk/nashorn/api/tree/IfTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/IfTree;TP;)TR; +method name visitArrayAccess descriptor (Lorg/openjdk/nashorn/api/tree/ArrayAccessTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ArrayAccessTree;TP;)TR; +method name visitArrayLiteral descriptor (Lorg/openjdk/nashorn/api/tree/ArrayLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ArrayLiteralTree;TP;)TR; +method name visitLabeledStatement descriptor (Lorg/openjdk/nashorn/api/tree/LabeledStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/LabeledStatementTree;TP;)TR; +method name visitLiteral descriptor (Lorg/openjdk/nashorn/api/tree/LiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/LiteralTree;TP;)TR; +method name visitParenthesized descriptor (Lorg/openjdk/nashorn/api/tree/ParenthesizedTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ParenthesizedTree;TP;)TR; +method name visitReturn descriptor (Lorg/openjdk/nashorn/api/tree/ReturnTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ReturnTree;TP;)TR; +method name visitMemberSelect descriptor (Lorg/openjdk/nashorn/api/tree/MemberSelectTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/MemberSelectTree;TP;)TR; +method name visitNew descriptor (Lorg/openjdk/nashorn/api/tree/NewTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/NewTree;TP;)TR; +method name visitObjectLiteral descriptor (Lorg/openjdk/nashorn/api/tree/ObjectLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ObjectLiteralTree;TP;)TR; +method name visitProperty descriptor (Lorg/openjdk/nashorn/api/tree/PropertyTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/PropertyTree;TP;)TR; +method name visitRegExpLiteral descriptor (Lorg/openjdk/nashorn/api/tree/RegExpLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/RegExpLiteralTree;TP;)TR; +method name visitTemplateLiteral descriptor (Lorg/openjdk/nashorn/api/tree/TemplateLiteralTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/TemplateLiteralTree;TP;)TR; +method name visitEmptyStatement descriptor (Lorg/openjdk/nashorn/api/tree/EmptyStatementTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/EmptyStatementTree;TP;)TR; +method name visitSpread descriptor (Lorg/openjdk/nashorn/api/tree/SpreadTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/SpreadTree;TP;)TR; +method name visitSwitch descriptor (Lorg/openjdk/nashorn/api/tree/SwitchTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/SwitchTree;TP;)TR; +method name visitThrow descriptor (Lorg/openjdk/nashorn/api/tree/ThrowTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ThrowTree;TP;)TR; +method name visitCompilationUnit descriptor (Lorg/openjdk/nashorn/api/tree/CompilationUnitTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/CompilationUnitTree;TP;)TR; +method name visitModule descriptor (Lorg/openjdk/nashorn/api/tree/ModuleTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ModuleTree;TP;)TR; +method name visitExportEntry descriptor (Lorg/openjdk/nashorn/api/tree/ExportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ExportEntryTree;TP;)TR; +method name visitImportEntry descriptor (Lorg/openjdk/nashorn/api/tree/ImportEntryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/ImportEntryTree;TP;)TR; +method name visitTry descriptor (Lorg/openjdk/nashorn/api/tree/TryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/TryTree;TP;)TR; +method name visitInstanceOf descriptor (Lorg/openjdk/nashorn/api/tree/InstanceOfTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/InstanceOfTree;TP;)TR; +method name visitUnary descriptor (Lorg/openjdk/nashorn/api/tree/UnaryTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/UnaryTree;TP;)TR; +method name visitVariable descriptor (Lorg/openjdk/nashorn/api/tree/VariableTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/VariableTree;TP;)TR; +method name visitWhileLoop descriptor (Lorg/openjdk/nashorn/api/tree/WhileLoopTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/WhileLoopTree;TP;)TR; +method name visitWith descriptor (Lorg/openjdk/nashorn/api/tree/WithTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/WithTree;TP;)TR; +method name visitYield descriptor (Lorg/openjdk/nashorn/api/tree/YieldTree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/YieldTree;TP;)TR; +method name visitUnknown descriptor (Lorg/openjdk/nashorn/api/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object; flags 401 signature (Lorg/openjdk/nashorn/api/tree/Tree;TP;)TR; + +class name org/openjdk/nashorn/api/tree/TryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getBlock descriptor ()Lorg/openjdk/nashorn/api/tree/BlockTree; flags 401 +method name getCatches descriptor ()Ljava/util/List; flags 401 signature ()Ljava/util/List<+Lorg/openjdk/nashorn/api/tree/CatchTree;>; +method name getFinallyBlock descriptor ()Lorg/openjdk/nashorn/api/tree/BlockTree; flags 401 + +class name org/openjdk/nashorn/api/tree/UnaryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 + +class name org/openjdk/nashorn/api/tree/UnknownTreeException header extends java/lang/RuntimeException flags 21 innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -method name descriptor (Ljdk/nashorn/api/tree/Tree;Ljava/lang/Object;)V flags 1 -method name getUnknownTree descriptor ()Ljdk/nashorn/api/tree/Tree; flags 1 +method name descriptor (Lorg/openjdk/nashorn/api/tree/Tree;Ljava/lang/Object;)V flags 1 +method name getUnknownTree descriptor ()Lorg/openjdk/nashorn/api/tree/Tree; flags 1 method name getArgument descriptor ()Ljava/lang/Object; flags 1 -class name jdk/nashorn/api/tree/VariableTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getBinding descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getInitializer descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 +class name org/openjdk/nashorn/api/tree/VariableTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getBinding descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getInitializer descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 method name isConst descriptor ()Z flags 401 method name isLet descriptor ()Z flags 401 -class name jdk/nashorn/api/tree/WhileLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ConditionalLoopTree flags 601 -method name getCondition descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 +class name org/openjdk/nashorn/api/tree/WhileLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ConditionalLoopTree flags 601 +method name getCondition descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 -class name jdk/nashorn/api/tree/WithTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 -method name getScope descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 -method name getStatement descriptor ()Ljdk/nashorn/api/tree/StatementTree; flags 401 +class name org/openjdk/nashorn/api/tree/WithTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 +method name getScope descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 +method name getStatement descriptor ()Lorg/openjdk/nashorn/api/tree/StatementTree; flags 401 -class name jdk/nashorn/api/tree/YieldTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 -method name getExpression descriptor ()Ljdk/nashorn/api/tree/ExpressionTree; flags 401 +class name org/openjdk/nashorn/api/tree/YieldTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 +method name getExpression descriptor ()Lorg/openjdk/nashorn/api/tree/ExpressionTree; flags 401 method name isStar descriptor ()Z flags 401 diff --git a/make/data/symbols/jdk.scripting.nashorn-A.sym.txt b/make/data/symbols/jdk.scripting.nashorn-A.sym.txt index bd1621984..1c11c1916 100644 --- a/make/data/symbols/jdk.scripting.nashorn-A.sym.txt +++ b/make/data/symbols/jdk.scripting.nashorn-A.sym.txt @@ -27,5 +27,5 @@ # ########################################################## # module name org.openjdk.nashorn -header exports jdk/nashorn/api/scripting,jdk/nashorn/api/tree requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;jdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;jdk/nashorn/api/linker/NashornLinkerExporter target linux-amd64 flags 8000 +header exports org/openjdk/nashorn/api/scripting,org/openjdk/nashorn/api/tree requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;org/openjdk/nashorn/api/linker/NashornLinkerExporter target linux-amd64 flags 8000 diff --git a/make/data/symbols/jdk.scripting.nashorn-B.sym.txt b/make/data/symbols/jdk.scripting.nashorn-B.sym.txt index 49ffc6108..50ec4630f 100644 --- a/make/data/symbols/jdk.scripting.nashorn-B.sym.txt +++ b/make/data/symbols/jdk.scripting.nashorn-B.sym.txt @@ -27,242 +27,242 @@ # ########################################################## # module name org.openjdk.nashorn -header exports jdk/nashorn/api/scripting,jdk/nashorn/api/tree requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;jdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;jdk/nashorn/api/linker/NashornLinkerExporter target linux-amd64 flags 8000 runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +header exports org/openjdk/nashorn/api/scripting,org/openjdk/nashorn/api/tree requires name\u0020;java.base\u0020;flags\u0020;8000,name\u0020;java.logging\u0020;flags\u0020;0,name\u0020;jdk.dynalink\u0020;flags\u0020;0,name\u0020;java.scripting\u0020;flags\u0020;20 provides interface\u0020;javax/script/ScriptEngineFactory\u0020;impls\u0020;org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory,interface\u0020;jdk/dynalink/linker/GuardingDynamicLinkerExporter\u0020;impls\u0020;org/openjdk/nashorn/api/linker/NashornLinkerExporter target linux-amd64 flags 8000 runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/scripting/AbstractJSObject -header extends java/lang/Object implements jdk/nashorn/api/scripting/JSObject flags 421 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/scripting/AbstractJSObject +header extends java/lang/Object implements org/openjdk/nashorn/api/scripting/JSObject flags 421 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/scripting/ClassFilter +class name org/openjdk/nashorn/api/scripting/ClassFilter header extends java/lang/Object flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/scripting/JSObject +class name org/openjdk/nashorn/api/scripting/JSObject header extends java/lang/Object flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/scripting/NashornException +class name org/openjdk/nashorn/api/scripting/NashornException header extends java/lang/RuntimeException flags 421 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/scripting/NashornScriptEngine +class name org/openjdk/nashorn/api/scripting/NashornScriptEngine header extends javax/script/AbstractScriptEngine implements javax/script/Compilable,javax/script/Invocable flags 31 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/scripting/NashornScriptEngineFactory +class name org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory header extends java/lang/Object implements javax/script/ScriptEngineFactory flags 31 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/scripting/ScriptObjectMirror -header extends jdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/scripting/ScriptObjectMirror +header extends org/openjdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") innerclass innerClass java/util/Map$Entry outerClass java/util/Map innerClassName Entry flags 609 innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/scripting/ScriptUtils +class name org/openjdk/nashorn/api/scripting/ScriptUtils header extends java/lang/Object flags 31 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/scripting/URLReader +class name org/openjdk/nashorn/api/scripting/URLReader header extends java/io/Reader flags 31 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ArrayAccessTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ArrayAccessTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ArrayLiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ArrayLiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/AssignmentTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/AssignmentTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/BinaryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/BinaryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/BlockTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/BlockTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/BreakTree -header extends java/lang/Object implements jdk/nashorn/api/tree/GotoTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/BreakTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/GotoTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/CaseTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/CaseTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/CatchTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/CatchTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ClassDeclarationTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ClassDeclarationTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ClassExpressionTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ClassExpressionTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/CompilationUnitTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/CompilationUnitTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/CompoundAssignmentTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/CompoundAssignmentTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ConditionalExpressionTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ConditionalExpressionTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ConditionalLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/LoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ConditionalLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/LoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ContinueTree -header extends java/lang/Object implements jdk/nashorn/api/tree/GotoTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ContinueTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/GotoTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/DebuggerTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/DebuggerTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/Diagnostic -header extends java/lang/Object nestMembers jdk/nashorn/api/tree/Diagnostic$Kind flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -innerclass innerClass jdk/nashorn/api/tree/Diagnostic$Kind outerClass jdk/nashorn/api/tree/Diagnostic innerClassName Kind flags 4019 +class name org/openjdk/nashorn/api/tree/Diagnostic +header extends java/lang/Object nestMembers org/openjdk/nashorn/api/tree/Diagnostic$Kind flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +innerclass innerClass org/openjdk/nashorn/api/tree/Diagnostic$Kind outerClass org/openjdk/nashorn/api/tree/Diagnostic innerClassName Kind flags 4019 -class name jdk/nashorn/api/tree/Diagnostic$Kind -header extends java/lang/Enum nestHost jdk/nashorn/api/tree/Diagnostic flags 4031 deprecated true signature Ljava/lang/Enum; runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -innerclass innerClass jdk/nashorn/api/tree/Diagnostic$Kind outerClass jdk/nashorn/api/tree/Diagnostic innerClassName Kind flags 4019 +class name org/openjdk/nashorn/api/tree/Diagnostic$Kind +header extends java/lang/Enum nestHost org/openjdk/nashorn/api/tree/Diagnostic flags 4031 deprecated true signature Ljava/lang/Enum; runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +innerclass innerClass org/openjdk/nashorn/api/tree/Diagnostic$Kind outerClass org/openjdk/nashorn/api/tree/Diagnostic innerClassName Kind flags 4019 -class name jdk/nashorn/api/tree/DiagnosticListener +class name org/openjdk/nashorn/api/tree/DiagnosticListener header extends java/lang/Object flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11")@Ljava/lang/FunctionalInterface; -class name jdk/nashorn/api/tree/DoWhileLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ConditionalLoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/DoWhileLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ConditionalLoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/EmptyStatementTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/EmptyStatementTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ErroneousTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ErroneousTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ExportEntryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ExportEntryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ExpressionStatementTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ExpressionStatementTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ExpressionTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ExpressionTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ForInLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/LoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ForInLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/LoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ForLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ConditionalLoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ForLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ConditionalLoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ForOfLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/LoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ForOfLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/LoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/FunctionCallTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/FunctionCallTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/FunctionDeclarationTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/FunctionDeclarationTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/FunctionExpressionTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/FunctionExpressionTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/GotoTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/GotoTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/IdentifierTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/IdentifierTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/IfTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/IfTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ImportEntryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ImportEntryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/InstanceOfTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/InstanceOfTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/LabeledStatementTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/LabeledStatementTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/LineMap +class name org/openjdk/nashorn/api/tree/LineMap header extends java/lang/Object flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/LiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/LiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/LoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/LoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/MemberSelectTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/MemberSelectTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ModuleTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ModuleTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/NewTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/NewTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ObjectLiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ObjectLiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ParenthesizedTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ParenthesizedTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/Parser +class name org/openjdk/nashorn/api/tree/Parser header extends java/lang/Object flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/PropertyTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/PropertyTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/RegExpLiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/RegExpLiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ReturnTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ReturnTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/SimpleTreeVisitorES5_1 -header extends java/lang/Object implements jdk/nashorn/api/tree/TreeVisitor flags 21 deprecated true signature Ljava/lang/Object;Ljdk/nashorn/api/tree/TreeVisitor; runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1 +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/TreeVisitor flags 21 deprecated true signature Ljava/lang/Object;Lorg/openjdk/nashorn/api/tree/TreeVisitor; runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/tree/SimpleTreeVisitorES6 -header extends jdk/nashorn/api/tree/SimpleTreeVisitorES5_1 flags 21 deprecated true signature Ljdk/nashorn/api/tree/SimpleTreeVisitorES5_1; runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/SimpleTreeVisitorES6 +header extends org/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1 flags 21 deprecated true signature Lorg/openjdk/nashorn/api/tree/SimpleTreeVisitorES5_1; runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/tree/SpreadTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/SpreadTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/StatementTree -header extends java/lang/Object implements jdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/StatementTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/Tree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/SwitchTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/SwitchTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/TemplateLiteralTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/TemplateLiteralTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/ThrowTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/ThrowTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/Tree -header extends java/lang/Object nestMembers jdk/nashorn/api/tree/Tree$Kind flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -innerclass innerClass jdk/nashorn/api/tree/Tree$Kind outerClass jdk/nashorn/api/tree/Tree innerClassName Kind flags 4019 +class name org/openjdk/nashorn/api/tree/Tree +header extends java/lang/Object nestMembers org/openjdk/nashorn/api/tree/Tree$Kind flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +innerclass innerClass org/openjdk/nashorn/api/tree/Tree$Kind outerClass org/openjdk/nashorn/api/tree/Tree innerClassName Kind flags 4019 -class name jdk/nashorn/api/tree/Tree$Kind -header extends java/lang/Enum nestHost jdk/nashorn/api/tree/Tree flags 4031 deprecated true signature Ljava/lang/Enum; runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -innerclass innerClass jdk/nashorn/api/tree/Tree$Kind outerClass jdk/nashorn/api/tree/Tree innerClassName Kind flags 4019 +class name org/openjdk/nashorn/api/tree/Tree$Kind +header extends java/lang/Enum nestHost org/openjdk/nashorn/api/tree/Tree flags 4031 deprecated true signature Ljava/lang/Enum; runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +innerclass innerClass org/openjdk/nashorn/api/tree/Tree$Kind outerClass org/openjdk/nashorn/api/tree/Tree innerClassName Kind flags 4019 -class name jdk/nashorn/api/tree/TreeVisitor +class name org/openjdk/nashorn/api/tree/TreeVisitor header extends java/lang/Object flags 601 deprecated true signature Ljava/lang/Object; runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/TryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/TryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/UnaryTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/UnaryTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/UnknownTreeException +class name org/openjdk/nashorn/api/tree/UnknownTreeException header extends java/lang/RuntimeException flags 21 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19 -class name jdk/nashorn/api/tree/VariableTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/VariableTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/WhileLoopTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ConditionalLoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/WhileLoopTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ConditionalLoopTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/WithTree -header extends java/lang/Object implements jdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/WithTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/StatementTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") -class name jdk/nashorn/api/tree/YieldTree -header extends java/lang/Object implements jdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") +class name org/openjdk/nashorn/api/tree/YieldTree +header extends java/lang/Object implements org/openjdk/nashorn/api/tree/ExpressionTree flags 601 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;(forRemoval=Ztrue,since="11") diff --git a/make/gensrc/Gensrc-jdk.scripting.nashorn.gmk b/make/gensrc/Gensrc-jdk.scripting.nashorn.gmk index 9dec093ee..cbc30a462 100644 --- a/make/gensrc/Gensrc-jdk.scripting.nashorn.gmk +++ b/make/gensrc/Gensrc-jdk.scripting.nashorn.gmk @@ -32,7 +32,7 @@ include TextFileProcessing.gmk ################################################################################ # Version file needs to be processed with version numbers -VERSION_FILE := jdk/nashorn/internal/runtime/resources/version.properties +VERSION_FILE := org/openjdk/nashorn/internal/runtime/resources/version.properties $(eval $(call SetupTextFileProcessing, BUILD_VERSION_FILE, \ SOURCE_FILES := $(TOPDIR)/src/$(MODULE)/share/classes/$(VERSION_FILE).template, \ diff --git a/make/nashorn/build-nasgen.xml b/make/nashorn/build-nasgen.xml index 2a73fa4c1..9961982cb 100644 --- a/make/nashorn/build-nasgen.xml +++ b/make/nashorn/build-nasgen.xml @@ -56,16 +56,16 @@ - - + + - - + + diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index c87e2c13b..bd3b7d401 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -216,24 +216,24 @@ - - + + - - + + - - + + - - - + + + - - ${line.separator} - + + ${line.separator} + @@ -247,7 +247,7 @@ -

+
@@ -295,7 +295,7 @@ - + @@ -353,16 +353,16 @@ - - + + - - + + - - + + diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java index 360c9abdf..92ea760ef 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java @@ -37,7 +37,7 @@ */ @SuppressWarnings("javadoc") public interface StringConstants { - static final String NASHORN_INTERNAL = "jdk/nashorn/internal/"; + static final String NASHORN_INTERNAL = "org/openjdk/nashorn/internal/"; static final String OBJ_PKG = NASHORN_INTERNAL + "objects/"; static final String OBJ_ANNO_PKG = OBJ_PKG + "annotations/"; static final String RUNTIME_PKG = NASHORN_INTERNAL + "runtime/"; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java index ddb6b29d3..fdaf1a0eb 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGenerator.java @@ -4666,7 +4666,7 @@ private MethodEmitter globalRegExpCopy() { private MethodEmitter globalAllocateArray(final ArrayType type) { //make sure the native array is treated as an array type - return method.invokestatic(GLOBAL_OBJECT, "allocate", "(" + type.getDescriptor() + ")Ljdk/nashorn/internal/objects/NativeArray;"); + return method.invokestatic(GLOBAL_OBJECT, "allocate", "(" + type.getDescriptor() + ")Lorg/openjdk/nashorn/internal/objects/NativeArray;"); } private MethodEmitter globalIsEval() { diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java index 6dc9c0b8f..58e938116 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Compiler.java @@ -78,10 +78,10 @@ public final class Compiler implements Loggable { /** Name of the scripts package */ - public static final String SCRIPTS_PACKAGE = "jdk/nashorn/internal/scripts"; + public static final String SCRIPTS_PACKAGE = "org/openjdk/nashorn/internal/scripts"; /** Name of the objects package */ - public static final String OBJECTS_PACKAGE = "jdk/nashorn/internal/objects"; + public static final String OBJECTS_PACKAGE = "org/openjdk/nashorn/internal/objects"; private final ScriptEnvironment env; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java index 514d2c945..6976c5516 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/NashornLoader.java @@ -51,11 +51,11 @@ abstract class NashornLoader extends SecureClassLoader { protected static final String RUNTIME_ARRAYS_PKG = "org.openjdk.nashorn.internal.runtime.arrays"; protected static final String RUNTIME_LINKER_PKG = "org.openjdk.nashorn.internal.runtime.linker"; protected static final String SCRIPTS_PKG = "org.openjdk.nashorn.internal.scripts"; - protected static final String OBJECTS_PKG_INTERNAL = "jdk/nashorn/internal/objects"; - protected static final String RUNTIME_PKG_INTERNAL = "jdk/nashorn/internal/runtime"; - protected static final String RUNTIME_ARRAYS_PKG_INTERNAL = "jdk/nashorn/internal/runtime/arrays"; - protected static final String RUNTIME_LINKER_PKG_INTERNAL = "jdk/nashorn/internal/runtime/linker"; - protected static final String SCRIPTS_PKG_INTERNAL = "jdk/nashorn/internal/scripts"; + protected static final String OBJECTS_PKG_INTERNAL = "org/openjdk/nashorn/internal/objects"; + protected static final String RUNTIME_PKG_INTERNAL = "org/openjdk/nashorn/internal/runtime"; + protected static final String RUNTIME_ARRAYS_PKG_INTERNAL = "org/openjdk/nashorn/internal/runtime/arrays"; + protected static final String RUNTIME_LINKER_PKG_INTERNAL = "org/openjdk/nashorn/internal/runtime/linker"; + protected static final String SCRIPTS_PKG_INTERNAL = "org/openjdk/nashorn/internal/scripts"; static final Module NASHORN_MODULE = Context.class.getModule(); diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java index 1d629683a..413475f07 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java @@ -203,7 +203,7 @@ final class JavaAdapterBytecodeGenerator { private static final String GET_METHOD_PROPERTY_METHOD_DESCRIPTOR = Type.getMethodDescriptor(OBJECT_TYPE, SCRIPT_OBJECT_TYPE); private static final String VOID_METHOD_DESCRIPTOR = Type.getMethodDescriptor(Type.VOID_TYPE); - private static final String ADAPTER_PACKAGE_INTERNAL = "jdk/nashorn/javaadapters/"; + private static final String ADAPTER_PACKAGE_INTERNAL = "org/openjdk/nashorn/javaadapters/"; private static final int MAX_GENERATED_TYPE_NAME_LENGTH = 255; // Method name prefix for invoking super-methods diff --git a/test/nashorn/script/trusted/JDK-8025629.js b/test/nashorn/script/trusted/JDK-8025629.js index f3f4cbad4..9ede38296 100644 --- a/test/nashorn/script/trusted/JDK-8025629.js +++ b/test/nashorn/script/trusted/JDK-8025629.js @@ -28,6 +28,6 @@ * @run */ -load("classpath:jdk/nashorn/internal/runtime/test/resources/load_test.js") +load("classpath:org/openjdk/nashorn/internal/runtime/test/resources/load_test.js") Assert.assertEquals(loadedFunc("hello"), "HELLO"); diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java b/test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java index 378fc5e9b..a359935f4 100644 --- a/test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java +++ b/test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java @@ -50,7 +50,7 @@ public class SourceTest { final private static char[] SOURCE_CHARS = SOURCE_STRING.toCharArray(); final private static String RESOURCE_PATH = "resources/load_test.js"; final private static File SOURCE_FILE = new File(System.getProperty("build.dir", "build") + - "/test/classes/jdk/nashorn/internal/runtime/test/" + RESOURCE_PATH); + "/test/classes/org/openjdk/nashorn/internal/runtime/test/" + RESOURCE_PATH); final private static URL SOURCE_URL = SourceTest.class.getResource(RESOURCE_PATH); From 7cd00fe47c5399591e58a1a16b28838b364f705a Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 12:37:06 +0200 Subject: [PATCH 06/29] Update Maven Central URLs --- make/nashorn/build.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index bd3b7d401..bccb82a00 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -854,10 +854,10 @@ grant codeBase "file:/${basedir}/${test.script.dir}/basic/JDK-8158467.js" { - - - - + + + + From 74e6d36b9c564e32b498bf2c5330076c83228a2f Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 13:04:06 +0200 Subject: [PATCH 07/29] Don't deal with Dynalink (except in tests) --- make/nashorn/build.xml | 44 +-------------------------------- make/nashorn/project.properties | 10 ++------ 2 files changed, 3 insertions(+), 51 deletions(-) diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index bccb82a00..1c3953ee0 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -154,7 +154,6 @@ - @@ -172,16 +171,6 @@ - - - - - - @@ -225,7 +214,6 @@ - @@ -237,9 +225,6 @@ - - - @@ -271,13 +256,10 @@ additionalparam="-quiet" failonerror="true" useexternalfile="true"> - - - @@ -290,8 +272,6 @@ additionalparam="-quiet" failonerror="true" useexternalfile="true"> - - @@ -300,25 +280,7 @@ - - - - - - - - - - - - - - - - - + @@ -400,10 +362,6 @@ package.access=sun.misc.,\ -grant codeBase "file:/${basedir}/${dynalink.module.classes.dir}" { - permission java.security.AllPermission; -}; - grant codeBase "file:/${basedir}/${nashorn.module.classes.dir}" { permission java.security.AllPermission; }; diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index 4b998a538..5af9b518f 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -57,8 +57,7 @@ build.gzip=${build.dir}/nashorn.tar.gz nashorn.override.option=\ --patch-module org.openjdk.nashorn=${build.classes.dir}/org.openjdk.nashorn \ - --patch-module org.openjdk.nashorn.shell=${build.classes.dir}/org.openjdk.nashorn.shell \ - --patch-module jdk.dynalink=${build.classes.dir}/jdk.dynalink + --patch-module org.openjdk.nashorn.shell=${build.classes.dir}/org.openjdk.nashorn.shell # project directory of ant task nashorntask.dir=${nashorn.make.dir}/buildtools/nashorntask @@ -91,12 +90,10 @@ build.nooptimistic.test.results.dir=${build.dir}/test/nooptimistic/reports # This directory is removed when the project is cleaned: dist.dir=build/nashorn/dist -dynalink.jar=${dist.dir}/dynalink.jar nashorn.jar=${dist.dir}/nashorn.jar jjs.jar=${dist.dir}/jjs.jar dist.javadoc.dir=${dist.dir}/javadoc dist.nashornapi.javadoc.dir=${dist.javadoc.dir}/nashornapi -dist.dynalinkapi.javadoc.dir=${dist.javadoc.dir}/dynalinkapi # configuration for flight recorder run.test.jvmargs.jfr=XX:StartFlightRecording=disk=true,dumponexit=true,dumponexitpath=${build.dir},stackdepth=128 @@ -333,15 +330,12 @@ run.test.classpath=\ ${nashorn.internal.tests.jar}${path.separator}\ ${nashorn.api.tests.jar} -dynalink.module.src.dir=src/jdk.dynalink/share/classes -dynalink.module.classes.dir=${build.classes.dir}/jdk.dynalink nashorn.module.src.dir=src/org.openjdk.nashorn/share/classes nashorn.module.classes.dir=${build.classes.dir}/org.openjdk.nashorn nashorn.shell.module.src.dir=src/org.openjdk.nashorn.shell/share/classes nashorn.shell.module.classes.dir=${build.classes.dir}/org.openjdk.nashorn.shell -src.dir=${dynalink.module.src.dir}${path.separator}\ - ${nashorn.module.src.dir}${path.separator}\ +src.dir=${nashorn.module.src.dir}${path.separator}\ ${nashorn.shell.module.src.dir}${path.separator}\ ${jdk.jline.src.dir} From 982b567d97b16886adca9a6f4c3df0b1c2ecccd9 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 15:11:03 +0200 Subject: [PATCH 08/29] Use vanilla ASM --- make/nashorn/build-nasgen.xml | 2 + make/nashorn/build.xml | 19 ++- .../buildtools/nasgen/project.properties | 6 +- .../internal/tools/nasgen/ClassGenerator.java | 26 ++--- .../tools/nasgen/ConstructorGenerator.java | 10 +- .../nashorn/internal/tools/nasgen/Main.java | 8 +- .../internal/tools/nasgen/MemberInfo.java | 4 +- .../tools/nasgen/MethodGenerator.java | 108 +++++++++--------- .../internal/tools/nasgen/NullVisitor.java | 8 +- .../tools/nasgen/PrototypeGenerator.java | 8 +- .../tools/nasgen/ScriptClassInfo.java | 2 +- .../nasgen/ScriptClassInfoCollector.java | 14 +-- .../tools/nasgen/ScriptClassInstrumentor.java | 30 ++--- .../tools/nasgen/StringConstants.java | 2 +- make/nashorn/project.properties | 4 +- .../share/classes/module-info.java | 4 + .../internal/codegen/ClassEmitter.java | 30 ++--- .../internal/codegen/CompilerConstants.java | 4 +- .../nashorn/internal/codegen/Condition.java | 28 ++--- .../nashorn/internal/codegen/Label.java | 6 +- .../internal/codegen/MethodEmitter.java | 86 +++++++------- .../internal/codegen/types/ArrayType.java | 12 +- .../internal/codegen/types/BooleanType.java | 16 +-- .../codegen/types/BytecodeArrayOps.java | 2 +- .../codegen/types/BytecodeBitwiseOps.java | 2 +- .../codegen/types/BytecodeNumericOps.java | 2 +- .../internal/codegen/types/BytecodeOps.java | 2 +- .../internal/codegen/types/IntType.java | 50 ++++---- .../internal/codegen/types/LongType.java | 16 +-- .../internal/codegen/types/NumberType.java | 28 ++--- .../internal/codegen/types/ObjectType.java | 16 +-- .../nashorn/internal/codegen/types/Type.java | 106 ++++++++--------- .../internal/ir/debug/NashornClassReader.java | 8 +- .../internal/ir/debug/NashornTextifier.java | 16 +-- .../nashorn/internal/runtime/Context.java | 10 +- .../linker/JavaAdapterBytecodeGenerator.java | 40 +++---- .../runtime/linker/JavaAdapterServices.java | 20 ++-- 37 files changed, 388 insertions(+), 367 deletions(-) diff --git a/make/nashorn/build-nasgen.xml b/make/nashorn/build-nasgen.xml index 9961982cb..c2b828956 100644 --- a/make/nashorn/build-nasgen.xml +++ b/make/nashorn/build-nasgen.xml @@ -31,11 +31,13 @@ + + diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index 1c3953ee0..db6c214fa 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -160,7 +160,20 @@ - + + + + + + + + + + + + + + @@ -170,7 +183,7 @@ - + @@ -180,11 +193,11 @@ debug="${javac.debug}" encoding="${javac.encoding}" includeantruntime="false" fork="true"> + - diff --git a/make/nashorn/buildtools/nasgen/project.properties b/make/nashorn/buildtools/nasgen/project.properties index fcec900fd..dda1cc68c 100644 --- a/make/nashorn/buildtools/nasgen/project.properties +++ b/make/nashorn/buildtools/nasgen/project.properties @@ -26,6 +26,7 @@ application.title=nasgen build.compiler=modern # This directory is removed when the project is cleaned: +nasgen.modules.dir=../../../../build/nashorn/dependencies nasgen.build.dir=../../../../build/nashorn/nasgen nasgen.build.classes.dir=${nasgen.build.dir}/classes @@ -37,8 +38,9 @@ nasgen.dist.javadoc.dir=${nasgen.dist.dir}/javadoc javac.debug=true nasgen.module.imports=\ - --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \ - --add-exports java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED + --module-path ${nasgen.modules.dir} \ + --add-modules org.objectweb.asm \ + --add-modules org.objectweb.asm.util meta.inf.dir=${src.dir}/META-INF run.classpath=\ diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java index 696159024..50c3da395 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ClassGenerator.java @@ -25,12 +25,12 @@ package org.openjdk.nashorn.internal.tools.nasgen; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PRIVATE; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_STATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKEVIRTUAL; +import static org.objectweb.asm.Opcodes.ACC_FINAL; +import static org.objectweb.asm.Opcodes.ACC_PRIVATE; +import static org.objectweb.asm.Opcodes.ACC_PUBLIC; +import static org.objectweb.asm.Opcodes.ACC_STATIC; +import static org.objectweb.asm.Opcodes.H_INVOKESTATIC; +import static org.objectweb.asm.Opcodes.H_INVOKEVIRTUAL; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.ACCESSORPROPERTY_CREATE; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.ACCESSORPROPERTY_CREATE_DESC; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.ACCESSORPROPERTY_TYPE; @@ -72,13 +72,13 @@ import java.io.FileInputStream; import java.io.IOException; import java.util.List; -import jdk.internal.org.objectweb.asm.ClassReader; -import jdk.internal.org.objectweb.asm.ClassVisitor; -import jdk.internal.org.objectweb.asm.ClassWriter; -import jdk.internal.org.objectweb.asm.FieldVisitor; -import jdk.internal.org.objectweb.asm.Handle; -import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.internal.org.objectweb.asm.Type; +import org.objectweb.asm.ClassReader; +import org.objectweb.asm.ClassVisitor; +import org.objectweb.asm.ClassWriter; +import org.objectweb.asm.FieldVisitor; +import org.objectweb.asm.Handle; +import org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.Type; import org.openjdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; /** diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java index 52a344491..009880ef3 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java @@ -25,10 +25,10 @@ package org.openjdk.nashorn.internal.tools.nasgen; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.V1_7; +import static org.objectweb.asm.Opcodes.ACC_FINAL; +import static org.objectweb.asm.Opcodes.ACC_PUBLIC; +import static org.objectweb.asm.Opcodes.H_INVOKESTATIC; +import static org.objectweb.asm.Opcodes.V1_7; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.CONSTRUCTOR_SUFFIX; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.INIT; @@ -53,7 +53,7 @@ import java.io.FileOutputStream; import java.io.IOException; import java.util.List; -import jdk.internal.org.objectweb.asm.Handle; +import org.objectweb.asm.Handle; /** * This class generates constructor class for a @ScriptClass annotated class. diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java index b0b610740..e6d7db971 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/Main.java @@ -30,10 +30,10 @@ import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; -import jdk.internal.org.objectweb.asm.ClassReader; -import jdk.internal.org.objectweb.asm.ClassWriter; -import jdk.internal.org.objectweb.asm.Opcodes; -import jdk.internal.org.objectweb.asm.util.CheckClassAdapter; +import org.objectweb.asm.ClassReader; +import org.objectweb.asm.ClassWriter; +import org.objectweb.asm.Opcodes; +import org.objectweb.asm.util.CheckClassAdapter; /** * Main class for the "nasgen" tool. diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java index 51ee3f3ea..fa208601e 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MemberInfo.java @@ -32,8 +32,8 @@ import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.STRING_DESC; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.TYPE_SYMBOL; -import jdk.internal.org.objectweb.asm.Opcodes; -import jdk.internal.org.objectweb.asm.Type; +import org.objectweb.asm.Opcodes; +import org.objectweb.asm.Type; /** * Details about a Java method or field annotated with any of the field/method diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java index 22d0f5bf3..005e6f176 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/MethodGenerator.java @@ -25,57 +25,57 @@ package org.openjdk.nashorn.internal.tools.nasgen; -import static jdk.internal.org.objectweb.asm.Opcodes.AALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.AASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_STATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.ACONST_NULL; -import static jdk.internal.org.objectweb.asm.Opcodes.ALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.ANEWARRAY; -import static jdk.internal.org.objectweb.asm.Opcodes.ARETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.ASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.BALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.BASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.BIPUSH; -import static jdk.internal.org.objectweb.asm.Opcodes.CALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.CASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.CHECKCAST; -import static jdk.internal.org.objectweb.asm.Opcodes.DALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.DASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.DCONST_0; -import static jdk.internal.org.objectweb.asm.Opcodes.DRETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP2; -import static jdk.internal.org.objectweb.asm.Opcodes.FALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.FASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.FCONST_0; -import static jdk.internal.org.objectweb.asm.Opcodes.FRETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.GETFIELD; -import static jdk.internal.org.objectweb.asm.Opcodes.GETSTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.IALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.IASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_0; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_1; -import static jdk.internal.org.objectweb.asm.Opcodes.ILOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKEINTERFACE; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKESPECIAL; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKEVIRTUAL; -import static jdk.internal.org.objectweb.asm.Opcodes.IRETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.ISTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.LALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.LASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.LCONST_0; -import static jdk.internal.org.objectweb.asm.Opcodes.LRETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.NEW; -import static jdk.internal.org.objectweb.asm.Opcodes.POP; -import static jdk.internal.org.objectweb.asm.Opcodes.PUTFIELD; -import static jdk.internal.org.objectweb.asm.Opcodes.PUTSTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.RETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.SALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.SASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.SIPUSH; -import static jdk.internal.org.objectweb.asm.Opcodes.SWAP; +import static org.objectweb.asm.Opcodes.AALOAD; +import static org.objectweb.asm.Opcodes.AASTORE; +import static org.objectweb.asm.Opcodes.ACC_STATIC; +import static org.objectweb.asm.Opcodes.ACONST_NULL; +import static org.objectweb.asm.Opcodes.ALOAD; +import static org.objectweb.asm.Opcodes.ANEWARRAY; +import static org.objectweb.asm.Opcodes.ARETURN; +import static org.objectweb.asm.Opcodes.ASTORE; +import static org.objectweb.asm.Opcodes.BALOAD; +import static org.objectweb.asm.Opcodes.BASTORE; +import static org.objectweb.asm.Opcodes.BIPUSH; +import static org.objectweb.asm.Opcodes.CALOAD; +import static org.objectweb.asm.Opcodes.CASTORE; +import static org.objectweb.asm.Opcodes.CHECKCAST; +import static org.objectweb.asm.Opcodes.DALOAD; +import static org.objectweb.asm.Opcodes.DASTORE; +import static org.objectweb.asm.Opcodes.DCONST_0; +import static org.objectweb.asm.Opcodes.DRETURN; +import static org.objectweb.asm.Opcodes.DUP; +import static org.objectweb.asm.Opcodes.DUP2; +import static org.objectweb.asm.Opcodes.FALOAD; +import static org.objectweb.asm.Opcodes.FASTORE; +import static org.objectweb.asm.Opcodes.FCONST_0; +import static org.objectweb.asm.Opcodes.FRETURN; +import static org.objectweb.asm.Opcodes.GETFIELD; +import static org.objectweb.asm.Opcodes.GETSTATIC; +import static org.objectweb.asm.Opcodes.H_INVOKESTATIC; +import static org.objectweb.asm.Opcodes.IALOAD; +import static org.objectweb.asm.Opcodes.IASTORE; +import static org.objectweb.asm.Opcodes.ICONST_0; +import static org.objectweb.asm.Opcodes.ICONST_1; +import static org.objectweb.asm.Opcodes.ILOAD; +import static org.objectweb.asm.Opcodes.INVOKEINTERFACE; +import static org.objectweb.asm.Opcodes.INVOKESPECIAL; +import static org.objectweb.asm.Opcodes.INVOKESTATIC; +import static org.objectweb.asm.Opcodes.INVOKEVIRTUAL; +import static org.objectweb.asm.Opcodes.IRETURN; +import static org.objectweb.asm.Opcodes.ISTORE; +import static org.objectweb.asm.Opcodes.LALOAD; +import static org.objectweb.asm.Opcodes.LASTORE; +import static org.objectweb.asm.Opcodes.LCONST_0; +import static org.objectweb.asm.Opcodes.LRETURN; +import static org.objectweb.asm.Opcodes.NEW; +import static org.objectweb.asm.Opcodes.POP; +import static org.objectweb.asm.Opcodes.PUTFIELD; +import static org.objectweb.asm.Opcodes.PUTSTATIC; +import static org.objectweb.asm.Opcodes.RETURN; +import static org.objectweb.asm.Opcodes.SALOAD; +import static org.objectweb.asm.Opcodes.SASTORE; +import static org.objectweb.asm.Opcodes.SIPUSH; +import static org.objectweb.asm.Opcodes.SWAP; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.INIT; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJ_ANNO_PKG; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SPECIALIZATION_INIT2; @@ -83,9 +83,9 @@ import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.SPECIALIZATION_TYPE; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.TYPE_SPECIALIZATION; import java.util.List; -import jdk.internal.org.objectweb.asm.Handle; -import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.internal.org.objectweb.asm.Type; +import org.objectweb.asm.Handle; +import org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.Type; /** * Base class for all method generating classes. diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java index 195f08f91..de8384a65 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/NullVisitor.java @@ -25,10 +25,10 @@ package org.openjdk.nashorn.internal.tools.nasgen; -import jdk.internal.org.objectweb.asm.AnnotationVisitor; -import jdk.internal.org.objectweb.asm.ClassVisitor; -import jdk.internal.org.objectweb.asm.FieldVisitor; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.AnnotationVisitor; +import org.objectweb.asm.ClassVisitor; +import org.objectweb.asm.FieldVisitor; +import org.objectweb.asm.MethodVisitor; /** * A visitor that does nothing on visitXXX calls. diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java index 15ebde5d5..e5b2651db 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java @@ -25,10 +25,10 @@ package org.openjdk.nashorn.internal.tools.nasgen; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_SUPER; -import static jdk.internal.org.objectweb.asm.Opcodes.V1_7; +import static org.objectweb.asm.Opcodes.ACC_FINAL; +import static org.objectweb.asm.Opcodes.ACC_PUBLIC; +import static org.objectweb.asm.Opcodes.ACC_SUPER; +import static org.objectweb.asm.Opcodes.V1_7; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.INIT; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJECT_DESC; diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java index fcaa3c871..51a03025a 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java @@ -30,7 +30,7 @@ import java.util.LinkedList; import java.util.List; import java.util.Map; -import jdk.internal.org.objectweb.asm.Type; +import org.objectweb.asm.Type; import org.openjdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.OBJ_ANNO_PKG; diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java index 40c351f69..a168a3439 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java @@ -34,13 +34,13 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; -import jdk.internal.org.objectweb.asm.AnnotationVisitor; -import jdk.internal.org.objectweb.asm.ClassReader; -import jdk.internal.org.objectweb.asm.ClassVisitor; -import jdk.internal.org.objectweb.asm.FieldVisitor; -import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.internal.org.objectweb.asm.Opcodes; -import jdk.internal.org.objectweb.asm.Type; +import org.objectweb.asm.AnnotationVisitor; +import org.objectweb.asm.ClassReader; +import org.objectweb.asm.ClassVisitor; +import org.objectweb.asm.FieldVisitor; +import org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.Opcodes; +import org.objectweb.asm.Type; import org.openjdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; /** diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java index 2a875c26e..93bd324ae 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java @@ -25,13 +25,13 @@ package org.openjdk.nashorn.internal.tools.nasgen; -import static jdk.internal.org.objectweb.asm.Opcodes.ALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKESPECIAL; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.NEW; -import static jdk.internal.org.objectweb.asm.Opcodes.PUTFIELD; -import static jdk.internal.org.objectweb.asm.Opcodes.RETURN; +import static org.objectweb.asm.Opcodes.ALOAD; +import static org.objectweb.asm.Opcodes.DUP; +import static org.objectweb.asm.Opcodes.INVOKESPECIAL; +import static org.objectweb.asm.Opcodes.INVOKESTATIC; +import static org.objectweb.asm.Opcodes.NEW; +import static org.objectweb.asm.Opcodes.PUTFIELD; +import static org.objectweb.asm.Opcodes.RETURN; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.$CLINIT$; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.CLINIT; import static org.openjdk.nashorn.internal.tools.nasgen.StringConstants.DEFAULT_INIT_DESC; @@ -42,14 +42,14 @@ import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; -import jdk.internal.org.objectweb.asm.AnnotationVisitor; -import jdk.internal.org.objectweb.asm.Attribute; -import jdk.internal.org.objectweb.asm.ClassReader; -import jdk.internal.org.objectweb.asm.ClassVisitor; -import jdk.internal.org.objectweb.asm.ClassWriter; -import jdk.internal.org.objectweb.asm.FieldVisitor; -import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.internal.org.objectweb.asm.util.CheckClassAdapter; +import org.objectweb.asm.AnnotationVisitor; +import org.objectweb.asm.Attribute; +import org.objectweb.asm.ClassReader; +import org.objectweb.asm.ClassVisitor; +import org.objectweb.asm.ClassWriter; +import org.objectweb.asm.FieldVisitor; +import org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.util.CheckClassAdapter; import org.openjdk.nashorn.internal.tools.nasgen.MemberInfo.Kind; /** diff --git a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java index 92ea760ef..81c9d7dac 100644 --- a/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java +++ b/make/nashorn/buildtools/nasgen/src/org/openjdk/nashorn/internal/tools/nasgen/StringConstants.java @@ -30,7 +30,7 @@ import java.util.Collection; import java.util.Collections; import java.util.List; -import jdk.internal.org.objectweb.asm.Type; +import org.objectweb.asm.Type; /** * String constants used for code generation/instrumentation. diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index 5af9b518f..1a4bf78b2 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -70,8 +70,8 @@ nashorn.shell.tool=org.openjdk.nashorn.tools.Shell nasgen.tool=org.openjdk.nashorn.internal.tools.nasgen.Main nasgen.module.imports=\ - --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \ - --add-exports java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED + --add-modules org.objectweb.asm \ + --add-modules org.objectweb.asm.util # parallel test runner tool parallel.test.runner=org.openjdk.nashorn.internal.test.framework.ParallelTestRunner diff --git a/src/org.openjdk.nashorn/share/classes/module-info.java b/src/org.openjdk.nashorn/share/classes/module-info.java index 9852adf51..1aada25c4 100644 --- a/src/org.openjdk.nashorn/share/classes/module-info.java +++ b/src/org.openjdk.nashorn/share/classes/module-info.java @@ -143,6 +143,10 @@ requires java.logging; requires jdk.dynalink; + requires org.objectweb.asm; + requires org.objectweb.asm.commons; + requires org.objectweb.asm.util; + requires transitive java.scripting; exports org.openjdk.nashorn.api.scripting; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java index 969546e2f..72a4d4bbe 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/ClassEmitter.java @@ -25,18 +25,18 @@ package org.openjdk.nashorn.internal.codegen; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PRIVATE; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_STATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_SUPER; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_VARARGS; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKEINTERFACE; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKESPECIAL; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKEVIRTUAL; -import static jdk.internal.org.objectweb.asm.Opcodes.H_NEWINVOKESPECIAL; -import static jdk.internal.org.objectweb.asm.Opcodes.V1_7; +import static org.objectweb.asm.Opcodes.ACC_FINAL; +import static org.objectweb.asm.Opcodes.ACC_PRIVATE; +import static org.objectweb.asm.Opcodes.ACC_PUBLIC; +import static org.objectweb.asm.Opcodes.ACC_STATIC; +import static org.objectweb.asm.Opcodes.ACC_SUPER; +import static org.objectweb.asm.Opcodes.ACC_VARARGS; +import static org.objectweb.asm.Opcodes.H_INVOKEINTERFACE; +import static org.objectweb.asm.Opcodes.H_INVOKESPECIAL; +import static org.objectweb.asm.Opcodes.H_INVOKESTATIC; +import static org.objectweb.asm.Opcodes.H_INVOKEVIRTUAL; +import static org.objectweb.asm.Opcodes.H_NEWINVOKESPECIAL; +import static org.objectweb.asm.Opcodes.V1_7; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CLINIT; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.GET_ARRAY_PREFIX; @@ -60,9 +60,9 @@ import java.util.EnumSet; import java.util.HashSet; import java.util.Set; -import jdk.internal.org.objectweb.asm.ClassWriter; -import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.internal.org.objectweb.asm.util.TraceClassVisitor; +import org.objectweb.asm.ClassWriter; +import org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.util.TraceClassVisitor; import org.openjdk.nashorn.internal.codegen.types.Type; import org.openjdk.nashorn.internal.ir.FunctionNode; import org.openjdk.nashorn.internal.ir.debug.NashornClassReader; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java index 7e34f6fff..e8c9d3655 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CompilerConstants.java @@ -32,8 +32,8 @@ import java.util.HashSet; import java.util.Iterator; import java.util.Set; -import jdk.internal.org.objectweb.asm.MethodVisitor; -import jdk.internal.org.objectweb.asm.Opcodes; +import org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.Opcodes; import org.openjdk.nashorn.internal.codegen.types.Type; import org.openjdk.nashorn.internal.runtime.ScriptFunction; import org.openjdk.nashorn.internal.runtime.ScriptObject; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java index 81e5f2a00..4bb9c9b81 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Condition.java @@ -25,20 +25,20 @@ package org.openjdk.nashorn.internal.codegen; -import static jdk.internal.org.objectweb.asm.Opcodes.IFEQ; -import static jdk.internal.org.objectweb.asm.Opcodes.IFGE; -import static jdk.internal.org.objectweb.asm.Opcodes.IFGT; -import static jdk.internal.org.objectweb.asm.Opcodes.IFLE; -import static jdk.internal.org.objectweb.asm.Opcodes.IFLT; -import static jdk.internal.org.objectweb.asm.Opcodes.IFNE; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ACMPEQ; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ACMPNE; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPEQ; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPGE; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPGT; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPLE; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPLT; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPNE; +import static org.objectweb.asm.Opcodes.IFEQ; +import static org.objectweb.asm.Opcodes.IFGE; +import static org.objectweb.asm.Opcodes.IFGT; +import static org.objectweb.asm.Opcodes.IFLE; +import static org.objectweb.asm.Opcodes.IFLT; +import static org.objectweb.asm.Opcodes.IFNE; +import static org.objectweb.asm.Opcodes.IF_ACMPEQ; +import static org.objectweb.asm.Opcodes.IF_ACMPNE; +import static org.objectweb.asm.Opcodes.IF_ICMPEQ; +import static org.objectweb.asm.Opcodes.IF_ICMPGE; +import static org.objectweb.asm.Opcodes.IF_ICMPGT; +import static org.objectweb.asm.Opcodes.IF_ICMPLE; +import static org.objectweb.asm.Opcodes.IF_ICMPLT; +import static org.objectweb.asm.Opcodes.IF_ICMPNE; /** * Condition enum used for all kinds of jumps, regardless of type diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java index 0b17761dc..4502fbdf4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Label.java @@ -497,7 +497,7 @@ public String toString() { private transient Label.Stack stack; /** ASM representation of this label */ - private transient jdk.internal.org.objectweb.asm.Label label; + private transient org.objectweb.asm.Label label; /** Id for debugging purposes, remove if footprint becomes unmanageable */ private final int id; @@ -529,9 +529,9 @@ public Label(final Label label) { this.id = label.id; } - jdk.internal.org.objectweb.asm.Label getLabel() { + org.objectweb.asm.Label getLabel() { if (this.label == null) { - this.label = new jdk.internal.org.objectweb.asm.Label(); + this.label = new org.objectweb.asm.Label(); } return label; } diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java index 25c7b363f..ae9d77050 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/MethodEmitter.java @@ -25,39 +25,39 @@ package org.openjdk.nashorn.internal.codegen; -import static jdk.internal.org.objectweb.asm.Opcodes.ATHROW; -import static jdk.internal.org.objectweb.asm.Opcodes.CHECKCAST; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP2; -import static jdk.internal.org.objectweb.asm.Opcodes.GETFIELD; -import static jdk.internal.org.objectweb.asm.Opcodes.GETSTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.GOTO; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKEINTERFACE; -import static jdk.internal.org.objectweb.asm.Opcodes.IFEQ; -import static jdk.internal.org.objectweb.asm.Opcodes.IFGE; -import static jdk.internal.org.objectweb.asm.Opcodes.IFGT; -import static jdk.internal.org.objectweb.asm.Opcodes.IFLE; -import static jdk.internal.org.objectweb.asm.Opcodes.IFLT; -import static jdk.internal.org.objectweb.asm.Opcodes.IFNE; -import static jdk.internal.org.objectweb.asm.Opcodes.IFNONNULL; -import static jdk.internal.org.objectweb.asm.Opcodes.IFNULL; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ACMPEQ; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ACMPNE; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPEQ; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPGE; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPGT; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPLE; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPLT; -import static jdk.internal.org.objectweb.asm.Opcodes.IF_ICMPNE; -import static jdk.internal.org.objectweb.asm.Opcodes.INSTANCEOF; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKEINTERFACE; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKESPECIAL; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKEVIRTUAL; -import static jdk.internal.org.objectweb.asm.Opcodes.NEW; -import static jdk.internal.org.objectweb.asm.Opcodes.PUTFIELD; -import static jdk.internal.org.objectweb.asm.Opcodes.PUTSTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.RETURN; +import static org.objectweb.asm.Opcodes.ATHROW; +import static org.objectweb.asm.Opcodes.CHECKCAST; +import static org.objectweb.asm.Opcodes.DUP2; +import static org.objectweb.asm.Opcodes.GETFIELD; +import static org.objectweb.asm.Opcodes.GETSTATIC; +import static org.objectweb.asm.Opcodes.GOTO; +import static org.objectweb.asm.Opcodes.H_INVOKESTATIC; +import static org.objectweb.asm.Opcodes.H_INVOKEINTERFACE; +import static org.objectweb.asm.Opcodes.IFEQ; +import static org.objectweb.asm.Opcodes.IFGE; +import static org.objectweb.asm.Opcodes.IFGT; +import static org.objectweb.asm.Opcodes.IFLE; +import static org.objectweb.asm.Opcodes.IFLT; +import static org.objectweb.asm.Opcodes.IFNE; +import static org.objectweb.asm.Opcodes.IFNONNULL; +import static org.objectweb.asm.Opcodes.IFNULL; +import static org.objectweb.asm.Opcodes.IF_ACMPEQ; +import static org.objectweb.asm.Opcodes.IF_ACMPNE; +import static org.objectweb.asm.Opcodes.IF_ICMPEQ; +import static org.objectweb.asm.Opcodes.IF_ICMPGE; +import static org.objectweb.asm.Opcodes.IF_ICMPGT; +import static org.objectweb.asm.Opcodes.IF_ICMPLE; +import static org.objectweb.asm.Opcodes.IF_ICMPLT; +import static org.objectweb.asm.Opcodes.IF_ICMPNE; +import static org.objectweb.asm.Opcodes.INSTANCEOF; +import static org.objectweb.asm.Opcodes.INVOKEINTERFACE; +import static org.objectweb.asm.Opcodes.INVOKESPECIAL; +import static org.objectweb.asm.Opcodes.INVOKESTATIC; +import static org.objectweb.asm.Opcodes.INVOKEVIRTUAL; +import static org.objectweb.asm.Opcodes.NEW; +import static org.objectweb.asm.Opcodes.PUTFIELD; +import static org.objectweb.asm.Opcodes.PUTSTATIC; +import static org.objectweb.asm.Opcodes.RETURN; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SCOPE; @@ -81,8 +81,8 @@ import java.util.IdentityHashMap; import java.util.List; import java.util.Map; -import jdk.internal.org.objectweb.asm.Handle; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.Handle; +import org.objectweb.asm.MethodVisitor; import org.openjdk.nashorn.internal.codegen.ClassEmitter.Flag; import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; import org.openjdk.nashorn.internal.codegen.CompilerConstants.FieldAccess; @@ -810,7 +810,7 @@ MethodEmitter loadNull() { */ MethodEmitter loadType(final String className) { debug("load type", className); - method.visitLdcInsn(jdk.internal.org.objectweb.asm.Type.getObjectType(className)); + method.visitLdcInsn(org.objectweb.asm.Type.getObjectType(className)); pushType(Type.OBJECT); return this; } @@ -1116,11 +1116,11 @@ void store(final IdentNode ident) { */ private static class LocalVariableDef { // The start label from where this definition lives. - private final jdk.internal.org.objectweb.asm.Label label; + private final org.objectweb.asm.Label label; // The currently live type of the local variable. private final Type type; - LocalVariableDef(final jdk.internal.org.objectweb.asm.Label label, final Type type) { + LocalVariableDef(final org.objectweb.asm.Label label, final Type type) { this.label = label; this.type = type; } @@ -1147,7 +1147,7 @@ void markDeadSlots(final int firstSlot, final int slotCount) { stack.markDeadLocalVariables(firstSlot, slotCount); } - private void endLocalValueDef(final Symbol symbol, final LocalVariableDef def, final jdk.internal.org.objectweb.asm.Label label) { + private void endLocalValueDef(final Symbol symbol, final LocalVariableDef def, final org.objectweb.asm.Label label) { String name = symbol.getName(); if (name.equals(THIS.symbolName())) { name = THIS_DEBUGGER.symbolName(); @@ -1176,7 +1176,7 @@ void store(final Symbol symbol, final Type type, final boolean onlySymbolLiveVal final boolean isLiveType = symbol.hasSlotFor(type); final LocalVariableDef existingDef = localVariableDefs.get(symbol); if(existingDef == null || existingDef.type != type) { - final jdk.internal.org.objectweb.asm.Label here = new jdk.internal.org.objectweb.asm.Label(); + final org.objectweb.asm.Label here = new org.objectweb.asm.Label(); if(isLiveType) { final LocalVariableDef newDef = new LocalVariableDef(here, type); localVariableDefs.put(symbol, newDef); @@ -1537,8 +1537,8 @@ MethodEmitter invokeinterface(final String className, final String methodName, f return invoke(INVOKEINTERFACE, className, methodName, methodDescriptor, true); } - static jdk.internal.org.objectweb.asm.Label[] getLabels(final Label... table) { - final jdk.internal.org.objectweb.asm.Label[] internalLabels = new jdk.internal.org.objectweb.asm.Label[table.length]; + static org.objectweb.asm.Label[] getLabels(final Label... table) { + final org.objectweb.asm.Label[] internalLabels = new org.objectweb.asm.Label[table.length]; for (int i = 0; i < table.length; i++) { internalLabels[i] = table[i].getLabel(); } @@ -2532,7 +2532,7 @@ void putStatic(final String className, final String fieldName, final String fiel void lineNumber(final int line) { if (context.getEnv()._debug_lines) { debug_label("[LINE]", line); - final jdk.internal.org.objectweb.asm.Label l = new jdk.internal.org.objectweb.asm.Label(); + final org.objectweb.asm.Label l = new org.objectweb.asm.Label(); method.visitLabel(l); method.visitLineNumber(line, l); } diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java index b4275f990..5b23f9f72 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ArrayType.java @@ -25,13 +25,13 @@ package org.openjdk.nashorn.internal.codegen.types; -import static jdk.internal.org.objectweb.asm.Opcodes.AALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.AASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.ALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.ANEWARRAY; -import static jdk.internal.org.objectweb.asm.Opcodes.ARRAYLENGTH; +import static org.objectweb.asm.Opcodes.AALOAD; +import static org.objectweb.asm.Opcodes.AASTORE; +import static org.objectweb.asm.Opcodes.ALOAD; +import static org.objectweb.asm.Opcodes.ANEWARRAY; +import static org.objectweb.asm.Opcodes.ARRAYLENGTH; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; /** * This is an array type, i.e. OBJECT_ARRAY, NUMBER_ARRAY. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java index 323326168..df35cb69a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BooleanType.java @@ -25,17 +25,17 @@ package org.openjdk.nashorn.internal.codegen.types; -import static jdk.internal.org.objectweb.asm.Opcodes.I2D; -import static jdk.internal.org.objectweb.asm.Opcodes.I2L; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_0; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_1; -import static jdk.internal.org.objectweb.asm.Opcodes.ILOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.IRETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.ISTORE; +import static org.objectweb.asm.Opcodes.I2D; +import static org.objectweb.asm.Opcodes.I2L; +import static org.objectweb.asm.Opcodes.ICONST_0; +import static org.objectweb.asm.Opcodes.ICONST_1; +import static org.objectweb.asm.Opcodes.ILOAD; +import static org.objectweb.asm.Opcodes.IRETURN; +import static org.objectweb.asm.Opcodes.ISTORE; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_INT; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; import org.openjdk.nashorn.internal.codegen.CompilerConstants; /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java index fb88c3265..b824ce612 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeArrayOps.java @@ -25,7 +25,7 @@ package org.openjdk.nashorn.internal.codegen.types; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; /** * Array operations, not supported by all ops diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java index 0703459ed..dbb937e7a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeBitwiseOps.java @@ -25,7 +25,7 @@ package org.openjdk.nashorn.internal.codegen.types; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; /** * Bitwise operations not supported by all types diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java index 055be2b33..5c41ec201 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeNumericOps.java @@ -25,7 +25,7 @@ package org.openjdk.nashorn.internal.codegen.types; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; /** * Numeric operations, not supported by all types diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java index e400ec3a5..c292f9681 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/BytecodeOps.java @@ -25,7 +25,7 @@ package org.openjdk.nashorn.internal.codegen.types; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java index 00cb59948..8e084c95c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/IntType.java @@ -25,35 +25,35 @@ package org.openjdk.nashorn.internal.codegen.types; -import static jdk.internal.org.objectweb.asm.Opcodes.BIPUSH; -import static jdk.internal.org.objectweb.asm.Opcodes.I2D; -import static jdk.internal.org.objectweb.asm.Opcodes.I2L; -import static jdk.internal.org.objectweb.asm.Opcodes.IADD; -import static jdk.internal.org.objectweb.asm.Opcodes.IAND; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_0; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_1; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_2; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_3; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_4; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_5; -import static jdk.internal.org.objectweb.asm.Opcodes.ICONST_M1; -import static jdk.internal.org.objectweb.asm.Opcodes.ILOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.IMUL; -import static jdk.internal.org.objectweb.asm.Opcodes.INEG; -import static jdk.internal.org.objectweb.asm.Opcodes.IOR; -import static jdk.internal.org.objectweb.asm.Opcodes.IRETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.ISHL; -import static jdk.internal.org.objectweb.asm.Opcodes.ISHR; -import static jdk.internal.org.objectweb.asm.Opcodes.ISTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.ISUB; -import static jdk.internal.org.objectweb.asm.Opcodes.IUSHR; -import static jdk.internal.org.objectweb.asm.Opcodes.IXOR; -import static jdk.internal.org.objectweb.asm.Opcodes.SIPUSH; +import static org.objectweb.asm.Opcodes.BIPUSH; +import static org.objectweb.asm.Opcodes.I2D; +import static org.objectweb.asm.Opcodes.I2L; +import static org.objectweb.asm.Opcodes.IADD; +import static org.objectweb.asm.Opcodes.IAND; +import static org.objectweb.asm.Opcodes.ICONST_0; +import static org.objectweb.asm.Opcodes.ICONST_1; +import static org.objectweb.asm.Opcodes.ICONST_2; +import static org.objectweb.asm.Opcodes.ICONST_3; +import static org.objectweb.asm.Opcodes.ICONST_4; +import static org.objectweb.asm.Opcodes.ICONST_5; +import static org.objectweb.asm.Opcodes.ICONST_M1; +import static org.objectweb.asm.Opcodes.ILOAD; +import static org.objectweb.asm.Opcodes.IMUL; +import static org.objectweb.asm.Opcodes.INEG; +import static org.objectweb.asm.Opcodes.IOR; +import static org.objectweb.asm.Opcodes.IRETURN; +import static org.objectweb.asm.Opcodes.ISHL; +import static org.objectweb.asm.Opcodes.ISHR; +import static org.objectweb.asm.Opcodes.ISTORE; +import static org.objectweb.asm.Opcodes.ISUB; +import static org.objectweb.asm.Opcodes.IUSHR; +import static org.objectweb.asm.Opcodes.IXOR; +import static org.objectweb.asm.Opcodes.SIPUSH; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_INT; import static org.openjdk.nashorn.internal.runtime.UnwarrantedOptimismException.INVALID_PROGRAM_POINT; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; import org.openjdk.nashorn.internal.codegen.CompilerConstants; import org.openjdk.nashorn.internal.runtime.JSType; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java index a267d269f..e17ab848a 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/LongType.java @@ -25,17 +25,17 @@ package org.openjdk.nashorn.internal.codegen.types; -import static jdk.internal.org.objectweb.asm.Opcodes.L2D; -import static jdk.internal.org.objectweb.asm.Opcodes.L2I; -import static jdk.internal.org.objectweb.asm.Opcodes.LCONST_0; -import static jdk.internal.org.objectweb.asm.Opcodes.LCONST_1; -import static jdk.internal.org.objectweb.asm.Opcodes.LLOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.LRETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.LSTORE; +import static org.objectweb.asm.Opcodes.L2D; +import static org.objectweb.asm.Opcodes.L2I; +import static org.objectweb.asm.Opcodes.LCONST_0; +import static org.objectweb.asm.Opcodes.LCONST_1; +import static org.objectweb.asm.Opcodes.LLOAD; +import static org.objectweb.asm.Opcodes.LRETURN; +import static org.objectweb.asm.Opcodes.LSTORE; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_LONG; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; import org.openjdk.nashorn.internal.codegen.CompilerConstants; import org.openjdk.nashorn.internal.runtime.JSType; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java index 065d84423..5d11a44b1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/NumberType.java @@ -25,23 +25,23 @@ package org.openjdk.nashorn.internal.codegen.types; -import static jdk.internal.org.objectweb.asm.Opcodes.DADD; -import static jdk.internal.org.objectweb.asm.Opcodes.DCMPG; -import static jdk.internal.org.objectweb.asm.Opcodes.DCMPL; -import static jdk.internal.org.objectweb.asm.Opcodes.DCONST_0; -import static jdk.internal.org.objectweb.asm.Opcodes.DCONST_1; -import static jdk.internal.org.objectweb.asm.Opcodes.DDIV; -import static jdk.internal.org.objectweb.asm.Opcodes.DLOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.DMUL; -import static jdk.internal.org.objectweb.asm.Opcodes.DNEG; -import static jdk.internal.org.objectweb.asm.Opcodes.DREM; -import static jdk.internal.org.objectweb.asm.Opcodes.DRETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.DSTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.DSUB; +import static org.objectweb.asm.Opcodes.DADD; +import static org.objectweb.asm.Opcodes.DCMPG; +import static org.objectweb.asm.Opcodes.DCMPL; +import static org.objectweb.asm.Opcodes.DCONST_0; +import static org.objectweb.asm.Opcodes.DCONST_1; +import static org.objectweb.asm.Opcodes.DDIV; +import static org.objectweb.asm.Opcodes.DLOAD; +import static org.objectweb.asm.Opcodes.DMUL; +import static org.objectweb.asm.Opcodes.DNEG; +import static org.objectweb.asm.Opcodes.DREM; +import static org.objectweb.asm.Opcodes.DRETURN; +import static org.objectweb.asm.Opcodes.DSTORE; +import static org.objectweb.asm.Opcodes.DSUB; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; import static org.openjdk.nashorn.internal.runtime.JSType.UNDEFINED_DOUBLE; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; import org.openjdk.nashorn.internal.codegen.CompilerConstants; import org.openjdk.nashorn.internal.runtime.JSType; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java index bab1d1070..9804366c3 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/ObjectType.java @@ -25,18 +25,18 @@ package org.openjdk.nashorn.internal.codegen.types; -import static jdk.internal.org.objectweb.asm.Opcodes.ACONST_NULL; -import static jdk.internal.org.objectweb.asm.Opcodes.ALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.ARETURN; -import static jdk.internal.org.objectweb.asm.Opcodes.ASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.CHECKCAST; -import static jdk.internal.org.objectweb.asm.Opcodes.GETSTATIC; +import static org.objectweb.asm.Opcodes.ACONST_NULL; +import static org.objectweb.asm.Opcodes.ALOAD; +import static org.objectweb.asm.Opcodes.ARETURN; +import static org.objectweb.asm.Opcodes.ASTORE; +import static org.objectweb.asm.Opcodes.CHECKCAST; +import static org.objectweb.asm.Opcodes.GETSTATIC; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.className; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.typeDescriptor; import java.lang.invoke.MethodHandle; -import jdk.internal.org.objectweb.asm.Handle; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.Handle; +import org.objectweb.asm.MethodVisitor; import org.openjdk.nashorn.internal.codegen.CompilerConstants; import org.openjdk.nashorn.internal.runtime.JSType; import org.openjdk.nashorn.internal.runtime.ScriptRuntime; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java index 31a0f109f..efc64cf7b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/types/Type.java @@ -25,26 +25,26 @@ package org.openjdk.nashorn.internal.codegen.types; -import static jdk.internal.org.objectweb.asm.Opcodes.DALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.DASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP2; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP2_X1; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP2_X2; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP_X1; -import static jdk.internal.org.objectweb.asm.Opcodes.DUP_X2; -import static jdk.internal.org.objectweb.asm.Opcodes.IALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.IASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.LALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.LASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.NEWARRAY; -import static jdk.internal.org.objectweb.asm.Opcodes.POP; -import static jdk.internal.org.objectweb.asm.Opcodes.POP2; -import static jdk.internal.org.objectweb.asm.Opcodes.SWAP; -import static jdk.internal.org.objectweb.asm.Opcodes.T_DOUBLE; -import static jdk.internal.org.objectweb.asm.Opcodes.T_INT; -import static jdk.internal.org.objectweb.asm.Opcodes.T_LONG; +import static org.objectweb.asm.Opcodes.DALOAD; +import static org.objectweb.asm.Opcodes.DASTORE; +import static org.objectweb.asm.Opcodes.DUP; +import static org.objectweb.asm.Opcodes.DUP2; +import static org.objectweb.asm.Opcodes.DUP2_X1; +import static org.objectweb.asm.Opcodes.DUP2_X2; +import static org.objectweb.asm.Opcodes.DUP_X1; +import static org.objectweb.asm.Opcodes.DUP_X2; +import static org.objectweb.asm.Opcodes.IALOAD; +import static org.objectweb.asm.Opcodes.IASTORE; +import static org.objectweb.asm.Opcodes.INVOKESTATIC; +import static org.objectweb.asm.Opcodes.LALOAD; +import static org.objectweb.asm.Opcodes.LASTORE; +import static org.objectweb.asm.Opcodes.NEWARRAY; +import static org.objectweb.asm.Opcodes.POP; +import static org.objectweb.asm.Opcodes.POP2; +import static org.objectweb.asm.Opcodes.SWAP; +import static org.objectweb.asm.Opcodes.T_DOUBLE; +import static org.objectweb.asm.Opcodes.T_INT; +import static org.objectweb.asm.Opcodes.T_LONG; import java.io.DataInput; import java.io.DataOutput; @@ -56,7 +56,7 @@ import java.util.WeakHashMap; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; -import jdk.internal.org.objectweb.asm.MethodVisitor; +import org.objectweb.asm.MethodVisitor; import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; import org.openjdk.nashorn.internal.runtime.Context; import org.openjdk.nashorn.internal.runtime.ScriptObject; @@ -105,11 +105,11 @@ public abstract class Type implements Comparable, BytecodeOps, Serializabl * Cache for internal types - this is a query that requires complex stringbuilding inside * ASM and it saves startup time to cache the type mappings */ - private static final Map, jdk.internal.org.objectweb.asm.Type> INTERNAL_TYPE_CACHE = - Collections.synchronizedMap(new WeakHashMap, jdk.internal.org.objectweb.asm.Type>()); + private static final Map, org.objectweb.asm.Type> INTERNAL_TYPE_CACHE = + Collections.synchronizedMap(new WeakHashMap, org.objectweb.asm.Type>()); /** Internal ASM type for this Type - computed once at construction */ - private transient final jdk.internal.org.objectweb.asm.Type internalType; + private transient final org.objectweb.asm.Type internalType; /** Weights are used to decide which types are "wider" than other types */ protected static final int MIN_WEIGHT = -1; @@ -127,7 +127,7 @@ public abstract class Type implements Comparable, BytecodeOps, Serializabl Type(final String name, final Class clazz, final int weight, final int slots) { this.name = name; this.clazz = clazz; - this.descriptor = jdk.internal.org.objectweb.asm.Type.getDescriptor(clazz); + this.descriptor = org.objectweb.asm.Type.getDescriptor(clazz); this.weight = weight; assert weight >= MIN_WEIGHT && weight <= MAX_WEIGHT : "illegal type weight: " + weight; this.slots = slots; @@ -189,11 +189,11 @@ public Class getBoxedType() { * @return a descriptor string */ public static String getMethodDescriptor(final Type returnType, final Type... types) { - final jdk.internal.org.objectweb.asm.Type[] itypes = new jdk.internal.org.objectweb.asm.Type[types.length]; + final org.objectweb.asm.Type[] itypes = new org.objectweb.asm.Type[types.length]; for (int i = 0; i < types.length; i++) { itypes[i] = types[i].getInternalType(); } - return jdk.internal.org.objectweb.asm.Type.getMethodDescriptor(returnType.getInternalType(), itypes); + return org.objectweb.asm.Type.getMethodDescriptor(returnType.getInternalType(), itypes); } /** @@ -205,11 +205,11 @@ public static String getMethodDescriptor(final Type returnType, final Type... ty * @return a descriptor string */ public static String getMethodDescriptor(final Class returnType, final Class... types) { - final jdk.internal.org.objectweb.asm.Type[] itypes = new jdk.internal.org.objectweb.asm.Type[types.length]; + final org.objectweb.asm.Type[] itypes = new org.objectweb.asm.Type[types.length]; for (int i = 0; i < types.length; i++) { itypes[i] = getInternalType(types[i]); } - return jdk.internal.org.objectweb.asm.Type.getMethodDescriptor(getInternalType(returnType), itypes); + return org.objectweb.asm.Type.getMethodDescriptor(getInternalType(returnType), itypes); } /** @@ -234,17 +234,17 @@ public static char getShortSignatureDescriptor(final Type type) { * @return Nashorn type */ @SuppressWarnings("fallthrough") - private static Type typeFor(final jdk.internal.org.objectweb.asm.Type itype) { + private static Type typeFor(final org.objectweb.asm.Type itype) { switch (itype.getSort()) { - case jdk.internal.org.objectweb.asm.Type.BOOLEAN: + case org.objectweb.asm.Type.BOOLEAN: return BOOLEAN; - case jdk.internal.org.objectweb.asm.Type.INT: + case org.objectweb.asm.Type.INT: return INT; - case jdk.internal.org.objectweb.asm.Type.LONG: + case org.objectweb.asm.Type.LONG: return LONG; - case jdk.internal.org.objectweb.asm.Type.DOUBLE: + case org.objectweb.asm.Type.DOUBLE: return NUMBER; - case jdk.internal.org.objectweb.asm.Type.OBJECT: + case org.objectweb.asm.Type.OBJECT: if (Context.isStructureClass(itype.getClassName())) { return SCRIPT_OBJECT; } @@ -255,19 +255,19 @@ private static Type typeFor(final jdk.internal.org.objectweb.asm.Type itype) { throw new AssertionError(e); } }); - case jdk.internal.org.objectweb.asm.Type.VOID: + case org.objectweb.asm.Type.VOID: return null; - case jdk.internal.org.objectweb.asm.Type.ARRAY: + case org.objectweb.asm.Type.ARRAY: switch (itype.getElementType().getSort()) { - case jdk.internal.org.objectweb.asm.Type.DOUBLE: + case org.objectweb.asm.Type.DOUBLE: return NUMBER_ARRAY; - case jdk.internal.org.objectweb.asm.Type.INT: + case org.objectweb.asm.Type.INT: return INT_ARRAY; - case jdk.internal.org.objectweb.asm.Type.LONG: + case org.objectweb.asm.Type.LONG: return LONG_ARRAY; default: assert false; - case jdk.internal.org.objectweb.asm.Type.OBJECT: + case org.objectweb.asm.Type.OBJECT: return OBJECT_ARRAY; } @@ -285,7 +285,7 @@ private static Type typeFor(final jdk.internal.org.objectweb.asm.Type itype) { * @return return type */ public static Type getMethodReturnType(final String methodDescriptor) { - return Type.typeFor(jdk.internal.org.objectweb.asm.Type.getReturnType(methodDescriptor)); + return Type.typeFor(org.objectweb.asm.Type.getReturnType(methodDescriptor)); } /** @@ -295,7 +295,7 @@ public static Type getMethodReturnType(final String methodDescriptor) { * @return parameter type array */ public static Type[] getMethodArguments(final String methodDescriptor) { - final jdk.internal.org.objectweb.asm.Type itypes[] = jdk.internal.org.objectweb.asm.Type.getArgumentTypes(methodDescriptor); + final org.objectweb.asm.Type itypes[] = org.objectweb.asm.Type.getArgumentTypes(methodDescriptor); final Type types[] = new Type[itypes.length]; for (int i = 0; i < itypes.length; i++) { types[i] = Type.typeFor(itypes[i]); @@ -361,26 +361,26 @@ public static Map readTypeMap(final DataInput input) throws IOExc return map; } - static jdk.internal.org.objectweb.asm.Type getInternalType(final String className) { - return jdk.internal.org.objectweb.asm.Type.getType(className); + static org.objectweb.asm.Type getInternalType(final String className) { + return org.objectweb.asm.Type.getType(className); } - private jdk.internal.org.objectweb.asm.Type getInternalType() { + private org.objectweb.asm.Type getInternalType() { return internalType; } - private static jdk.internal.org.objectweb.asm.Type lookupInternalType(final Class type) { - final Map, jdk.internal.org.objectweb.asm.Type> c = INTERNAL_TYPE_CACHE; - jdk.internal.org.objectweb.asm.Type itype = c.get(type); + private static org.objectweb.asm.Type lookupInternalType(final Class type) { + final Map, org.objectweb.asm.Type> c = INTERNAL_TYPE_CACHE; + org.objectweb.asm.Type itype = c.get(type); if (itype != null) { return itype; } - itype = jdk.internal.org.objectweb.asm.Type.getType(type); + itype = org.objectweb.asm.Type.getType(type); c.put(type, itype); return itype; } - private static jdk.internal.org.objectweb.asm.Type getInternalType(final Class type) { + private static org.objectweb.asm.Type getInternalType(final Class type) { return lookupInternalType(type); } @@ -393,7 +393,7 @@ static void invokestatic(final MethodVisitor method, final Call call) { * @return the internal name */ public String getInternalName() { - return jdk.internal.org.objectweb.asm.Type.getInternalName(getTypeClass()); + return org.objectweb.asm.Type.getInternalName(getTypeClass()); } /** @@ -402,7 +402,7 @@ public String getInternalName() { * @return the internal name */ public static String getInternalName(final Class clazz) { - return jdk.internal.org.objectweb.asm.Type.getInternalName(clazz); + return org.objectweb.asm.Type.getInternalName(clazz); } /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java index 3ed22d120..b5312c647 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornClassReader.java @@ -29,10 +29,10 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import jdk.internal.org.objectweb.asm.Attribute; -import jdk.internal.org.objectweb.asm.ClassReader; -import jdk.internal.org.objectweb.asm.ClassVisitor; -import jdk.internal.org.objectweb.asm.Label; +import org.objectweb.asm.Attribute; +import org.objectweb.asm.ClassReader; +import org.objectweb.asm.ClassVisitor; +import org.objectweb.asm.Label; import org.openjdk.nashorn.internal.ir.debug.NashornTextifier.NashornLabel; /** diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java index c32cc6e70..dacff927f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/debug/NashornTextifier.java @@ -36,14 +36,14 @@ import java.util.List; import java.util.Map; import java.util.Set; -import jdk.internal.org.objectweb.asm.Attribute; -import jdk.internal.org.objectweb.asm.Handle; -import jdk.internal.org.objectweb.asm.Label; -import jdk.internal.org.objectweb.asm.Opcodes; -import jdk.internal.org.objectweb.asm.Type; -import jdk.internal.org.objectweb.asm.signature.SignatureReader; -import jdk.internal.org.objectweb.asm.util.Printer; -import jdk.internal.org.objectweb.asm.util.TraceSignatureVisitor; +import org.objectweb.asm.Attribute; +import org.objectweb.asm.Handle; +import org.objectweb.asm.Label; +import org.objectweb.asm.Opcodes; +import org.objectweb.asm.Type; +import org.objectweb.asm.signature.SignatureReader; +import org.objectweb.asm.util.Printer; +import org.objectweb.asm.util.TraceSignatureVisitor; import org.openjdk.nashorn.internal.runtime.ScriptEnvironment; import org.openjdk.nashorn.internal.runtime.linker.Bootstrap; import org.openjdk.nashorn.internal.runtime.linker.NameCodec; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java index b10e94fb2..c48edd09f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java @@ -25,7 +25,7 @@ package org.openjdk.nashorn.internal.runtime; -import static jdk.internal.org.objectweb.asm.Opcodes.V1_7; +import static org.objectweb.asm.Opcodes.V1_7; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.CREATE_PROGRAM_FUNCTION; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.SOURCE; @@ -85,10 +85,10 @@ import java.util.stream.Stream; import javax.script.ScriptEngine; import jdk.dynalink.DynamicLinker; -import jdk.internal.org.objectweb.asm.ClassReader; -import jdk.internal.org.objectweb.asm.ClassWriter; -import jdk.internal.org.objectweb.asm.Opcodes; -import jdk.internal.org.objectweb.asm.util.CheckClassAdapter; +import org.objectweb.asm.ClassReader; +import org.objectweb.asm.ClassWriter; +import org.objectweb.asm.Opcodes; +import org.objectweb.asm.util.CheckClassAdapter; import org.openjdk.nashorn.api.scripting.ClassFilter; import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; import org.openjdk.nashorn.internal.WeakValueCache; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java index 413475f07..efed43661 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java @@ -25,20 +25,20 @@ package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PRIVATE; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_STATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_SUPER; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_VARARGS; -import static jdk.internal.org.objectweb.asm.Opcodes.ALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.ASTORE; -import static jdk.internal.org.objectweb.asm.Opcodes.D2F; -import static jdk.internal.org.objectweb.asm.Opcodes.H_INVOKESTATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.INVOKESPECIAL; -import static jdk.internal.org.objectweb.asm.Opcodes.I2B; -import static jdk.internal.org.objectweb.asm.Opcodes.I2S; -import static jdk.internal.org.objectweb.asm.Opcodes.RETURN; +import static org.objectweb.asm.Opcodes.ACC_FINAL; +import static org.objectweb.asm.Opcodes.ACC_PRIVATE; +import static org.objectweb.asm.Opcodes.ACC_PUBLIC; +import static org.objectweb.asm.Opcodes.ACC_STATIC; +import static org.objectweb.asm.Opcodes.ACC_SUPER; +import static org.objectweb.asm.Opcodes.ACC_VARARGS; +import static org.objectweb.asm.Opcodes.ALOAD; +import static org.objectweb.asm.Opcodes.ASTORE; +import static org.objectweb.asm.Opcodes.D2F; +import static org.objectweb.asm.Opcodes.H_INVOKESTATIC; +import static org.objectweb.asm.Opcodes.INVOKESPECIAL; +import static org.objectweb.asm.Opcodes.I2B; +import static org.objectweb.asm.Opcodes.I2S; +import static org.objectweb.asm.Opcodes.RETURN; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.interfaceCallNoLookup; import static org.openjdk.nashorn.internal.codegen.CompilerConstants.staticCallNoLookup; import static org.openjdk.nashorn.internal.lookup.Lookup.MH; @@ -62,12 +62,12 @@ import java.util.Iterator; import java.util.List; import java.util.Set; -import jdk.internal.org.objectweb.asm.ClassWriter; -import jdk.internal.org.objectweb.asm.Handle; -import jdk.internal.org.objectweb.asm.Label; -import jdk.internal.org.objectweb.asm.Opcodes; -import jdk.internal.org.objectweb.asm.Type; -import jdk.internal.org.objectweb.asm.commons.InstructionAdapter; +import org.objectweb.asm.ClassWriter; +import org.objectweb.asm.Handle; +import org.objectweb.asm.Label; +import org.objectweb.asm.Opcodes; +import org.objectweb.asm.Type; +import org.objectweb.asm.commons.InstructionAdapter; import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; import org.openjdk.nashorn.api.scripting.ScriptUtils; import org.openjdk.nashorn.internal.codegen.CompilerConstants.Call; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java index fbd1d4075..7e10da73f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterServices.java @@ -25,12 +25,12 @@ package org.openjdk.nashorn.internal.runtime.linker; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_FINAL; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_STATIC; -import static jdk.internal.org.objectweb.asm.Opcodes.ACC_SUPER; -import static jdk.internal.org.objectweb.asm.Opcodes.ALOAD; -import static jdk.internal.org.objectweb.asm.Opcodes.RETURN; +import static org.objectweb.asm.Opcodes.ACC_FINAL; +import static org.objectweb.asm.Opcodes.ACC_PUBLIC; +import static org.objectweb.asm.Opcodes.ACC_STATIC; +import static org.objectweb.asm.Opcodes.ACC_SUPER; +import static org.objectweb.asm.Opcodes.ALOAD; +import static org.objectweb.asm.Opcodes.RETURN; import static org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError; import java.lang.invoke.CallSite; @@ -48,10 +48,10 @@ import java.security.ProtectionDomain; import java.security.SecureClassLoader; import java.util.Objects; -import jdk.internal.org.objectweb.asm.ClassWriter; -import jdk.internal.org.objectweb.asm.Opcodes; -import jdk.internal.org.objectweb.asm.Type; -import jdk.internal.org.objectweb.asm.commons.InstructionAdapter; +import org.objectweb.asm.ClassWriter; +import org.objectweb.asm.Opcodes; +import org.objectweb.asm.Type; +import org.objectweb.asm.commons.InstructionAdapter; import org.openjdk.nashorn.api.scripting.ScriptObjectMirror; import org.openjdk.nashorn.internal.objects.Global; import org.openjdk.nashorn.internal.runtime.Context; From 1dfad1bcd828cec9878217b03367f475f4a0efda Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 15:12:17 +0200 Subject: [PATCH 09/29] These are probably unneeded --- make/CompileJavaModulesNashorn.gmk | 6 +++--- make/nashorn/project.properties | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/make/CompileJavaModulesNashorn.gmk b/make/CompileJavaModulesNashorn.gmk index c8a6f5cf6..4392e861f 100644 --- a/make/CompileJavaModulesNashorn.gmk +++ b/make/CompileJavaModulesNashorn.gmk @@ -24,7 +24,7 @@ # NASGEN_SRC := $(TOPDIR)/make/nashorn/buildtools/nasgen/src -ASM_SRC := $(TOPDIR)/src/java.base/share/classes/jdk/internal/org/objectweb/asm +ASM_SRC := $(TOPDIR)/src/java.base/share/classes/org/objectweb/asm # Build nasgen $(eval $(call SetupJavaCompilation, BUILD_NASGEN, \ @@ -39,8 +39,8 @@ NASGEN_RUN_FILE := $(NASHORN_CLASSES_DIR)/_the.nasgen.run NASGEN_OPTIONS := \ -cp $(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \ --patch-module java.base=$(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \ - --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \ - --add-exports java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED \ + --add-exports java.base/org.objectweb.asm=ALL-UNNAMED \ + --add-exports java.base/org.objectweb.asm.util=ALL-UNNAMED \ # # Run nasgen to modify classes in org.openjdk.nashorn.internal.objects package diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index 1a4bf78b2..e250d6320 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -25,7 +25,7 @@ application.title=nashorn # location of JDK embedded ASM sources jdk.java.base.dir=src/java.base/share/classes -jdk.asm.src.dir=${jdk.java.base.dir}/jdk/internal/org/objectweb/asm +jdk.asm.src.dir=${jdk.java.base.dir}/org/objectweb/asm # location of JDK embedded jline sources jdk.jline.src.dir=src/jdk.internal.le/share/classes @@ -157,7 +157,7 @@ test.module.imports.compile.time=\ --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp=ALL-UNNAMED \ --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp.joni=ALL-UNNAMED \ --add-exports org.openjdk.nashorn/org.openjdk.nashorn.tools=ALL-UNNAMED \ - --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED + --add-exports java.base/org.objectweb.asm=ALL-UNNAMED test.module.imports.runtime=\ ${test.module.imports.compile.time} \ From 76daca45065d098930923f2ca2c4e2993fe7094c Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 4 Oct 2020 15:21:14 +0200 Subject: [PATCH 10/29] Remove dependency on jdk.internal.reflect.* package --- .../linker/JavaAdapterBytecodeGenerator.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java index efed43661..80571d51b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java @@ -44,12 +44,13 @@ import static org.openjdk.nashorn.internal.lookup.Lookup.MH; import static org.openjdk.nashorn.internal.runtime.linker.AdaptationResult.Outcome.ERROR_NO_ACCESSIBLE_CONSTRUCTOR; +import java.lang.annotation.Annotation; import java.lang.invoke.CallSite; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles.Lookup; import java.lang.invoke.MethodType; -import java.lang.reflect.AccessibleObject; import java.lang.reflect.Constructor; +import java.lang.reflect.Executable; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.security.AccessControlContext; @@ -74,7 +75,6 @@ import org.openjdk.nashorn.internal.runtime.ScriptFunction; import org.openjdk.nashorn.internal.runtime.ScriptObject; import org.openjdk.nashorn.internal.runtime.linker.AdaptationResult.Outcome; -import jdk.internal.reflect.CallerSensitive; /** * Generates bytecode for a Java adapter class. Used by the {@link JavaAdapterFactory}. @@ -213,6 +213,8 @@ final class JavaAdapterBytecodeGenerator { private static final String FINALIZER_DELEGATE_NAME = "$$nashornFinalizerDelegate"; private static final String FINALIZER_DELEGATE_METHOD_DESCRIPTOR = Type.getMethodDescriptor(Type.VOID_TYPE, OBJECT_TYPE); + private static final String CALLER_SENSITIVE_CLASS_NAME = "jdk.internal.reflect.CallerSensitive"; + /** * Collection of methods we never override: Object.clone(), Object.finalize(). */ @@ -1227,8 +1229,13 @@ private static Class assignableSuperClass(final Class c1, final Class c return superClass.isAssignableFrom(c2) ? superClass : assignableSuperClass(superClass, c2); } - private static boolean isCallerSensitive(final AccessibleObject e) { - return e.isAnnotationPresent(CallerSensitive.class); + private static boolean isCallerSensitive(final Executable e) { + for (final Annotation ann: e.getAnnotations()) { + if (CALLER_SENSITIVE_CLASS_NAME.equals(ann.annotationType().getName())) { + return true; + } + } + return false; } private static Call lookupServiceMethod(final String name, final Class rtype, final Class... ptypes) { From b0ef8a285a0e3080f158e66ffc09987011e9f17b Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Mon, 19 Oct 2020 15:47:18 +0200 Subject: [PATCH 11/29] Adjust to the way our dependencies work now --- make/nashorn/buildtools/nasgen/nasgen.iml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/nashorn/buildtools/nasgen/nasgen.iml b/make/nashorn/buildtools/nasgen/nasgen.iml index f6c890a2d..1884a654b 100644 --- a/make/nashorn/buildtools/nasgen/nasgen.iml +++ b/make/nashorn/buildtools/nasgen/nasgen.iml @@ -33,7 +33,7 @@ - + From 3f317532148f968048da175892e516ccd8281b6e Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Mon, 19 Oct 2020 21:59:34 +0200 Subject: [PATCH 12/29] Use sun.misc.Unsafe instead of jdk.internal.misc.Unsafe --- .../share/classes/module-info.java | 1 + .../nashorn/internal/runtime/Context.java | 29 +++++++++++++++++-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/org.openjdk.nashorn/share/classes/module-info.java b/src/org.openjdk.nashorn/share/classes/module-info.java index 1aada25c4..f54a28a0b 100644 --- a/src/org.openjdk.nashorn/share/classes/module-info.java +++ b/src/org.openjdk.nashorn/share/classes/module-info.java @@ -142,6 +142,7 @@ module org.openjdk.nashorn { requires java.logging; requires jdk.dynalink; + requires jdk.unsupported; requires org.objectweb.asm; requires org.objectweb.asm.commons; diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java index c48edd09f..26bb733f1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java @@ -108,7 +108,7 @@ import org.openjdk.nashorn.internal.runtime.logging.Logger; import org.openjdk.nashorn.internal.runtime.options.LoggingOption.LoggerInfo; import org.openjdk.nashorn.internal.runtime.options.Options; -import jdk.internal.misc.Unsafe; +import sun.misc.Unsafe; /** * This class manages the global state of execution. Context is immutable. @@ -318,12 +318,29 @@ public CodeInstaller getMultiClassCodeInstaller() { private final WeakValueCache> anonymousHostClasses = new WeakValueCache<>(); private static final class AnonymousContextCodeInstaller extends ContextCodeInstaller { - private static final Unsafe UNSAFE = Unsafe.getUnsafe(); + private static final MethodHandle DEFINE_ANONYMOUS_CLASS = getDefineAnonymousClass(); private static final String ANONYMOUS_HOST_CLASS_NAME = Compiler.SCRIPTS_PACKAGE.replace('/', '.') + ".AnonymousHost"; private static final byte[] ANONYMOUS_HOST_CLASS_BYTES = getAnonymousHostClassBytes(); private final Class hostClass; + private static MethodHandle getDefineAnonymousClass() { + // Can't reference the Unsafe class at all outside of the doPrivileged block, + // not even as a type of the return value, hence we just export a MethodHandle + // out of it. + return AccessController.doPrivileged((PrivilegedAction) () -> { + try { + final MethodHandle mh = MethodHandles.lookup().findVirtual(Unsafe.class, "defineAnonymousClass", + MethodType.methodType(Class.class, Class.class, byte[].class, Object[].class)); + final Field f = Unsafe.class.getDeclaredField("theUnsafe"); + f.setAccessible(true); + return mh.bindTo(f.get(null)); + } catch (ReflectiveOperationException e) { + throw new RuntimeException(e); + } + }); + } + private AnonymousContextCodeInstaller(final Context context, final CodeSource codeSource, final Class hostClass) { super(context, codeSource); this.hostClass = hostClass; @@ -332,7 +349,13 @@ private AnonymousContextCodeInstaller(final Context context, final CodeSource co @Override public Class install(final String className, final byte[] bytecode) { ANONYMOUS_INSTALLED_SCRIPT_COUNT.increment(); - return UNSAFE.defineAnonymousClass(hostClass, bytecode, null); + try { + return (Class)DEFINE_ANONYMOUS_CLASS.invokeExact(hostClass, bytecode, (Object[])null); + } catch (RuntimeException | Error e) { + throw e; + } catch (Throwable e) { + throw new RuntimeException(e); + } } @Override From 1ad01be7b98eacea594e61cdd05e0b0b297254c5 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Mon, 5 Oct 2020 13:55:05 +0200 Subject: [PATCH 13/29] Compile shell after nashorn jar, so it uses it as a module --- make/nashorn/build.xml | 57 ++++++++++++++++----------------- make/nashorn/code_coverage.xml | 2 +- make/nashorn/project.properties | 9 ++++++ 3 files changed, 37 insertions(+), 31 deletions(-) diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index db6c214fa..583677dae 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -183,11 +183,7 @@ - - - - - + - - - - - - - - - - - - - - - + @@ -228,16 +206,30 @@ - - - - ${line.separator} + + + + + + + + + + + + + + - + @@ -251,11 +243,16 @@
+ + + + + @@ -306,7 +303,7 @@ excludes="nashorn/bin/*.sh" includes="nashorn/bin/** nashorn/dist/**"/> - + diff --git a/make/nashorn/code_coverage.xml b/make/nashorn/code_coverage.xml index 7fe1f3845..6bacb3c83 100644 --- a/make/nashorn/code_coverage.xml +++ b/make/nashorn/code_coverage.xml @@ -56,7 +56,7 @@ - + diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index e250d6320..0aa4d9578 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -73,6 +73,15 @@ nasgen.module.imports=\ --add-modules org.objectweb.asm \ --add-modules org.objectweb.asm.util +nashorn.shell.module.imports=\ + --add-exports jdk.internal.ed/jdk.internal.editor.spi=org.openjdk.nashorn.shell \ + --add-exports jdk.internal.ed/jdk.internal.editor.external=org.openjdk.nashorn.shell \ + --add-exports jdk.internal.le/jdk.internal.org.jline.reader=org.openjdk.nashorn.shell \ + --add-exports jdk.internal.le/jdk.internal.org.jline.reader.impl=org.openjdk.nashorn.shell \ + --add-exports jdk.internal.le/jdk.internal.org.jline.reader.impl.completer=org.openjdk.nashorn.shell \ + --add-exports jdk.internal.le/jdk.internal.org.jline.keymap=org.openjdk.nashorn.shell \ + --add-exports jdk.internal.le/jdk.internal.org.jline.terminal=org.openjdk.nashorn.shell + # parallel test runner tool parallel.test.runner=org.openjdk.nashorn.internal.test.framework.ParallelTestRunner From 1e95530f2021d616e95432a955918ff279eaab89 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Mon, 5 Oct 2020 14:35:57 +0200 Subject: [PATCH 14/29] Move test files to new directory structure --- .../{jdk => org/openjdk}/dynalink/beans/test/BeanLinkerTest.java | 0 .../{jdk => org/openjdk}/dynalink/beans/test/BeansLinkerTest.java | 0 .../openjdk}/dynalink/beans/test/CallerSensitiveTest.java | 0 .../openjdk}/dynalink/linker/support/test/LookupTest.java | 0 .../{jdk => org/openjdk}/dynalink/support/test/CallSiteTest.java | 0 .../src/{jdk => org/openjdk}/dynalink/test/ArrayRunnableTest.java | 0 .../openjdk}/dynalink/test/DynamicLinkerFactoryTest.java | 0 .../openjdk}/dynalink/test/LinkedCallSiteLocationTest.java | 0 .../dynalink/test/TrustedGuardingDynamicLinkerExporter.java | 0 .../dynalink/test/TrustedUnderscoreNameLinkerExporter.java | 0 .../dynalink/test/UntrustedGuardingDynamicLinkerExporter.java | 0 .../openjdk}/nashorn/api/javaaccess/test/ArrayConversionTest.java | 0 .../openjdk}/nashorn/api/javaaccess/test/BooleanAccessTest.java | 0 .../openjdk}/nashorn/api/javaaccess/test/ConsStringTest.java | 0 .../openjdk}/nashorn/api/javaaccess/test/MethodAccessTest.java | 0 .../openjdk}/nashorn/api/javaaccess/test/NumberAccessTest.java | 0 .../openjdk}/nashorn/api/javaaccess/test/NumberBoxingTest.java | 0 .../openjdk}/nashorn/api/javaaccess/test/ObjectAccessTest.java | 0 .../{jdk => org/openjdk}/nashorn/api/javaaccess/test/Person.java | 0 .../openjdk}/nashorn/api/javaaccess/test/SharedObject.java | 0 .../openjdk}/nashorn/api/javaaccess/test/StringAccessTest.java | 0 .../openjdk}/nashorn/api/scripting/test/InvocableTest.java | 0 .../openjdk}/nashorn/api/scripting/test/JDK_8068741_Test.java | 0 .../openjdk}/nashorn/api/scripting/test/JDK_8148140_Test.java | 0 .../openjdk}/nashorn/api/scripting/test/JDK_8169050_Test.java | 0 .../openjdk}/nashorn/api/scripting/test/JDK_8182996_Test.java | 0 .../openjdk}/nashorn/api/scripting/test/JSONCompatibleTest.java | 0 .../openjdk}/nashorn/api/scripting/test/MultipleEngineTest.java | 0 .../nashorn/api/scripting/test/PluggableJSObjectTest.java | 0 .../openjdk}/nashorn/api/scripting/test/ScopeTest.java | 0 .../nashorn/api/scripting/test/ScriptEngineSecurityTest.java | 0 .../openjdk}/nashorn/api/scripting/test/ScriptEngineTest.java | 0 .../nashorn/api/scripting/test/ScriptObjectMirrorTest.java | 0 .../nashorn/api/scripting/test/VariableArityTestInterface.java | 0 .../{jdk => org/openjdk}/nashorn/api/scripting/test/Window.java | 0 .../openjdk}/nashorn/api/scripting/test/WindowEventHandler.java | 0 .../openjdk}/nashorn/api/scripting/test/resources/func.js | 0 .../openjdk}/nashorn/api/scripting/test/resources/gettersetter.js | 0 .../openjdk}/nashorn/api/scripting/test/resources/witheval.js | 0 .../{jdk => org/openjdk}/nashorn/api/test/NashornSQLDriver.java | 0 .../openjdk}/nashorn/api/tree/test/JDK_8188098_Test.java | 0 .../openjdk}/nashorn/api/tree/test/JDK_8193296_Test.java | 0 .../{jdk => org/openjdk}/nashorn/api/tree/test/ParseAPITest.java | 0 .../openjdk}/nashorn/internal/codegen/test/CompilerTest.java | 0 .../openjdk}/nashorn/internal/parser/test/ParserTest.java | 0 .../openjdk}/nashorn/internal/performance/AuroraWrapper.java | 0 .../openjdk}/nashorn/internal/performance/OctaneTest.java | 0 .../openjdk}/nashorn/internal/performance/PerformanceWrapper.java | 0 .../openjdk}/nashorn/internal/performance/SplayTest.java | 0 .../nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java | 0 .../nashorn/internal/runtime/doubleconv/test/BignumTest.java | 0 .../nashorn/internal/runtime/doubleconv/test/DiyFpTest.java | 0 .../nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java | 0 .../nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java | 0 .../nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java | 0 .../internal/runtime/doubleconv/test/resources/gay-fixed.txt | 0 .../internal/runtime/doubleconv/test/resources/gay-precision.txt | 0 .../internal/runtime/doubleconv/test/resources/gay-shortest.txt | 0 .../nashorn/internal/runtime/linker/test/JDK_8184723_Test.java | 0 .../nashorn/internal/runtime/linker/test/JavaAdapterTest.java | 0 .../nashorn/internal/runtime/linker/test/NameCodecTest.java | 0 .../nashorn/internal/runtime/regexp/joni/test/JoniTest.java | 0 .../nashorn/internal/runtime/regexp/test/JdkRegExpTest.java | 0 .../AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java | 0 .../openjdk}/nashorn/internal/runtime/test/ClassFilterTest.java | 0 .../nashorn/internal/runtime/test/CodeStoreAndPathTest.java | 0 .../openjdk}/nashorn/internal/runtime/test/ConsStringTest.java | 0 .../openjdk}/nashorn/internal/runtime/test/ContextTest.java | 0 .../nashorn/internal/runtime/test/ExceptionsNotSerializable.java | 0 .../openjdk}/nashorn/internal/runtime/test/JDK_8078414_Test.java | 0 .../openjdk}/nashorn/internal/runtime/test/JDK_8081015_Test.java | 0 .../openjdk}/nashorn/internal/runtime/test/JDK_8142924_Test.java | 0 .../openjdk}/nashorn/internal/runtime/test/JDK_8186807_Test.java | 0 .../openjdk}/nashorn/internal/runtime/test/JSTypeTest.java | 0 .../nashorn/internal/runtime/test/LexicalBindingTest.java | 0 .../nashorn/internal/runtime/test/NoPersistenceCachingTest.java | 0 .../openjdk}/nashorn/internal/runtime/test/PropertyMapTest.java | 0 .../openjdk}/nashorn/internal/runtime/test/SourceTest.java | 0 .../nashorn/internal/runtime/test/TrustedScriptEngineTest.java | 0 .../nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java | 0 .../openjdk}/nashorn/internal/runtime/test/resources/load_test.js | 0 .../nashorn/internal/test/framework/AbstractScriptRunnable.java | 0 .../nashorn/internal/test/framework/JSJUnitReportReporter.java | 0 .../nashorn/internal/test/framework/OrphanTestFinder.java | 0 .../nashorn/internal/test/framework/ParallelTestRunner.java | 0 .../openjdk}/nashorn/internal/test/framework/ScriptEvaluator.java | 0 .../openjdk}/nashorn/internal/test/framework/ScriptRunnable.java | 0 .../openjdk}/nashorn/internal/test/framework/ScriptTest.java | 0 .../nashorn/internal/test/framework/SeparateContextEvaluator.java | 0 .../nashorn/internal/test/framework/SharedContextEvaluator.java | 0 .../openjdk}/nashorn/internal/test/framework/TestConfig.java | 0 .../openjdk}/nashorn/internal/test/framework/TestFinder.java | 0 .../openjdk}/nashorn/internal/test/framework/TestHelper.java | 0 .../nashorn/internal/test/framework/TestReorderInterceptor.java | 0 .../openjdk}/nashorn/internal/test/models/InternalRunnable.java | 0 .../openjdk}/nashorn/internal/test/models/RestrictedRunnable.java | 0 test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/A.java | 0 .../openjdk}/nashorn/test/models/ArrayConversionPreferences.java | 0 test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/B.java | 0 .../src/{jdk => org/openjdk}/nashorn/test/models/BigAbstract.java | 0 .../openjdk}/nashorn/test/models/ClassLoaderAware.java | 0 .../openjdk}/nashorn/test/models/ClassWithFinalFinalizer.java | 0 .../nashorn/test/models/ClassWithInheritedFinalFinalizer.java | 0 .../openjdk}/nashorn/test/models/ConstructorWithArgument.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/DessertTopping.java | 0 .../nashorn/test/models/DessertToppingFloorWaxDriver.java | 0 .../src/{jdk => org/openjdk}/nashorn/test/models/FinalClass.java | 0 .../src/{jdk => org/openjdk}/nashorn/test/models/FloorWax.java | 0 .../openjdk}/nashorn/test/models/FunctionalInterfaceProvider.java | 0 .../openjdk}/nashorn/test/models/IntFloatOverloadSelection.java | 0 .../openjdk}/nashorn/test/models/InternalRunnableSuperclass.java | 0 .../openjdk}/nashorn/test/models/JDK_8081015_TestModel.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/JDK_8184241Test.java | 0 .../openjdk}/nashorn/test/models/Jdk8011362TestSubject.java | 0 .../openjdk}/nashorn/test/models/Jdk8072596TestSubject.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/LongProvider.java | 0 .../openjdk}/nashorn/test/models/Nashorn401TestSubject.java | 0 .../nashorn/test/models/NoAccessibleConstructorClass.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/NonPublicClass.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/NullProvider.java | 0 .../src/{jdk => org/openjdk}/nashorn/test/models/OuterClass.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/OverloadedSam.java | 0 .../openjdk}/nashorn/test/models/OverloadedSetter.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/OverrideObject.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/PropertyBind.java | 0 .../src/{jdk => org/openjdk}/nashorn/test/models/Reflector.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/SourceHelper.java | 0 .../src/{jdk => org/openjdk}/nashorn/test/models/StringArgs.java | 0 .../src/{jdk => org/openjdk}/nashorn/test/models/Toothpaste.java | 0 .../openjdk}/nashorn/test/models/VarArgConstructor.java | 0 .../{jdk => org/openjdk}/nashorn/test/models/VarArgConsumer.java | 0 .../openjdk}/nashorn/test/nashorn/models/ES6ASTVisitor.java | 0 .../openjdk}/nashorn/test/tools/StaticTypeInspector.java | 0 133 files changed, 0 insertions(+), 0 deletions(-) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/beans/test/BeanLinkerTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/beans/test/BeansLinkerTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/beans/test/CallerSensitiveTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/linker/support/test/LookupTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/support/test/CallSiteTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/test/ArrayRunnableTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/test/DynamicLinkerFactoryTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/test/LinkedCallSiteLocationTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/test/TrustedGuardingDynamicLinkerExporter.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/test/TrustedUnderscoreNameLinkerExporter.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/dynalink/test/UntrustedGuardingDynamicLinkerExporter.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/ArrayConversionTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/BooleanAccessTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/ConsStringTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/MethodAccessTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/NumberAccessTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/NumberBoxingTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/ObjectAccessTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/Person.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/SharedObject.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/javaaccess/test/StringAccessTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/InvocableTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/JDK_8068741_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/JDK_8148140_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/JDK_8169050_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/JDK_8182996_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/JSONCompatibleTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/MultipleEngineTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/PluggableJSObjectTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/ScopeTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/ScriptEngineSecurityTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/ScriptEngineTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/ScriptObjectMirrorTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/VariableArityTestInterface.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/Window.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/WindowEventHandler.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/resources/func.js (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/resources/gettersetter.js (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/scripting/test/resources/witheval.js (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/test/NashornSQLDriver.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/tree/test/JDK_8188098_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/tree/test/JDK_8193296_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/api/tree/test/ParseAPITest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/codegen/test/CompilerTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/parser/test/ParserTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/performance/AuroraWrapper.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/performance/OctaneTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/performance/PerformanceWrapper.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/performance/SplayTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/doubleconv/test/BignumTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/doubleconv/test/resources/gay-fixed.txt (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/doubleconv/test/resources/gay-precision.txt (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/doubleconv/test/resources/gay-shortest.txt (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/linker/test/JavaAdapterTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/linker/test/NameCodecTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/regexp/joni/test/JoniTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/ClassFilterTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/CodeStoreAndPathTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/ConsStringTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/ContextTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/ExceptionsNotSerializable.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/JDK_8078414_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/JDK_8081015_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/JDK_8142924_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/JDK_8186807_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/JSTypeTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/LexicalBindingTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/NoPersistenceCachingTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/PropertyMapTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/SourceTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/TrustedScriptEngineTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/runtime/test/resources/load_test.js (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/AbstractScriptRunnable.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/JSJUnitReportReporter.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/OrphanTestFinder.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/ParallelTestRunner.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/ScriptEvaluator.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/ScriptRunnable.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/ScriptTest.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/SeparateContextEvaluator.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/SharedContextEvaluator.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/TestConfig.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/TestFinder.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/TestHelper.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/framework/TestReorderInterceptor.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/models/InternalRunnable.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/internal/test/models/RestrictedRunnable.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/A.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/ArrayConversionPreferences.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/B.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/BigAbstract.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/ClassLoaderAware.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/ClassWithFinalFinalizer.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/ClassWithInheritedFinalFinalizer.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/ConstructorWithArgument.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/DessertTopping.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/DessertToppingFloorWaxDriver.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/FinalClass.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/FloorWax.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/FunctionalInterfaceProvider.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/IntFloatOverloadSelection.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/InternalRunnableSuperclass.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/JDK_8081015_TestModel.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/JDK_8184241Test.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/Jdk8011362TestSubject.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/Jdk8072596TestSubject.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/LongProvider.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/Nashorn401TestSubject.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/NoAccessibleConstructorClass.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/NonPublicClass.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/NullProvider.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/OuterClass.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/OverloadedSam.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/OverloadedSetter.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/OverrideObject.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/PropertyBind.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/Reflector.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/SourceHelper.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/StringArgs.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/Toothpaste.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/VarArgConstructor.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/models/VarArgConsumer.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/nashorn/models/ES6ASTVisitor.java (100%) rename test/nashorn/src/{jdk => org/openjdk}/nashorn/test/tools/StaticTypeInspector.java (100%) diff --git a/test/nashorn/src/jdk/dynalink/beans/test/BeanLinkerTest.java b/test/nashorn/src/org/openjdk/dynalink/beans/test/BeanLinkerTest.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/beans/test/BeanLinkerTest.java rename to test/nashorn/src/org/openjdk/dynalink/beans/test/BeanLinkerTest.java diff --git a/test/nashorn/src/jdk/dynalink/beans/test/BeansLinkerTest.java b/test/nashorn/src/org/openjdk/dynalink/beans/test/BeansLinkerTest.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/beans/test/BeansLinkerTest.java rename to test/nashorn/src/org/openjdk/dynalink/beans/test/BeansLinkerTest.java diff --git a/test/nashorn/src/jdk/dynalink/beans/test/CallerSensitiveTest.java b/test/nashorn/src/org/openjdk/dynalink/beans/test/CallerSensitiveTest.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/beans/test/CallerSensitiveTest.java rename to test/nashorn/src/org/openjdk/dynalink/beans/test/CallerSensitiveTest.java diff --git a/test/nashorn/src/jdk/dynalink/linker/support/test/LookupTest.java b/test/nashorn/src/org/openjdk/dynalink/linker/support/test/LookupTest.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/linker/support/test/LookupTest.java rename to test/nashorn/src/org/openjdk/dynalink/linker/support/test/LookupTest.java diff --git a/test/nashorn/src/jdk/dynalink/support/test/CallSiteTest.java b/test/nashorn/src/org/openjdk/dynalink/support/test/CallSiteTest.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/support/test/CallSiteTest.java rename to test/nashorn/src/org/openjdk/dynalink/support/test/CallSiteTest.java diff --git a/test/nashorn/src/jdk/dynalink/test/ArrayRunnableTest.java b/test/nashorn/src/org/openjdk/dynalink/test/ArrayRunnableTest.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/test/ArrayRunnableTest.java rename to test/nashorn/src/org/openjdk/dynalink/test/ArrayRunnableTest.java diff --git a/test/nashorn/src/jdk/dynalink/test/DynamicLinkerFactoryTest.java b/test/nashorn/src/org/openjdk/dynalink/test/DynamicLinkerFactoryTest.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/test/DynamicLinkerFactoryTest.java rename to test/nashorn/src/org/openjdk/dynalink/test/DynamicLinkerFactoryTest.java diff --git a/test/nashorn/src/jdk/dynalink/test/LinkedCallSiteLocationTest.java b/test/nashorn/src/org/openjdk/dynalink/test/LinkedCallSiteLocationTest.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/test/LinkedCallSiteLocationTest.java rename to test/nashorn/src/org/openjdk/dynalink/test/LinkedCallSiteLocationTest.java diff --git a/test/nashorn/src/jdk/dynalink/test/TrustedGuardingDynamicLinkerExporter.java b/test/nashorn/src/org/openjdk/dynalink/test/TrustedGuardingDynamicLinkerExporter.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/test/TrustedGuardingDynamicLinkerExporter.java rename to test/nashorn/src/org/openjdk/dynalink/test/TrustedGuardingDynamicLinkerExporter.java diff --git a/test/nashorn/src/jdk/dynalink/test/TrustedUnderscoreNameLinkerExporter.java b/test/nashorn/src/org/openjdk/dynalink/test/TrustedUnderscoreNameLinkerExporter.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/test/TrustedUnderscoreNameLinkerExporter.java rename to test/nashorn/src/org/openjdk/dynalink/test/TrustedUnderscoreNameLinkerExporter.java diff --git a/test/nashorn/src/jdk/dynalink/test/UntrustedGuardingDynamicLinkerExporter.java b/test/nashorn/src/org/openjdk/dynalink/test/UntrustedGuardingDynamicLinkerExporter.java similarity index 100% rename from test/nashorn/src/jdk/dynalink/test/UntrustedGuardingDynamicLinkerExporter.java rename to test/nashorn/src/org/openjdk/dynalink/test/UntrustedGuardingDynamicLinkerExporter.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ArrayConversionTest.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/ArrayConversionTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/ArrayConversionTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/ArrayConversionTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/BooleanAccessTest.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/BooleanAccessTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/BooleanAccessTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/BooleanAccessTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ConsStringTest.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/ConsStringTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/ConsStringTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/ConsStringTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/MethodAccessTest.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/MethodAccessTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/MethodAccessTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/MethodAccessTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberAccessTest.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/NumberAccessTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberAccessTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/NumberAccessTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberBoxingTest.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/NumberBoxingTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/NumberBoxingTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/NumberBoxingTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/ObjectAccessTest.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/ObjectAccessTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/ObjectAccessTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/ObjectAccessTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/Person.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/Person.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/Person.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/Person.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/SharedObject.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/SharedObject.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/SharedObject.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/SharedObject.java diff --git a/test/nashorn/src/jdk/nashorn/api/javaaccess/test/StringAccessTest.java b/test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/StringAccessTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/javaaccess/test/StringAccessTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/javaaccess/test/StringAccessTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/InvocableTest.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/InvocableTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/InvocableTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/InvocableTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8068741_Test.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JDK_8068741_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8068741_Test.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JDK_8068741_Test.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8148140_Test.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JDK_8148140_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8148140_Test.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JDK_8148140_Test.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8169050_Test.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JDK_8169050_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8169050_Test.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JDK_8169050_Test.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8182996_Test.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JDK_8182996_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/JDK_8182996_Test.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JDK_8182996_Test.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/JSONCompatibleTest.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JSONCompatibleTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/JSONCompatibleTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/JSONCompatibleTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/MultipleEngineTest.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/MultipleEngineTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/MultipleEngineTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/MultipleEngineTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/PluggableJSObjectTest.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/PluggableJSObjectTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/PluggableJSObjectTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/PluggableJSObjectTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScopeTest.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/ScopeTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/ScopeTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/ScopeTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineSecurityTest.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/ScriptEngineSecurityTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineSecurityTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/ScriptEngineSecurityTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineTest.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/ScriptEngineTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptEngineTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/ScriptEngineTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptObjectMirrorTest.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/ScriptObjectMirrorTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/ScriptObjectMirrorTest.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/ScriptObjectMirrorTest.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/VariableArityTestInterface.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/VariableArityTestInterface.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/VariableArityTestInterface.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/VariableArityTestInterface.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/Window.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/Window.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/Window.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/Window.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/WindowEventHandler.java b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/WindowEventHandler.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/WindowEventHandler.java rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/WindowEventHandler.java diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/func.js b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/resources/func.js similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/resources/func.js rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/resources/func.js diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/gettersetter.js b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/resources/gettersetter.js similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/resources/gettersetter.js rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/resources/gettersetter.js diff --git a/test/nashorn/src/jdk/nashorn/api/scripting/test/resources/witheval.js b/test/nashorn/src/org/openjdk/nashorn/api/scripting/test/resources/witheval.js similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/scripting/test/resources/witheval.js rename to test/nashorn/src/org/openjdk/nashorn/api/scripting/test/resources/witheval.js diff --git a/test/nashorn/src/jdk/nashorn/api/test/NashornSQLDriver.java b/test/nashorn/src/org/openjdk/nashorn/api/test/NashornSQLDriver.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/test/NashornSQLDriver.java rename to test/nashorn/src/org/openjdk/nashorn/api/test/NashornSQLDriver.java diff --git a/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8188098_Test.java b/test/nashorn/src/org/openjdk/nashorn/api/tree/test/JDK_8188098_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8188098_Test.java rename to test/nashorn/src/org/openjdk/nashorn/api/tree/test/JDK_8188098_Test.java diff --git a/test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8193296_Test.java b/test/nashorn/src/org/openjdk/nashorn/api/tree/test/JDK_8193296_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/tree/test/JDK_8193296_Test.java rename to test/nashorn/src/org/openjdk/nashorn/api/tree/test/JDK_8193296_Test.java diff --git a/test/nashorn/src/jdk/nashorn/api/tree/test/ParseAPITest.java b/test/nashorn/src/org/openjdk/nashorn/api/tree/test/ParseAPITest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/api/tree/test/ParseAPITest.java rename to test/nashorn/src/org/openjdk/nashorn/api/tree/test/ParseAPITest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/codegen/test/CompilerTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/codegen/test/CompilerTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/codegen/test/CompilerTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/codegen/test/CompilerTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/parser/test/ParserTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/parser/test/ParserTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/parser/test/ParserTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/parser/test/ParserTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/performance/AuroraWrapper.java b/test/nashorn/src/org/openjdk/nashorn/internal/performance/AuroraWrapper.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/performance/AuroraWrapper.java rename to test/nashorn/src/org/openjdk/nashorn/internal/performance/AuroraWrapper.java diff --git a/test/nashorn/src/jdk/nashorn/internal/performance/OctaneTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/performance/OctaneTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/performance/OctaneTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/performance/OctaneTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/performance/PerformanceWrapper.java b/test/nashorn/src/org/openjdk/nashorn/internal/performance/PerformanceWrapper.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/performance/PerformanceWrapper.java rename to test/nashorn/src/org/openjdk/nashorn/internal/performance/PerformanceWrapper.java diff --git a/test/nashorn/src/jdk/nashorn/internal/performance/SplayTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/performance/SplayTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/performance/SplayTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/performance/SplayTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/BignumDtoaTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/FastDtoaTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/FixedDtoaTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/IeeeDoubleTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/resources/gay-fixed.txt b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/resources/gay-fixed.txt similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/resources/gay-fixed.txt rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/resources/gay-fixed.txt diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/resources/gay-precision.txt b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/resources/gay-precision.txt similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/resources/gay-precision.txt rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/resources/gay-precision.txt diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/resources/gay-shortest.txt b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/resources/gay-shortest.txt similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/doubleconv/test/resources/gay-shortest.txt rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/doubleconv/test/resources/gay-shortest.txt diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/linker/test/JDK_8184723_Test.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JavaAdapterTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/linker/test/JavaAdapterTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/JavaAdapterTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/linker/test/JavaAdapterTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/NameCodecTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/linker/test/NameCodecTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/linker/test/NameCodecTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/linker/test/NameCodecTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ClassFilterTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/ClassFilterTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/ClassFilterTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/ClassFilterTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/ConsStringTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/ConsStringTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/ContextTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/ContextTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/ContextTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JDK_8078414_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JDK_8078414_Test.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8081015_Test.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JDK_8081015_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8081015_Test.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JDK_8081015_Test.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8142924_Test.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JDK_8142924_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8142924_Test.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JDK_8142924_Test.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JDK_8186807_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/JDK_8186807_Test.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JDK_8186807_Test.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JSTypeTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/JSTypeTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/LexicalBindingTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/LexicalBindingTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/LexicalBindingTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/LexicalBindingTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/NoPersistenceCachingTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/NoPersistenceCachingTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/NoPersistenceCachingTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/NoPersistenceCachingTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/PropertyMapTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/PropertyMapTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/PropertyMapTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/SourceTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/SourceTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/SourceTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/TrustedScriptEngineTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/TrustedScriptEngineTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/TrustedScriptEngineTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/TrustedScriptEngineTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/nashorn/JDK_8187362_Test.java diff --git a/test/nashorn/src/jdk/nashorn/internal/runtime/test/resources/load_test.js b/test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/resources/load_test.js similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/runtime/test/resources/load_test.js rename to test/nashorn/src/org/openjdk/nashorn/internal/runtime/test/resources/load_test.js diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/AbstractScriptRunnable.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/AbstractScriptRunnable.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/AbstractScriptRunnable.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/AbstractScriptRunnable.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/JSJUnitReportReporter.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/JSJUnitReportReporter.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/JSJUnitReportReporter.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/JSJUnitReportReporter.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/OrphanTestFinder.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/OrphanTestFinder.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/OrphanTestFinder.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/OrphanTestFinder.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/ParallelTestRunner.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/ParallelTestRunner.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/ParallelTestRunner.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/ParallelTestRunner.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptEvaluator.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/ScriptEvaluator.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptEvaluator.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/ScriptEvaluator.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/ScriptRunnable.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/ScriptRunnable.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptTest.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/ScriptTest.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/ScriptTest.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/ScriptTest.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/SeparateContextEvaluator.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/SeparateContextEvaluator.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/SeparateContextEvaluator.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/SeparateContextEvaluator.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/SharedContextEvaluator.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/SharedContextEvaluator.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/SharedContextEvaluator.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/SharedContextEvaluator.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestConfig.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/TestConfig.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/TestConfig.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/TestConfig.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestFinder.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/TestFinder.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/TestFinder.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/TestFinder.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestHelper.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/TestHelper.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/TestHelper.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/TestHelper.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/framework/TestReorderInterceptor.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/framework/TestReorderInterceptor.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/framework/TestReorderInterceptor.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/framework/TestReorderInterceptor.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/models/InternalRunnable.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/models/InternalRunnable.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/models/InternalRunnable.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/models/InternalRunnable.java diff --git a/test/nashorn/src/jdk/nashorn/internal/test/models/RestrictedRunnable.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/models/RestrictedRunnable.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/internal/test/models/RestrictedRunnable.java rename to test/nashorn/src/org/openjdk/nashorn/internal/test/models/RestrictedRunnable.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/A.java b/test/nashorn/src/org/openjdk/nashorn/test/models/A.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/A.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/A.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/ArrayConversionPreferences.java b/test/nashorn/src/org/openjdk/nashorn/test/models/ArrayConversionPreferences.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/ArrayConversionPreferences.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/ArrayConversionPreferences.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/B.java b/test/nashorn/src/org/openjdk/nashorn/test/models/B.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/B.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/B.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/BigAbstract.java b/test/nashorn/src/org/openjdk/nashorn/test/models/BigAbstract.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/BigAbstract.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/BigAbstract.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/ClassLoaderAware.java b/test/nashorn/src/org/openjdk/nashorn/test/models/ClassLoaderAware.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/ClassLoaderAware.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/ClassLoaderAware.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/ClassWithFinalFinalizer.java b/test/nashorn/src/org/openjdk/nashorn/test/models/ClassWithFinalFinalizer.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/ClassWithFinalFinalizer.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/ClassWithFinalFinalizer.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/ClassWithInheritedFinalFinalizer.java b/test/nashorn/src/org/openjdk/nashorn/test/models/ClassWithInheritedFinalFinalizer.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/ClassWithInheritedFinalFinalizer.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/ClassWithInheritedFinalFinalizer.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/ConstructorWithArgument.java b/test/nashorn/src/org/openjdk/nashorn/test/models/ConstructorWithArgument.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/ConstructorWithArgument.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/ConstructorWithArgument.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/DessertTopping.java b/test/nashorn/src/org/openjdk/nashorn/test/models/DessertTopping.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/DessertTopping.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/DessertTopping.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/DessertToppingFloorWaxDriver.java b/test/nashorn/src/org/openjdk/nashorn/test/models/DessertToppingFloorWaxDriver.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/DessertToppingFloorWaxDriver.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/DessertToppingFloorWaxDriver.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/FinalClass.java b/test/nashorn/src/org/openjdk/nashorn/test/models/FinalClass.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/FinalClass.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/FinalClass.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/FloorWax.java b/test/nashorn/src/org/openjdk/nashorn/test/models/FloorWax.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/FloorWax.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/FloorWax.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/FunctionalInterfaceProvider.java b/test/nashorn/src/org/openjdk/nashorn/test/models/FunctionalInterfaceProvider.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/FunctionalInterfaceProvider.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/FunctionalInterfaceProvider.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/IntFloatOverloadSelection.java b/test/nashorn/src/org/openjdk/nashorn/test/models/IntFloatOverloadSelection.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/IntFloatOverloadSelection.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/IntFloatOverloadSelection.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/InternalRunnableSuperclass.java b/test/nashorn/src/org/openjdk/nashorn/test/models/InternalRunnableSuperclass.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/InternalRunnableSuperclass.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/InternalRunnableSuperclass.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/JDK_8081015_TestModel.java b/test/nashorn/src/org/openjdk/nashorn/test/models/JDK_8081015_TestModel.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/JDK_8081015_TestModel.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/JDK_8081015_TestModel.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/JDK_8184241Test.java b/test/nashorn/src/org/openjdk/nashorn/test/models/JDK_8184241Test.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/JDK_8184241Test.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/JDK_8184241Test.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/Jdk8011362TestSubject.java b/test/nashorn/src/org/openjdk/nashorn/test/models/Jdk8011362TestSubject.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/Jdk8011362TestSubject.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/Jdk8011362TestSubject.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/Jdk8072596TestSubject.java b/test/nashorn/src/org/openjdk/nashorn/test/models/Jdk8072596TestSubject.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/Jdk8072596TestSubject.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/Jdk8072596TestSubject.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/LongProvider.java b/test/nashorn/src/org/openjdk/nashorn/test/models/LongProvider.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/LongProvider.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/LongProvider.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/Nashorn401TestSubject.java b/test/nashorn/src/org/openjdk/nashorn/test/models/Nashorn401TestSubject.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/Nashorn401TestSubject.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/Nashorn401TestSubject.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/NoAccessibleConstructorClass.java b/test/nashorn/src/org/openjdk/nashorn/test/models/NoAccessibleConstructorClass.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/NoAccessibleConstructorClass.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/NoAccessibleConstructorClass.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/NonPublicClass.java b/test/nashorn/src/org/openjdk/nashorn/test/models/NonPublicClass.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/NonPublicClass.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/NonPublicClass.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/NullProvider.java b/test/nashorn/src/org/openjdk/nashorn/test/models/NullProvider.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/NullProvider.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/NullProvider.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/OuterClass.java b/test/nashorn/src/org/openjdk/nashorn/test/models/OuterClass.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/OuterClass.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/OuterClass.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/OverloadedSam.java b/test/nashorn/src/org/openjdk/nashorn/test/models/OverloadedSam.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/OverloadedSam.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/OverloadedSam.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/OverloadedSetter.java b/test/nashorn/src/org/openjdk/nashorn/test/models/OverloadedSetter.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/OverloadedSetter.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/OverloadedSetter.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/OverrideObject.java b/test/nashorn/src/org/openjdk/nashorn/test/models/OverrideObject.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/OverrideObject.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/OverrideObject.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/PropertyBind.java b/test/nashorn/src/org/openjdk/nashorn/test/models/PropertyBind.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/PropertyBind.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/PropertyBind.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/Reflector.java b/test/nashorn/src/org/openjdk/nashorn/test/models/Reflector.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/Reflector.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/Reflector.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/SourceHelper.java b/test/nashorn/src/org/openjdk/nashorn/test/models/SourceHelper.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/SourceHelper.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/SourceHelper.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/StringArgs.java b/test/nashorn/src/org/openjdk/nashorn/test/models/StringArgs.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/StringArgs.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/StringArgs.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/Toothpaste.java b/test/nashorn/src/org/openjdk/nashorn/test/models/Toothpaste.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/Toothpaste.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/Toothpaste.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/VarArgConstructor.java b/test/nashorn/src/org/openjdk/nashorn/test/models/VarArgConstructor.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/VarArgConstructor.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/VarArgConstructor.java diff --git a/test/nashorn/src/jdk/nashorn/test/models/VarArgConsumer.java b/test/nashorn/src/org/openjdk/nashorn/test/models/VarArgConsumer.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/models/VarArgConsumer.java rename to test/nashorn/src/org/openjdk/nashorn/test/models/VarArgConsumer.java diff --git a/test/nashorn/src/jdk/nashorn/test/nashorn/models/ES6ASTVisitor.java b/test/nashorn/src/org/openjdk/nashorn/test/nashorn/models/ES6ASTVisitor.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/nashorn/models/ES6ASTVisitor.java rename to test/nashorn/src/org/openjdk/nashorn/test/nashorn/models/ES6ASTVisitor.java diff --git a/test/nashorn/src/jdk/nashorn/test/tools/StaticTypeInspector.java b/test/nashorn/src/org/openjdk/nashorn/test/tools/StaticTypeInspector.java similarity index 100% rename from test/nashorn/src/jdk/nashorn/test/tools/StaticTypeInspector.java rename to test/nashorn/src/org/openjdk/nashorn/test/tools/StaticTypeInspector.java From 18383396021b61e3d40cf78a6948f3fb2a241c3d Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Mon, 5 Oct 2020 14:41:13 +0200 Subject: [PATCH 15/29] Rename Dynalink test packages --- make/nashorn/build.xml | 4 ++-- test/nashorn/script/basic/JDK-8150218.js | 2 +- .../jdk.dynalink.linker.GuardingDynamicLinkerExporter | 6 +++--- .../src/org/openjdk/dynalink/beans/test/BeanLinkerTest.java | 2 +- .../org/openjdk/dynalink/beans/test/BeansLinkerTest.java | 2 +- .../openjdk/dynalink/beans/test/CallerSensitiveTest.java | 2 +- .../openjdk/dynalink/linker/support/test/LookupTest.java | 2 +- .../src/org/openjdk/dynalink/support/test/CallSiteTest.java | 2 +- .../src/org/openjdk/dynalink/test/ArrayRunnableTest.java | 2 +- .../org/openjdk/dynalink/test/DynamicLinkerFactoryTest.java | 2 +- .../openjdk/dynalink/test/LinkedCallSiteLocationTest.java | 2 +- .../dynalink/test/TrustedGuardingDynamicLinkerExporter.java | 2 +- .../dynalink/test/TrustedUnderscoreNameLinkerExporter.java | 2 +- .../test/UntrustedGuardingDynamicLinkerExporter.java | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index 583677dae..efb0a5e9f 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -342,13 +342,13 @@ - + - + diff --git a/test/nashorn/script/basic/JDK-8150218.js b/test/nashorn/script/basic/JDK-8150218.js index 6263a0fcd..95d705f97 100644 --- a/test/nashorn/script/basic/JDK-8150218.js +++ b/test/nashorn/script/basic/JDK-8150218.js @@ -42,7 +42,7 @@ java.security.AccessController.doPrivileged(new java.security.PrivilegedAction(f // Even when more deeply nested Java.to([[[f]]], Java.type("java.lang.Runnable[][][]"))[0][0][0].run() - var rt = new (Java.type("jdk.dynalink.test.ArrayRunnableTest")) + var rt = new (Java.type("org.openjdk.dynalink.test.ArrayRunnableTest")) var n = "runnables" // Explicit array passed to vararg setter chosen at run time diff --git a/test/nashorn/src/META-INF/services/jdk.dynalink.linker.GuardingDynamicLinkerExporter b/test/nashorn/src/META-INF/services/jdk.dynalink.linker.GuardingDynamicLinkerExporter index b3f34fe10..e3fb28b95 100644 --- a/test/nashorn/src/META-INF/services/jdk.dynalink.linker.GuardingDynamicLinkerExporter +++ b/test/nashorn/src/META-INF/services/jdk.dynalink.linker.GuardingDynamicLinkerExporter @@ -1,3 +1,3 @@ -jdk.dynalink.test.UntrustedGuardingDynamicLinkerExporter -jdk.dynalink.test.TrustedGuardingDynamicLinkerExporter -jdk.dynalink.test.TrustedUnderscoreNameLinkerExporter +org.openjdk.dynalink.test.UntrustedGuardingDynamicLinkerExporter +org.openjdk.dynalink.test.TrustedGuardingDynamicLinkerExporter +org.openjdk.dynalink.test.TrustedUnderscoreNameLinkerExporter diff --git a/test/nashorn/src/org/openjdk/dynalink/beans/test/BeanLinkerTest.java b/test/nashorn/src/org/openjdk/dynalink/beans/test/BeanLinkerTest.java index 47da785c2..25325bbfc 100644 --- a/test/nashorn/src/org/openjdk/dynalink/beans/test/BeanLinkerTest.java +++ b/test/nashorn/src/org/openjdk/dynalink/beans/test/BeanLinkerTest.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.dynalink.beans.test; +package org.openjdk.dynalink.beans.test; import static jdk.dynalink.StandardNamespace.ELEMENT; import static jdk.dynalink.StandardNamespace.METHOD; diff --git a/test/nashorn/src/org/openjdk/dynalink/beans/test/BeansLinkerTest.java b/test/nashorn/src/org/openjdk/dynalink/beans/test/BeansLinkerTest.java index b5b45dcdc..5a9bd1f6c 100644 --- a/test/nashorn/src/org/openjdk/dynalink/beans/test/BeansLinkerTest.java +++ b/test/nashorn/src/org/openjdk/dynalink/beans/test/BeansLinkerTest.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.dynalink.beans.test; +package org.openjdk.dynalink.beans.test; import static jdk.dynalink.StandardNamespace.ELEMENT; import static jdk.dynalink.StandardNamespace.METHOD; diff --git a/test/nashorn/src/org/openjdk/dynalink/beans/test/CallerSensitiveTest.java b/test/nashorn/src/org/openjdk/dynalink/beans/test/CallerSensitiveTest.java index f5d6916ff..c3834df92 100644 --- a/test/nashorn/src/org/openjdk/dynalink/beans/test/CallerSensitiveTest.java +++ b/test/nashorn/src/org/openjdk/dynalink/beans/test/CallerSensitiveTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.dynalink.beans.test; +package org.openjdk.dynalink.beans.test; import jdk.dynalink.beans.BeansLinker; import org.openjdk.nashorn.test.models.ClassLoaderAware; diff --git a/test/nashorn/src/org/openjdk/dynalink/linker/support/test/LookupTest.java b/test/nashorn/src/org/openjdk/dynalink/linker/support/test/LookupTest.java index 79f4af49c..04f954b64 100644 --- a/test/nashorn/src/org/openjdk/dynalink/linker/support/test/LookupTest.java +++ b/test/nashorn/src/org/openjdk/dynalink/linker/support/test/LookupTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.dynalink.linker.support.test; +package org.openjdk.dynalink.linker.support.test; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; diff --git a/test/nashorn/src/org/openjdk/dynalink/support/test/CallSiteTest.java b/test/nashorn/src/org/openjdk/dynalink/support/test/CallSiteTest.java index 2649a9940..81b60f85f 100644 --- a/test/nashorn/src/org/openjdk/dynalink/support/test/CallSiteTest.java +++ b/test/nashorn/src/org/openjdk/dynalink/support/test/CallSiteTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.dynalink.support.test; +package org.openjdk.dynalink.support.test; import static jdk.dynalink.StandardNamespace.PROPERTY; import static jdk.dynalink.StandardOperation.GET; diff --git a/test/nashorn/src/org/openjdk/dynalink/test/ArrayRunnableTest.java b/test/nashorn/src/org/openjdk/dynalink/test/ArrayRunnableTest.java index a38d8e887..a844e1a2d 100644 --- a/test/nashorn/src/org/openjdk/dynalink/test/ArrayRunnableTest.java +++ b/test/nashorn/src/org/openjdk/dynalink/test/ArrayRunnableTest.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.dynalink.test; +package org.openjdk.dynalink.test; public class ArrayRunnableTest { private Runnable[] r; diff --git a/test/nashorn/src/org/openjdk/dynalink/test/DynamicLinkerFactoryTest.java b/test/nashorn/src/org/openjdk/dynalink/test/DynamicLinkerFactoryTest.java index 6c2802a01..b2f2aaa5d 100644 --- a/test/nashorn/src/org/openjdk/dynalink/test/DynamicLinkerFactoryTest.java +++ b/test/nashorn/src/org/openjdk/dynalink/test/DynamicLinkerFactoryTest.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.dynalink.test; +package org.openjdk.dynalink.test; import static jdk.dynalink.StandardNamespace.PROPERTY; import static jdk.dynalink.StandardOperation.GET; diff --git a/test/nashorn/src/org/openjdk/dynalink/test/LinkedCallSiteLocationTest.java b/test/nashorn/src/org/openjdk/dynalink/test/LinkedCallSiteLocationTest.java index 00b56ba9a..354448465 100644 --- a/test/nashorn/src/org/openjdk/dynalink/test/LinkedCallSiteLocationTest.java +++ b/test/nashorn/src/org/openjdk/dynalink/test/LinkedCallSiteLocationTest.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.dynalink.test; +package org.openjdk.dynalink.test; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; diff --git a/test/nashorn/src/org/openjdk/dynalink/test/TrustedGuardingDynamicLinkerExporter.java b/test/nashorn/src/org/openjdk/dynalink/test/TrustedGuardingDynamicLinkerExporter.java index e9119440a..84b5e2b6d 100644 --- a/test/nashorn/src/org/openjdk/dynalink/test/TrustedGuardingDynamicLinkerExporter.java +++ b/test/nashorn/src/org/openjdk/dynalink/test/TrustedGuardingDynamicLinkerExporter.java @@ -23,7 +23,7 @@ * questions. */ -package jdk.dynalink.test; +package org.openjdk.dynalink.test; import java.util.List; import jdk.dynalink.CallSiteDescriptor; diff --git a/test/nashorn/src/org/openjdk/dynalink/test/TrustedUnderscoreNameLinkerExporter.java b/test/nashorn/src/org/openjdk/dynalink/test/TrustedUnderscoreNameLinkerExporter.java index 9b21da502..8217130e5 100644 --- a/test/nashorn/src/org/openjdk/dynalink/test/TrustedUnderscoreNameLinkerExporter.java +++ b/test/nashorn/src/org/openjdk/dynalink/test/TrustedUnderscoreNameLinkerExporter.java @@ -29,7 +29,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package jdk.dynalink.test; +package org.openjdk.dynalink.test; import java.security.AccessController; import java.security.PrivilegedAction; diff --git a/test/nashorn/src/org/openjdk/dynalink/test/UntrustedGuardingDynamicLinkerExporter.java b/test/nashorn/src/org/openjdk/dynalink/test/UntrustedGuardingDynamicLinkerExporter.java index 4b5496613..6571026ab 100644 --- a/test/nashorn/src/org/openjdk/dynalink/test/UntrustedGuardingDynamicLinkerExporter.java +++ b/test/nashorn/src/org/openjdk/dynalink/test/UntrustedGuardingDynamicLinkerExporter.java @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package jdk.dynalink.test; +package org.openjdk.dynalink.test; import java.util.List; import jdk.dynalink.linker.GuardingDynamicLinker; From 9d446d4b8d0b20a340c04f20d75989f22d65ed37 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 11 Oct 2020 18:15:24 +0200 Subject: [PATCH 16/29] Get to the point where "ant test" starts up --- make/nashorn/build.xml | 24 ++++++++++++++---------- make/nashorn/project.properties | 16 ++++++++-------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index efb0a5e9f..6e73b8fad 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -159,10 +159,10 @@ + - @@ -263,13 +263,10 @@ - - - - + additionalparam="-quiet" failonerror="true" useexternalfile="true" + sourcepath="${nashorn.module.src.dir}" modulenames="org.openjdk.nashorn" + modulepath="${deps.dir}"> - @@ -303,7 +300,7 @@ excludes="nashorn/bin/*.sh" includes="nashorn/bin/** nashorn/dist/**"/> - + @@ -314,7 +311,8 @@ debug="${javac.debug}" encoding="${javac.encoding}" includeantruntime="false" fork="true"> - + + @@ -370,9 +368,15 @@ package.access=sun.misc.,\ + + -grant codeBase "file:/${basedir}/${nashorn.module.classes.dir}" { +grant codeBase "file:/${basedir}/${nashorn.jar}" { + permission java.security.AllPermission; +}; + +grant codeBase "file:/${basedir}/${jjs.jar}" { permission java.security.AllPermission; }; diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index 0aa4d9578..e271166f6 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -55,9 +55,7 @@ build.classes.dir=${build.dir}/classes build.zip=${build.dir}/nashorn.zip build.gzip=${build.dir}/nashorn.tar.gz -nashorn.override.option=\ - --patch-module org.openjdk.nashorn=${build.classes.dir}/org.openjdk.nashorn \ - --patch-module org.openjdk.nashorn.shell=${build.classes.dir}/org.openjdk.nashorn.shell +deps.dir=${build.dir}/dependencies # project directory of ant task nashorntask.dir=${nashorn.make.dir}/buildtools/nashorntask @@ -80,7 +78,8 @@ nashorn.shell.module.imports=\ --add-exports jdk.internal.le/jdk.internal.org.jline.reader.impl=org.openjdk.nashorn.shell \ --add-exports jdk.internal.le/jdk.internal.org.jline.reader.impl.completer=org.openjdk.nashorn.shell \ --add-exports jdk.internal.le/jdk.internal.org.jline.keymap=org.openjdk.nashorn.shell \ - --add-exports jdk.internal.le/jdk.internal.org.jline.terminal=org.openjdk.nashorn.shell + --add-exports jdk.internal.le/jdk.internal.org.jline.terminal=org.openjdk.nashorn.shell \ + --add-reads org.openjdk.nashorn.shell=jdk.internal.ed # parallel test runner tool parallel.test.runner=org.openjdk.nashorn.internal.test.framework.ParallelTestRunner @@ -165,9 +164,8 @@ test.module.imports.compile.time=\ --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.options=ALL-UNNAMED \ --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp=ALL-UNNAMED \ --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp.joni=ALL-UNNAMED \ - --add-exports org.openjdk.nashorn/org.openjdk.nashorn.tools=ALL-UNNAMED \ - --add-exports java.base/org.objectweb.asm=ALL-UNNAMED - + --add-exports org.openjdk.nashorn/org.openjdk.nashorn.tools=ALL-UNNAMED + test.module.imports.runtime=\ ${test.module.imports.compile.time} \ --add-opens org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime=ALL-UNNAMED \ @@ -368,8 +366,10 @@ run.test.jvmargs.common=\ -server \ ${test.module.imports.runtime} \ ${run.test.jvmargs.external} \ + --module-path ${deps.dir}:${dist.dir} \ + --add-modules org.openjdk.nashorn \ --add-modules org.openjdk.nashorn.shell \ - ${nashorn.override.option} \ + ${nashorn.shell.module.imports} \ -Dfile.encoding=UTF-8 \ -Duser.language=${run.test.user.language} \ -Duser.country=${run.test.user.country} \ From 039d39bb8c1761424994e7b56c2cc55f83d034bd Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 11 Oct 2020 18:48:19 +0200 Subject: [PATCH 17/29] Fix the parser test now that positions have changed due to the package rename --- .../script/nosecurity/parserapi.js.EXPECTED | 1692 ++++++++--------- 1 file changed, 846 insertions(+), 846 deletions(-) diff --git a/test/nashorn/script/nosecurity/parserapi.js.EXPECTED b/test/nashorn/script/nosecurity/parserapi.js.EXPECTED index d14d67e04..c874a22a9 100644 --- a/test/nashorn/script/nosecurity/parserapi.js.EXPECTED +++ b/test/nashorn/script/nosecurity/parserapi.js.EXPECTED @@ -5045,7 +5045,7 @@ { "expression": { "expression": { - "endPosition": "1307", + "endPosition": "1315", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "type", @@ -5061,7 +5061,7 @@ }, "arguments": [ { - "endPosition": "1305", + "endPosition": "1313", "kind": "STRING_LITERAL", "value": "org.openjdk.nashorn.api.tree.Diagnostic", "startPosition": "1274" @@ -5069,7 +5069,7 @@ ], "startPosition": "1263" }, - "endPosition": "1307", + "endPosition": "1315", "kind": "ASSIGNMENT", "variable": { "identifier": "Diagnostic", @@ -5085,482 +5085,482 @@ }, "startPosition": "1243" }, - "endPosition": "1307", + "endPosition": "1315", "kind": "EXPRESSION_STATEMENT", "startPosition": "1243" }, { "expression": { "expression": { - "endPosition": "1392", + "endPosition": "1408", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "type", "expression": { - "endPosition": "1340", + "endPosition": "1348", "kind": "IDENTIFIER", "name": "Java", - "startPosition": "1336" + "startPosition": "1344" }, - "endPosition": "1345", + "endPosition": "1353", "kind": "MEMBER_SELECT", - "startPosition": "1336" + "startPosition": "1344" }, "arguments": [ { - "endPosition": "1390", + "endPosition": "1406", "kind": "STRING_LITERAL", "value": "org.openjdk.nashorn.api.tree.SimpleTreeVisitorES5_1", - "startPosition": "1347" + "startPosition": "1355" } ], - "startPosition": "1336" + "startPosition": "1344" }, - "endPosition": "1392", + "endPosition": "1408", "kind": "ASSIGNMENT", "variable": { "identifier": "SimpleTreeVisitor", "expression": { - "endPosition": "1315", + "endPosition": "1323", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "1309" + "startPosition": "1317" }, - "endPosition": "1333", + "endPosition": "1341", "kind": "MEMBER_SELECT", - "startPosition": "1309" + "startPosition": "1317" }, - "startPosition": "1309" + "startPosition": "1317" }, - "endPosition": "1392", + "endPosition": "1408", "kind": "EXPRESSION_STATEMENT", - "startPosition": "1309" + "startPosition": "1317" }, { "expression": { "expression": { - "endPosition": "1446", + "endPosition": "1470", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "type", "expression": { - "endPosition": "1412", + "endPosition": "1428", "kind": "IDENTIFIER", "name": "Java", - "startPosition": "1408" + "startPosition": "1424" }, - "endPosition": "1417", + "endPosition": "1433", "kind": "MEMBER_SELECT", - "startPosition": "1408" + "startPosition": "1424" }, "arguments": [ { - "endPosition": "1444", + "endPosition": "1468", "kind": "STRING_LITERAL", "value": "org.openjdk.nashorn.api.tree.Tree", - "startPosition": "1419" + "startPosition": "1435" } ], - "startPosition": "1408" + "startPosition": "1424" }, - "endPosition": "1446", + "endPosition": "1470", "kind": "ASSIGNMENT", "variable": { "identifier": "Tree", "expression": { - "endPosition": "1400", + "endPosition": "1416", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "1394" + "startPosition": "1410" }, - "endPosition": "1405", + "endPosition": "1421", "kind": "MEMBER_SELECT", - "startPosition": "1394" + "startPosition": "1410" }, - "startPosition": "1394" + "startPosition": "1410" }, - "endPosition": "1446", + "endPosition": "1470", "kind": "EXPRESSION_STATEMENT", - "startPosition": "1394" + "startPosition": "1410" }, { "expression": { "expression": { - "endPosition": "1489", + "endPosition": "1513", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "type", "expression": { - "endPosition": "1466", + "endPosition": "1490", "kind": "IDENTIFIER", "name": "Java", - "startPosition": "1462" + "startPosition": "1486" }, - "endPosition": "1471", + "endPosition": "1495", "kind": "MEMBER_SELECT", - "startPosition": "1462" + "startPosition": "1486" }, "arguments": [ { - "endPosition": "1487", + "endPosition": "1511", "kind": "STRING_LITERAL", "value": "java.util.List", - "startPosition": "1473" + "startPosition": "1497" } ], - "startPosition": "1462" + "startPosition": "1486" }, - "endPosition": "1489", + "endPosition": "1513", "kind": "ASSIGNMENT", "variable": { "identifier": "List", "expression": { - "endPosition": "1454", + "endPosition": "1478", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "1448" + "startPosition": "1472" }, - "endPosition": "1459", + "endPosition": "1483", "kind": "MEMBER_SELECT", - "startPosition": "1448" + "startPosition": "1472" }, - "startPosition": "1448" + "startPosition": "1472" }, - "endPosition": "1489", + "endPosition": "1513", "kind": "EXPRESSION_STATEMENT", - "startPosition": "1448" + "startPosition": "1472" }, { "expression": { "expression": { - "endPosition": "1532", + "endPosition": "1556", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "type", "expression": { - "endPosition": "1509", + "endPosition": "1533", "kind": "IDENTIFIER", "name": "Java", - "startPosition": "1505" + "startPosition": "1529" }, - "endPosition": "1514", + "endPosition": "1538", "kind": "MEMBER_SELECT", - "startPosition": "1505" + "startPosition": "1529" }, "arguments": [ { - "endPosition": "1530", + "endPosition": "1554", "kind": "STRING_LITERAL", "value": "java.lang.Enum", - "startPosition": "1516" + "startPosition": "1540" } ], - "startPosition": "1505" + "startPosition": "1529" }, - "endPosition": "1532", + "endPosition": "1556", "kind": "ASSIGNMENT", "variable": { "identifier": "Enum", "expression": { - "endPosition": "1497", + "endPosition": "1521", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "1491" + "startPosition": "1515" }, - "endPosition": "1502", + "endPosition": "1526", "kind": "MEMBER_SELECT", - "startPosition": "1491" + "startPosition": "1515" }, - "startPosition": "1491" + "startPosition": "1515" }, - "endPosition": "1532", + "endPosition": "1556", "kind": "EXPRESSION_STATEMENT", - "startPosition": "1491" + "startPosition": "1515" }, { "expression": { "expression": { - "endPosition": "1659", + "endPosition": "1683", "kind": "FUNCTION_EXPRESSION", "body": { - "endPosition": "1805", + "endPosition": "1829", "kind": "BLOCK", "statements": [ { - "endPosition": "1718", + "endPosition": "1742", "kind": "VARIABLE", "binding": { - "endPosition": "1673", + "endPosition": "1697", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "1669" + "startPosition": "1693" }, - "startPosition": "1665", + "startPosition": "1689", "initializer": { - "endPosition": "1718", + "endPosition": "1742", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "parse", "expression": { "identifier": "_parser", "expression": { - "endPosition": "1680", + "endPosition": "1704", "kind": "IDENTIFIER", "this": "true", "name": "this", - "startPosition": "1676" + "startPosition": "1700" }, - "endPosition": "1688", + "endPosition": "1712", "kind": "MEMBER_SELECT", - "startPosition": "1676" + "startPosition": "1700" }, - "endPosition": "1694", + "endPosition": "1718", "kind": "MEMBER_SELECT", - "startPosition": "1676" + "startPosition": "1700" }, "arguments": [ { - "endPosition": "1699", + "endPosition": "1723", "kind": "IDENTIFIER", "name": "name", - "startPosition": "1695" + "startPosition": "1719" }, { - "endPosition": "1707", + "endPosition": "1731", "kind": "IDENTIFIER", "name": "script", - "startPosition": "1701" + "startPosition": "1725" }, { - "endPosition": "1717", + "endPosition": "1741", "kind": "IDENTIFIER", "name": "listener", - "startPosition": "1709" + "startPosition": "1733" } ], - "startPosition": "1676" + "startPosition": "1700" } }, { "expression": { - "endPosition": "1773", + "endPosition": "1797", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "accept", "expression": { - "endPosition": "1728", + "endPosition": "1752", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "1724" + "startPosition": "1748" }, - "endPosition": "1735", + "endPosition": "1759", "kind": "MEMBER_SELECT", - "startPosition": "1724" + "startPosition": "1748" }, "arguments": [ { "constructorExpression": { - "endPosition": "1766", + "endPosition": "1790", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "SimpleTreeVisitor", "expression": { - "endPosition": "1746", + "endPosition": "1770", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "1740" + "startPosition": "1764" }, - "endPosition": "1764", + "endPosition": "1788", "kind": "MEMBER_SELECT", - "startPosition": "1740" + "startPosition": "1764" }, "arguments": [], - "startPosition": "1746" + "startPosition": "1770" }, - "endPosition": "1766", + "endPosition": "1790", "kind": "NEW", - "startPosition": "1736" + "startPosition": "1760" }, { - "endPosition": "1772", + "endPosition": "1796", "kind": "NULL_LITERAL", - "startPosition": "1768" + "startPosition": "1792" } ], - "startPosition": "1724" + "startPosition": "1748" }, - "endPosition": "1773", + "endPosition": "1797", "kind": "EXPRESSION_STATEMENT", - "startPosition": "1724" + "startPosition": "1748" }, { "expression": { - "endPosition": "1804", + "endPosition": "1828", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "convert", "expression": { - "endPosition": "1790", + "endPosition": "1814", "kind": "IDENTIFIER", "this": "true", "name": "this", - "startPosition": "1786" + "startPosition": "1810" }, - "endPosition": "1798", + "endPosition": "1822", "kind": "MEMBER_SELECT", - "startPosition": "1786" + "startPosition": "1810" }, "arguments": [ { - "endPosition": "1803", + "endPosition": "1827", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "1799" + "startPosition": "1823" } ], - "startPosition": "1786" + "startPosition": "1810" }, - "endPosition": "1805", + "endPosition": "1829", "kind": "RETURN", - "startPosition": "1779" + "startPosition": "1803" } ], - "startPosition": "1659" + "startPosition": "1683" }, "strict": "false", - "startPosition": "1659", + "startPosition": "1683", "parameters": [ { - "endPosition": "1639", + "endPosition": "1663", "kind": "IDENTIFIER", "name": "name", - "startPosition": "1635" + "startPosition": "1659" }, { - "endPosition": "1647", + "endPosition": "1671", "kind": "IDENTIFIER", "name": "script", - "startPosition": "1641" + "startPosition": "1665" }, { - "endPosition": "1657", + "endPosition": "1681", "kind": "IDENTIFIER", "name": "listener", - "startPosition": "1649" + "startPosition": "1673" } ] }, - "endPosition": "1659", + "endPosition": "1683", "kind": "ASSIGNMENT", "variable": { "identifier": "parse", "expression": { "identifier": "prototype", "expression": { - "endPosition": "1607", + "endPosition": "1631", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "1601" + "startPosition": "1625" }, - "endPosition": "1617", + "endPosition": "1641", "kind": "MEMBER_SELECT", - "startPosition": "1601" + "startPosition": "1625" }, - "endPosition": "1623", + "endPosition": "1647", "kind": "MEMBER_SELECT", - "startPosition": "1601" + "startPosition": "1625" }, - "startPosition": "1601" + "startPosition": "1625" }, - "endPosition": "1807", + "endPosition": "1831", "kind": "EXPRESSION_STATEMENT", - "startPosition": "1601" + "startPosition": "1625" }, { "expression": { "expression": { - "endPosition": "1836", + "endPosition": "1860", "kind": "FUNCTION_EXPRESSION", "body": { - "endPosition": "1899", + "endPosition": "1931", "kind": "BLOCK", "statements": [ { "expression": { - "endPosition": "1898", + "endPosition": "1930", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "create", "expression": { - "endPosition": "1889", + "endPosition": "1921", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "type", "expression": { - "endPosition": "1853", + "endPosition": "1877", "kind": "IDENTIFIER", "name": "Java", - "startPosition": "1849" + "startPosition": "1873" }, - "endPosition": "1858", + "endPosition": "1882", "kind": "MEMBER_SELECT", - "startPosition": "1849" + "startPosition": "1873" }, "arguments": [ { - "endPosition": "1887", + "endPosition": "1919", "kind": "STRING_LITERAL", "value": "org.openjdk.nashorn.api.tree.Parser", - "startPosition": "1860" + "startPosition": "1884" } ], - "startPosition": "1849" + "startPosition": "1873" }, - "endPosition": "1896", + "endPosition": "1928", "kind": "MEMBER_SELECT", - "startPosition": "1849" + "startPosition": "1873" }, "arguments": [], - "startPosition": "1896" + "startPosition": "1928" }, - "endPosition": "1899", + "endPosition": "1931", "kind": "RETURN", - "startPosition": "1842" + "startPosition": "1866" } ], - "startPosition": "1836" + "startPosition": "1860" }, "strict": "false", - "startPosition": "1836", + "startPosition": "1860", "parameters": [] }, - "endPosition": "1836", + "endPosition": "1860", "kind": "ASSIGNMENT", "variable": { "identifier": "create", "expression": { - "endPosition": "1815", + "endPosition": "1839", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "1809" + "startPosition": "1833" }, - "endPosition": "1822", + "endPosition": "1846", "kind": "MEMBER_SELECT", - "startPosition": "1809" + "startPosition": "1833" }, - "startPosition": "1809" + "startPosition": "1833" }, - "endPosition": "1901", + "endPosition": "1933", "kind": "EXPRESSION_STATEMENT", - "startPosition": "1809" + "startPosition": "1833" }, { "expression": { "expression": { - "endPosition": "2016", + "endPosition": "2048", "kind": "FUNCTION_EXPRESSION", "body": { - "endPosition": "3634", + "endPosition": "3666", "kind": "BLOCK", "statements": [ { @@ -5568,236 +5568,236 @@ "leftOperand": { "leftOperand": { "expression": { - "endPosition": "2031", + "endPosition": "2063", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "2027" + "startPosition": "2059" }, - "endPosition": "2031", + "endPosition": "2063", "kind": "LOGICAL_COMPLEMENT", - "startPosition": "2026" + "startPosition": "2058" }, - "endPosition": "2057", + "endPosition": "2089", "kind": "CONDITIONAL_OR", "rightOperand": { "leftOperand": { "expression": { - "endPosition": "2046", + "endPosition": "2078", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "2042" + "startPosition": "2074" }, - "endPosition": "2046", + "endPosition": "2078", "kind": "TYPEOF", - "startPosition": "2035" + "startPosition": "2067" }, - "endPosition": "2057", + "endPosition": "2089", "kind": "NOT_EQUAL_TO", "rightOperand": { - "endPosition": "2057", + "endPosition": "2089", "kind": "STRING_LITERAL", "value": "object", - "startPosition": "2051" + "startPosition": "2083" }, - "startPosition": "2035" + "startPosition": "2067" }, - "startPosition": "2026" + "startPosition": "2058" }, - "endPosition": "2092", + "endPosition": "2124", "kind": "CONDITIONAL_OR", "rightOperand": { "leftOperand": { - "endPosition": "2066", + "endPosition": "2098", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "2062" + "startPosition": "2094" }, "expression": { - "endPosition": "2066", + "endPosition": "2098", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "2062" + "startPosition": "2094" }, - "endPosition": "2092", + "endPosition": "2124", "kind": "INSTANCE_OF", "rightOperand": { "identifier": "Long", "expression": { "identifier": "lang", "expression": { - "endPosition": "2082", + "endPosition": "2114", "kind": "IDENTIFIER", "name": "java", - "startPosition": "2078" + "startPosition": "2110" }, - "endPosition": "2087", + "endPosition": "2119", "kind": "MEMBER_SELECT", - "startPosition": "2078" + "startPosition": "2110" }, - "endPosition": "2092", + "endPosition": "2124", "kind": "MEMBER_SELECT", - "startPosition": "2078" + "startPosition": "2110" }, "type": { "identifier": "Long", "expression": { "identifier": "lang", "expression": { - "endPosition": "2082", + "endPosition": "2114", "kind": "IDENTIFIER", "name": "java", - "startPosition": "2078" + "startPosition": "2110" }, - "endPosition": "2087", + "endPosition": "2119", "kind": "MEMBER_SELECT", - "startPosition": "2078" + "startPosition": "2110" }, - "endPosition": "2092", + "endPosition": "2124", "kind": "MEMBER_SELECT", - "startPosition": "2078" + "startPosition": "2110" }, - "startPosition": "2062" + "startPosition": "2094" }, - "startPosition": "2026" + "startPosition": "2058" }, - "endPosition": "2122", + "endPosition": "2154", "kind": "IF", - "startPosition": "2022", + "startPosition": "2054", "thenStatement": { - "endPosition": "2122", + "endPosition": "2154", "kind": "BLOCK", "statements": [ { "expression": { - "endPosition": "2115", + "endPosition": "2147", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "2111" + "startPosition": "2143" }, - "endPosition": "2116", + "endPosition": "2148", "kind": "RETURN", - "startPosition": "2104" + "startPosition": "2136" } ], - "startPosition": "2094" + "startPosition": "2126" } }, { - "endPosition": "2169", + "endPosition": "2201", "kind": "VARIABLE", "binding": { - "endPosition": "2135", + "endPosition": "2167", "kind": "IDENTIFIER", "name": "obj", - "startPosition": "2132" + "startPosition": "2164" }, - "startPosition": "2128", + "startPosition": "2160", "initializer": { - "endPosition": "2169", + "endPosition": "2201", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "bindProperties", "expression": { - "endPosition": "2144", + "endPosition": "2176", "kind": "IDENTIFIER", "name": "Object", - "startPosition": "2138" + "startPosition": "2170" }, - "endPosition": "2159", + "endPosition": "2191", "kind": "MEMBER_SELECT", - "startPosition": "2138" + "startPosition": "2170" }, "arguments": [ { - "endPosition": "2162", + "endPosition": "2194", "kind": "OBJECT_LITERAL", - "startPosition": "2160", + "startPosition": "2192", "properties": [] }, { - "endPosition": "2168", + "endPosition": "2200", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "2164" + "startPosition": "2196" } ], - "startPosition": "2138" + "startPosition": "2170" } }, { - "endPosition": "2190", + "endPosition": "2222", "kind": "VARIABLE", "binding": { - "endPosition": "2185", + "endPosition": "2217", "kind": "IDENTIFIER", "name": "result", - "startPosition": "2179" + "startPosition": "2211" }, - "startPosition": "2175", + "startPosition": "2207", "initializer": { - "endPosition": "2190", + "endPosition": "2222", "kind": "OBJECT_LITERAL", - "startPosition": "2188", + "startPosition": "2220", "properties": [] } }, { - "endPosition": "2206", + "endPosition": "2238", "kind": "VARIABLE", "binding": { - "endPosition": "2206", + "endPosition": "2238", "kind": "IDENTIFIER", "name": "i", - "startPosition": "2205" + "startPosition": "2237" }, - "startPosition": "2201" + "startPosition": "2233" }, { "expression": { - "endPosition": "2213", + "endPosition": "2245", "kind": "IDENTIFIER", "name": "obj", - "startPosition": "2210" + "startPosition": "2242" }, - "endPosition": "3615", + "endPosition": "3647", "kind": "FOR_IN_LOOP", "forEach": "false", "variable": { - "endPosition": "2206", + "endPosition": "2238", "kind": "IDENTIFIER", "name": "i", - "startPosition": "2205" + "startPosition": "2237" }, "statement": { - "endPosition": "3615", + "endPosition": "3647", "kind": "BLOCK", "statements": [ { - "endPosition": "2241", + "endPosition": "2273", "kind": "VARIABLE", "binding": { - "endPosition": "2232", + "endPosition": "2264", "kind": "IDENTIFIER", "name": "val", - "startPosition": "2229" + "startPosition": "2261" }, - "startPosition": "2225", + "startPosition": "2257", "initializer": { "expression": { - "endPosition": "2238", + "endPosition": "2270", "kind": "IDENTIFIER", "name": "obj", - "startPosition": "2235" + "startPosition": "2267" }, - "endPosition": "2241", + "endPosition": "2273", "kind": "ARRAY_ACCESS", "index": { - "endPosition": "2240", + "endPosition": "2272", "kind": "IDENTIFIER", "name": "i", - "startPosition": "2239" + "startPosition": "2271" }, - "startPosition": "2235" + "startPosition": "2267" } }, { @@ -5805,1002 +5805,1002 @@ "leftOperand": { "leftOperand": { "expression": { - "endPosition": "2384", + "endPosition": "2416", "kind": "IDENTIFIER", "name": "val", - "startPosition": "2381" + "startPosition": "2413" }, - "endPosition": "2384", + "endPosition": "2416", "kind": "TYPEOF", - "startPosition": "2374" + "startPosition": "2406" }, - "endPosition": "2397", + "endPosition": "2429", "kind": "EQUAL_TO", "rightOperand": { - "endPosition": "2397", + "endPosition": "2429", "kind": "STRING_LITERAL", "value": "boolean", - "startPosition": "2390" + "startPosition": "2422" }, - "startPosition": "2374" + "startPosition": "2406" }, - "endPosition": "2414", + "endPosition": "2446", "kind": "CONDITIONAL_AND", "rightOperand": { "leftOperand": { - "endPosition": "2405", + "endPosition": "2437", "kind": "IDENTIFIER", "name": "val", - "startPosition": "2402" + "startPosition": "2434" }, - "endPosition": "2414", + "endPosition": "2446", "kind": "EQUAL_TO", "rightOperand": { - "endPosition": "2414", + "endPosition": "2446", "kind": "BOOLEAN_LITERAL", "value": "false", - "startPosition": "2409" + "startPosition": "2441" }, - "startPosition": "2402" + "startPosition": "2434" }, - "startPosition": "2374" + "startPosition": "2406" }, - "endPosition": "2881", + "endPosition": "2913", "kind": "IF", - "startPosition": "2370", + "startPosition": "2402", "thenStatement": { - "endPosition": "2881", + "endPosition": "2913", "kind": "BLOCK", "statements": [ { "cases": [ { "expression": { - "endPosition": "2473", + "endPosition": "2505", "kind": "STRING_LITERAL", "value": "computed", - "startPosition": "2465" + "startPosition": "2497" }, - "endPosition": "2475", + "endPosition": "2507", "kind": "CASE", "statements": [], - "startPosition": "2459" + "startPosition": "2491" }, { "expression": { - "endPosition": "2504", + "endPosition": "2536", "kind": "STRING_LITERAL", "value": "static", - "startPosition": "2498" + "startPosition": "2530" }, - "endPosition": "2506", + "endPosition": "2538", "kind": "CASE", "statements": [], - "startPosition": "2492" + "startPosition": "2524" }, { "expression": { - "endPosition": "2542", + "endPosition": "2574", "kind": "STRING_LITERAL", "value": "restParameter", - "startPosition": "2529" + "startPosition": "2561" }, - "endPosition": "2544", + "endPosition": "2576", "kind": "CASE", "statements": [], - "startPosition": "2523" + "startPosition": "2555" }, { "expression": { - "endPosition": "2571", + "endPosition": "2603", "kind": "STRING_LITERAL", "value": "this", - "startPosition": "2567" + "startPosition": "2599" }, - "endPosition": "2573", + "endPosition": "2605", "kind": "CASE", "statements": [], - "startPosition": "2561" + "startPosition": "2593" }, { "expression": { - "endPosition": "2601", + "endPosition": "2633", "kind": "STRING_LITERAL", "value": "super", - "startPosition": "2596" + "startPosition": "2628" }, - "endPosition": "2603", + "endPosition": "2635", "kind": "CASE", "statements": [], - "startPosition": "2590" + "startPosition": "2622" }, { "expression": { - "endPosition": "2630", + "endPosition": "2662", "kind": "STRING_LITERAL", "value": "star", - "startPosition": "2626" + "startPosition": "2658" }, - "endPosition": "2632", + "endPosition": "2664", "kind": "CASE", "statements": [], - "startPosition": "2620" + "startPosition": "2652" }, { "expression": { - "endPosition": "2662", + "endPosition": "2694", "kind": "STRING_LITERAL", "value": "default", - "startPosition": "2655" + "startPosition": "2687" }, - "endPosition": "2664", + "endPosition": "2696", "kind": "CASE", "statements": [], - "startPosition": "2649" + "startPosition": "2681" }, { "expression": { - "endPosition": "2702", + "endPosition": "2734", "kind": "STRING_LITERAL", "value": "starDefaultStar", - "startPosition": "2687" + "startPosition": "2719" }, - "endPosition": "2704", + "endPosition": "2736", "kind": "CASE", "statements": [], - "startPosition": "2681" + "startPosition": "2713" }, { "expression": { - "endPosition": "2732", + "endPosition": "2764", "kind": "STRING_LITERAL", "value": "arrow", - "startPosition": "2727" + "startPosition": "2759" }, - "endPosition": "2734", + "endPosition": "2766", "kind": "CASE", "statements": [], - "startPosition": "2721" + "startPosition": "2753" }, { "expression": { - "endPosition": "2766", + "endPosition": "2798", "kind": "STRING_LITERAL", "value": "generator", - "startPosition": "2757" + "startPosition": "2789" }, - "endPosition": "2768", + "endPosition": "2800", "kind": "CASE", "statements": [], - "startPosition": "2751" + "startPosition": "2783" }, { "expression": { - "endPosition": "2794", + "endPosition": "2826", "kind": "STRING_LITERAL", "value": "let", - "startPosition": "2791" + "startPosition": "2823" }, - "endPosition": "2796", + "endPosition": "2828", "kind": "CASE", "statements": [], - "startPosition": "2785" + "startPosition": "2817" }, { "expression": { - "endPosition": "2824", + "endPosition": "2856", "kind": "STRING_LITERAL", "value": "const", - "startPosition": "2819" + "startPosition": "2851" }, - "endPosition": "2856", + "endPosition": "2888", "kind": "CASE", "statements": [ { - "endPosition": "2856", + "endPosition": "2888", "kind": "CONTINUE", - "startPosition": "2847" + "startPosition": "2879" } ], - "startPosition": "2813" + "startPosition": "2845" } ], "expression": { - "endPosition": "2439", + "endPosition": "2471", "kind": "IDENTIFIER", "name": "i", - "startPosition": "2438" + "startPosition": "2470" }, - "endPosition": "2871", + "endPosition": "2903", "kind": "SWITCH", - "startPosition": "2430" + "startPosition": "2462" } ], - "startPosition": "2416" + "startPosition": "2448" } }, { "condition": { "leftOperand": { - "endPosition": "2898", + "endPosition": "2930", "kind": "IDENTIFIER", "name": "val", - "startPosition": "2895" + "startPosition": "2927" }, "expression": { - "endPosition": "2898", + "endPosition": "2930", "kind": "IDENTIFIER", "name": "val", - "startPosition": "2895" + "startPosition": "2927" }, - "endPosition": "2921", + "endPosition": "2953", "kind": "INSTANCE_OF", "rightOperand": { "identifier": "Tree", "expression": { - "endPosition": "2916", + "endPosition": "2948", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "2910" + "startPosition": "2942" }, - "endPosition": "2921", + "endPosition": "2953", "kind": "MEMBER_SELECT", - "startPosition": "2910" + "startPosition": "2942" }, "type": { "identifier": "Tree", "expression": { - "endPosition": "2916", + "endPosition": "2948", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "2910" + "startPosition": "2942" }, - "endPosition": "2921", + "endPosition": "2953", "kind": "MEMBER_SELECT", - "startPosition": "2910" + "startPosition": "2942" }, - "startPosition": "2895" + "startPosition": "2927" }, "elseStatement": { "condition": { "leftOperand": { - "endPosition": "2990", + "endPosition": "3022", "kind": "IDENTIFIER", "name": "val", - "startPosition": "2987" + "startPosition": "3019" }, "expression": { - "endPosition": "2990", + "endPosition": "3022", "kind": "IDENTIFIER", "name": "val", - "startPosition": "2987" + "startPosition": "3019" }, - "endPosition": "3013", + "endPosition": "3045", "kind": "INSTANCE_OF", "rightOperand": { "identifier": "List", "expression": { - "endPosition": "3008", + "endPosition": "3040", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "3002" + "startPosition": "3034" }, - "endPosition": "3013", + "endPosition": "3045", "kind": "MEMBER_SELECT", - "startPosition": "3002" + "startPosition": "3034" }, "type": { "identifier": "List", "expression": { - "endPosition": "3008", + "endPosition": "3040", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "3002" + "startPosition": "3034" }, - "endPosition": "3013", + "endPosition": "3045", "kind": "MEMBER_SELECT", - "startPosition": "3002" + "startPosition": "3034" }, - "startPosition": "2987" + "startPosition": "3019" }, "elseStatement": { - "endPosition": "3609", + "endPosition": "3641", "kind": "BLOCK", "statements": [ { "cases": [ { "expression": { - "endPosition": "3265", + "endPosition": "3297", "kind": "STRING_LITERAL", "value": "number", - "startPosition": "3259" + "startPosition": "3291" }, - "endPosition": "3267", + "endPosition": "3299", "kind": "CASE", "statements": [], - "startPosition": "3253" + "startPosition": "3285" }, { "expression": { - "endPosition": "3296", + "endPosition": "3328", "kind": "STRING_LITERAL", "value": "string", - "startPosition": "3290" + "startPosition": "3322" }, - "endPosition": "3298", + "endPosition": "3330", "kind": "CASE", "statements": [], - "startPosition": "3284" + "startPosition": "3316" }, { "expression": { - "endPosition": "3328", + "endPosition": "3360", "kind": "STRING_LITERAL", "value": "boolean", - "startPosition": "3321" + "startPosition": "3353" }, - "endPosition": "3402", + "endPosition": "3434", "kind": "CASE", "statements": [ { "expression": { "expression": { - "endPosition": "3374", + "endPosition": "3406", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "3369", + "endPosition": "3401", "kind": "IDENTIFIER", "name": "String", - "startPosition": "3363" + "startPosition": "3395" }, "arguments": [ { - "endPosition": "3373", + "endPosition": "3405", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3370" + "startPosition": "3402" } ], - "startPosition": "3363" + "startPosition": "3395" }, - "endPosition": "3374", + "endPosition": "3406", "kind": "ASSIGNMENT", "variable": { "expression": { - "endPosition": "3357", + "endPosition": "3389", "kind": "IDENTIFIER", "name": "result", - "startPosition": "3351" + "startPosition": "3383" }, - "endPosition": "3360", + "endPosition": "3392", "kind": "ARRAY_ACCESS", "index": { - "endPosition": "3359", + "endPosition": "3391", "kind": "IDENTIFIER", "name": "i", - "startPosition": "3358" + "startPosition": "3390" }, - "startPosition": "3351" + "startPosition": "3383" }, - "startPosition": "3351" + "startPosition": "3383" }, - "endPosition": "3374", + "endPosition": "3406", "kind": "EXPRESSION_STATEMENT", - "startPosition": "3351" + "startPosition": "3383" }, { - "endPosition": "3402", + "endPosition": "3434", "kind": "BREAK", - "startPosition": "3396" + "startPosition": "3428" } ], - "startPosition": "3315" + "startPosition": "3347" }, { - "endPosition": "3585", + "endPosition": "3617", "kind": "CASE", "statements": [ { "condition": { "leftOperand": { "leftOperand": { - "endPosition": "3455", + "endPosition": "3487", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3452" + "startPosition": "3484" }, "expression": { - "endPosition": "3455", + "endPosition": "3487", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3452" + "startPosition": "3484" }, - "endPosition": "3481", + "endPosition": "3513", "kind": "INSTANCE_OF", "rightOperand": { "identifier": "Long", "expression": { "identifier": "lang", "expression": { - "endPosition": "3471", + "endPosition": "3503", "kind": "IDENTIFIER", "name": "java", - "startPosition": "3467" + "startPosition": "3499" }, - "endPosition": "3476", + "endPosition": "3508", "kind": "MEMBER_SELECT", - "startPosition": "3467" + "startPosition": "3499" }, - "endPosition": "3481", + "endPosition": "3513", "kind": "MEMBER_SELECT", - "startPosition": "3467" + "startPosition": "3499" }, "type": { "identifier": "Long", "expression": { "identifier": "lang", "expression": { - "endPosition": "3471", + "endPosition": "3503", "kind": "IDENTIFIER", "name": "java", - "startPosition": "3467" + "startPosition": "3499" }, - "endPosition": "3476", + "endPosition": "3508", "kind": "MEMBER_SELECT", - "startPosition": "3467" + "startPosition": "3499" }, - "endPosition": "3481", + "endPosition": "3513", "kind": "MEMBER_SELECT", - "startPosition": "3467" + "startPosition": "3499" }, - "startPosition": "3452" + "startPosition": "3484" }, - "endPosition": "3511", + "endPosition": "3543", "kind": "CONDITIONAL_OR", "rightOperand": { "leftOperand": { - "endPosition": "3488", + "endPosition": "3520", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3485" + "startPosition": "3517" }, "expression": { - "endPosition": "3488", + "endPosition": "3520", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3485" + "startPosition": "3517" }, - "endPosition": "3511", + "endPosition": "3543", "kind": "INSTANCE_OF", "rightOperand": { "identifier": "Enum", "expression": { - "endPosition": "3506", + "endPosition": "3538", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "3500" + "startPosition": "3532" }, - "endPosition": "3511", + "endPosition": "3543", "kind": "MEMBER_SELECT", - "startPosition": "3500" + "startPosition": "3532" }, "type": { "identifier": "Enum", "expression": { - "endPosition": "3506", + "endPosition": "3538", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "3500" + "startPosition": "3532" }, - "endPosition": "3511", + "endPosition": "3543", "kind": "MEMBER_SELECT", - "startPosition": "3500" + "startPosition": "3532" }, - "startPosition": "3485" + "startPosition": "3517" }, - "startPosition": "3452" + "startPosition": "3484" }, - "endPosition": "3585", + "endPosition": "3617", "kind": "IF", - "startPosition": "3448", + "startPosition": "3480", "thenStatement": { - "endPosition": "3585", + "endPosition": "3617", "kind": "BLOCK", "statements": [ { "expression": { "expression": { - "endPosition": "3562", + "endPosition": "3594", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "3557", + "endPosition": "3589", "kind": "IDENTIFIER", "name": "String", - "startPosition": "3551" + "startPosition": "3583" }, "arguments": [ { - "endPosition": "3561", + "endPosition": "3593", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3558" + "startPosition": "3590" } ], - "startPosition": "3551" + "startPosition": "3583" }, - "endPosition": "3562", + "endPosition": "3594", "kind": "ASSIGNMENT", "variable": { "expression": { - "endPosition": "3545", + "endPosition": "3577", "kind": "IDENTIFIER", "name": "result", - "startPosition": "3539" + "startPosition": "3571" }, - "endPosition": "3548", + "endPosition": "3580", "kind": "ARRAY_ACCESS", "index": { - "endPosition": "3547", + "endPosition": "3579", "kind": "IDENTIFIER", "name": "i", - "startPosition": "3546" + "startPosition": "3578" }, - "startPosition": "3539" + "startPosition": "3571" }, - "startPosition": "3539" + "startPosition": "3571" }, - "endPosition": "3562", + "endPosition": "3594", "kind": "EXPRESSION_STATEMENT", - "startPosition": "3539" + "startPosition": "3571" } ], - "startPosition": "3513" + "startPosition": "3545" } } ], - "startPosition": "3419" + "startPosition": "3451" } ], "expression": { "expression": { - "endPosition": "3233", + "endPosition": "3265", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3230" + "startPosition": "3262" }, - "endPosition": "3233", + "endPosition": "3265", "kind": "TYPEOF", - "startPosition": "3223" + "startPosition": "3255" }, - "endPosition": "3599", + "endPosition": "3631", "kind": "SWITCH", - "startPosition": "3215" + "startPosition": "3247" } ], - "startPosition": "3201" + "startPosition": "3233" }, - "endPosition": "3609", + "endPosition": "3641", "kind": "IF", - "startPosition": "2983", + "startPosition": "3015", "thenStatement": { - "endPosition": "3195", + "endPosition": "3227", "kind": "BLOCK", "statements": [ { - "endPosition": "3060", + "endPosition": "3092", "kind": "VARIABLE", "binding": { - "endPosition": "3036", + "endPosition": "3068", "kind": "IDENTIFIER", "name": "arr", - "startPosition": "3033" + "startPosition": "3065" }, - "startPosition": "3029", + "startPosition": "3061", "initializer": { "constructorExpression": { - "endPosition": "3060", + "endPosition": "3092", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "3048", + "endPosition": "3080", "kind": "IDENTIFIER", "name": "Array", - "startPosition": "3043" + "startPosition": "3075" }, "arguments": [ { - "endPosition": "3059", + "endPosition": "3091", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "size", "expression": { - "endPosition": "3052", + "endPosition": "3084", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3049" + "startPosition": "3081" }, - "endPosition": "3057", + "endPosition": "3089", "kind": "MEMBER_SELECT", - "startPosition": "3049" + "startPosition": "3081" }, "arguments": [], - "startPosition": "3049" + "startPosition": "3081" } ], - "startPosition": "3043" + "startPosition": "3075" }, - "endPosition": "3060", + "endPosition": "3092", "kind": "NEW", - "startPosition": "3039" + "startPosition": "3071" } }, { - "endPosition": "3084", + "endPosition": "3116", "kind": "VARIABLE", "binding": { - "endPosition": "3084", + "endPosition": "3116", "kind": "IDENTIFIER", "name": "j", - "startPosition": "3083" + "startPosition": "3115" }, - "startPosition": "3079" + "startPosition": "3111" }, { "expression": { - "endPosition": "3091", + "endPosition": "3123", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3088" + "startPosition": "3120" }, - "endPosition": "3155", + "endPosition": "3187", "kind": "FOR_IN_LOOP", "forEach": "false", "variable": { - "endPosition": "3084", + "endPosition": "3116", "kind": "IDENTIFIER", "name": "j", - "startPosition": "3083" + "startPosition": "3115" }, "statement": { - "endPosition": "3155", + "endPosition": "3187", "kind": "BLOCK", "statements": [ { "expression": { "expression": { - "endPosition": "3140", + "endPosition": "3172", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "convert", "expression": { - "endPosition": "3124", + "endPosition": "3156", "kind": "IDENTIFIER", "this": "true", "name": "this", - "startPosition": "3120" + "startPosition": "3152" }, - "endPosition": "3132", + "endPosition": "3164", "kind": "MEMBER_SELECT", - "startPosition": "3120" + "startPosition": "3152" }, "arguments": [ { "expression": { - "endPosition": "3136", + "endPosition": "3168", "kind": "IDENTIFIER", "name": "val", - "startPosition": "3133" + "startPosition": "3165" }, - "endPosition": "3139", + "endPosition": "3171", "kind": "ARRAY_ACCESS", "index": { - "endPosition": "3138", + "endPosition": "3170", "kind": "IDENTIFIER", "name": "j", - "startPosition": "3137" + "startPosition": "3169" }, - "startPosition": "3133" + "startPosition": "3165" } ], - "startPosition": "3120" + "startPosition": "3152" }, - "endPosition": "3140", + "endPosition": "3172", "kind": "ASSIGNMENT", "variable": { "expression": { - "endPosition": "3114", + "endPosition": "3146", "kind": "IDENTIFIER", "name": "arr", - "startPosition": "3111" + "startPosition": "3143" }, - "endPosition": "3117", + "endPosition": "3149", "kind": "ARRAY_ACCESS", "index": { - "endPosition": "3116", + "endPosition": "3148", "kind": "IDENTIFIER", "name": "j", - "startPosition": "3115" + "startPosition": "3147" }, - "startPosition": "3111" + "startPosition": "3143" }, - "startPosition": "3111" + "startPosition": "3143" }, - "endPosition": "3140", + "endPosition": "3172", "kind": "EXPRESSION_STATEMENT", - "startPosition": "3111" + "startPosition": "3143" } ], - "startPosition": "3093" + "startPosition": "3125" }, - "startPosition": "3074" + "startPosition": "3106" }, { "expression": { "expression": { - "endPosition": "3184", + "endPosition": "3216", "kind": "IDENTIFIER", "name": "arr", - "startPosition": "3181" + "startPosition": "3213" }, - "endPosition": "3184", + "endPosition": "3216", "kind": "ASSIGNMENT", "variable": { "expression": { - "endPosition": "3175", + "endPosition": "3207", "kind": "IDENTIFIER", "name": "result", - "startPosition": "3169" + "startPosition": "3201" }, - "endPosition": "3178", + "endPosition": "3210", "kind": "ARRAY_ACCESS", "index": { - "endPosition": "3177", + "endPosition": "3209", "kind": "IDENTIFIER", "name": "i", - "startPosition": "3176" + "startPosition": "3208" }, - "startPosition": "3169" + "startPosition": "3201" }, - "startPosition": "3169" + "startPosition": "3201" }, - "endPosition": "3184", + "endPosition": "3216", "kind": "EXPRESSION_STATEMENT", - "startPosition": "3169" + "startPosition": "3201" } ], - "startPosition": "3015" + "startPosition": "3047" } }, - "endPosition": "3609", + "endPosition": "3641", "kind": "IF", - "startPosition": "2891", + "startPosition": "2923", "thenStatement": { - "endPosition": "2977", + "endPosition": "3009", "kind": "BLOCK", "statements": [ { "expression": { "expression": { - "endPosition": "2966", + "endPosition": "2998", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "convert", "expression": { - "endPosition": "2953", + "endPosition": "2985", "kind": "IDENTIFIER", "this": "true", "name": "this", - "startPosition": "2949" + "startPosition": "2981" }, - "endPosition": "2961", + "endPosition": "2993", "kind": "MEMBER_SELECT", - "startPosition": "2949" + "startPosition": "2981" }, "arguments": [ { - "endPosition": "2965", + "endPosition": "2997", "kind": "IDENTIFIER", "name": "val", - "startPosition": "2962" + "startPosition": "2994" } ], - "startPosition": "2949" + "startPosition": "2981" }, - "endPosition": "2966", + "endPosition": "2998", "kind": "ASSIGNMENT", "variable": { "expression": { - "endPosition": "2943", + "endPosition": "2975", "kind": "IDENTIFIER", "name": "result", - "startPosition": "2937" + "startPosition": "2969" }, - "endPosition": "2946", + "endPosition": "2978", "kind": "ARRAY_ACCESS", "index": { - "endPosition": "2945", + "endPosition": "2977", "kind": "IDENTIFIER", "name": "i", - "startPosition": "2944" + "startPosition": "2976" }, - "startPosition": "2937" + "startPosition": "2969" }, - "startPosition": "2937" + "startPosition": "2969" }, - "endPosition": "2966", + "endPosition": "2998", "kind": "EXPRESSION_STATEMENT", - "startPosition": "2937" + "startPosition": "2969" } ], - "startPosition": "2923" + "startPosition": "2955" } } ], - "startPosition": "2215" + "startPosition": "2247" }, - "startPosition": "2196" + "startPosition": "2228" }, { "expression": { - "endPosition": "3633", + "endPosition": "3665", "kind": "IDENTIFIER", "name": "result", - "startPosition": "3627" + "startPosition": "3659" }, - "endPosition": "3634", + "endPosition": "3666", "kind": "RETURN", - "startPosition": "3620" + "startPosition": "3652" } ], - "startPosition": "2016" + "startPosition": "2048" }, "strict": "false", - "startPosition": "2016", + "startPosition": "2048", "parameters": [ { - "endPosition": "2014", + "endPosition": "2046", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "2010" + "startPosition": "2042" } ] }, - "endPosition": "2016", + "endPosition": "2048", "kind": "ASSIGNMENT", "variable": { "identifier": "convert", "expression": { "identifier": "prototype", "expression": { - "endPosition": "1980", + "endPosition": "2012", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "1974" + "startPosition": "2006" }, - "endPosition": "1990", + "endPosition": "2022", "kind": "MEMBER_SELECT", - "startPosition": "1974" + "startPosition": "2006" }, - "endPosition": "1998", + "endPosition": "2030", "kind": "MEMBER_SELECT", - "startPosition": "1974" + "startPosition": "2006" }, - "startPosition": "1974" + "startPosition": "2006" }, - "endPosition": "3636", + "endPosition": "3668", "kind": "EXPRESSION_STATEMENT", - "startPosition": "1974" + "startPosition": "2006" }, { - "endPosition": "4366", + "endPosition": "4398", "kind": "FUNCTION", "name": { - "endPosition": "3659", + "endPosition": "3691", "kind": "IDENTIFIER", "name": "processFiles", - "startPosition": "3647" + "startPosition": "3679" }, "body": { - "endPosition": "4364", + "endPosition": "4396", "kind": "BLOCK", "statements": [ { - "endPosition": "3710", + "endPosition": "3742", "kind": "VARIABLE", "binding": { - "endPosition": "3682", + "endPosition": "3714", "kind": "IDENTIFIER", "name": "File", - "startPosition": "3678" + "startPosition": "3710" }, - "startPosition": "3674", + "startPosition": "3706", "initializer": { - "endPosition": "3710", + "endPosition": "3742", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "type", "expression": { - "endPosition": "3689", + "endPosition": "3721", "kind": "IDENTIFIER", "name": "Java", - "startPosition": "3685" + "startPosition": "3717" }, - "endPosition": "3694", + "endPosition": "3726", "kind": "MEMBER_SELECT", - "startPosition": "3685" + "startPosition": "3717" }, "arguments": [ { - "endPosition": "3708", + "endPosition": "3740", "kind": "STRING_LITERAL", "value": "java.io.File", - "startPosition": "3696" + "startPosition": "3728" } ], - "startPosition": "3685" + "startPosition": "3717" } }, { - "endPosition": "3766", + "endPosition": "3798", "kind": "VARIABLE", "binding": { - "endPosition": "3725", + "endPosition": "3757", "kind": "IDENTIFIER", "name": "files", - "startPosition": "3720" + "startPosition": "3752" }, - "startPosition": "3716", + "startPosition": "3748", "initializer": { - "endPosition": "3766", + "endPosition": "3798", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "listFiles", "expression": { "constructorExpression": { - "endPosition": "3754", + "endPosition": "3786", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "3736", + "endPosition": "3768", "kind": "IDENTIFIER", "name": "File", - "startPosition": "3732" + "startPosition": "3764" }, "arguments": [ { "leftOperand": { - "endPosition": "3744", + "endPosition": "3776", "kind": "IDENTIFIER", "name": "__DIR__", - "startPosition": "3737" + "startPosition": "3769" }, - "endPosition": "3753", + "endPosition": "3785", "kind": "PLUS", "rightOperand": { - "endPosition": "3753", + "endPosition": "3785", "kind": "IDENTIFIER", "name": "subdir", - "startPosition": "3747" + "startPosition": "3779" }, - "startPosition": "3737" + "startPosition": "3769" } ], - "startPosition": "3732" + "startPosition": "3764" }, - "endPosition": "3754", + "endPosition": "3786", "kind": "NEW", - "startPosition": "3728" + "startPosition": "3760" }, - "endPosition": "3764", + "endPosition": "3796", "kind": "MEMBER_SELECT", - "startPosition": "3728" + "startPosition": "3760" }, "arguments": [], - "startPosition": "3728" + "startPosition": "3760" } }, { "expression": { - "endPosition": "3800", + "endPosition": "3832", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "sort", @@ -6809,782 +6809,782 @@ "expression": { "identifier": "util", "expression": { - "endPosition": "3776", + "endPosition": "3808", "kind": "IDENTIFIER", "name": "java", - "startPosition": "3772" + "startPosition": "3804" }, - "endPosition": "3781", + "endPosition": "3813", "kind": "MEMBER_SELECT", - "startPosition": "3772" + "startPosition": "3804" }, - "endPosition": "3788", + "endPosition": "3820", "kind": "MEMBER_SELECT", - "startPosition": "3772" + "startPosition": "3804" }, - "endPosition": "3793", + "endPosition": "3825", "kind": "MEMBER_SELECT", - "startPosition": "3772" + "startPosition": "3804" }, "arguments": [ { - "endPosition": "3799", + "endPosition": "3831", "kind": "IDENTIFIER", "name": "files", - "startPosition": "3794" + "startPosition": "3826" } ], - "startPosition": "3772" + "startPosition": "3804" }, - "endPosition": "3800", + "endPosition": "3832", "kind": "EXPRESSION_STATEMENT", - "startPosition": "3772" + "startPosition": "3804" }, { - "endPosition": "3824", + "endPosition": "3856", "kind": "VARIABLE", "binding": { - "endPosition": "3824", + "endPosition": "3856", "kind": "IDENTIFIER", "name": "file", - "startPosition": "3820" + "startPosition": "3852" }, - "startPosition": "3816" + "startPosition": "3848" }, { "expression": { - "endPosition": "3833", + "endPosition": "3865", "kind": "IDENTIFIER", "name": "files", - "startPosition": "3828" + "startPosition": "3860" }, - "endPosition": "4364", + "endPosition": "4396", "kind": "FOR_IN_LOOP", "forEach": "true", "variable": { - "endPosition": "3824", + "endPosition": "3856", "kind": "IDENTIFIER", "name": "file", - "startPosition": "3820" + "startPosition": "3852" }, "statement": { - "endPosition": "4364", + "endPosition": "4396", "kind": "BLOCK", "statements": [ { "condition": { - "endPosition": "3874", + "endPosition": "3906", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "endsWith", "expression": { "identifier": "name", "expression": { - "endPosition": "3853", + "endPosition": "3885", "kind": "IDENTIFIER", "name": "file", - "startPosition": "3849" + "startPosition": "3881" }, - "endPosition": "3858", + "endPosition": "3890", "kind": "MEMBER_SELECT", - "startPosition": "3849" + "startPosition": "3881" }, - "endPosition": "3867", + "endPosition": "3899", "kind": "MEMBER_SELECT", - "startPosition": "3849" + "startPosition": "3881" }, "arguments": [ { - "endPosition": "3872", + "endPosition": "3904", "kind": "STRING_LITERAL", "value": ".js", - "startPosition": "3869" + "startPosition": "3901" } ], - "startPosition": "3849" + "startPosition": "3881" }, - "endPosition": "4358", + "endPosition": "4390", "kind": "IF", - "startPosition": "3845", + "startPosition": "3877", "thenStatement": { - "endPosition": "4358", + "endPosition": "4390", "kind": "BLOCK", "statements": [ { - "endPosition": "3918", + "endPosition": "3950", "kind": "VARIABLE", "binding": { - "endPosition": "3900", + "endPosition": "3932", "kind": "IDENTIFIER", "name": "script", - "startPosition": "3894" + "startPosition": "3926" }, - "startPosition": "3890", + "startPosition": "3922", "initializer": { - "endPosition": "3918", + "endPosition": "3950", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "3912", + "endPosition": "3944", "kind": "IDENTIFIER", "name": "readFully", - "startPosition": "3903" + "startPosition": "3935" }, "arguments": [ { - "endPosition": "3917", + "endPosition": "3949", "kind": "IDENTIFIER", "name": "file", - "startPosition": "3913" + "startPosition": "3945" } ], - "startPosition": "3903" + "startPosition": "3935" } }, { - "endPosition": "3957", + "endPosition": "3989", "kind": "VARIABLE", "binding": { - "endPosition": "3942", + "endPosition": "3974", "kind": "IDENTIFIER", "name": "parser", - "startPosition": "3936" + "startPosition": "3968" }, - "startPosition": "3932", + "startPosition": "3964", "initializer": { "constructorExpression": { - "endPosition": "3957", + "endPosition": "3989", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "3955", + "endPosition": "3987", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "3949" + "startPosition": "3981" }, "arguments": [], - "startPosition": "3949" + "startPosition": "3981" }, - "endPosition": "3957", + "endPosition": "3989", "kind": "NEW", - "startPosition": "3945" + "startPosition": "3977" } }, { - "endPosition": "4218", + "endPosition": "4250", "kind": "VARIABLE", "binding": { - "endPosition": "3979", + "endPosition": "4011", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "3975" + "startPosition": "4007" }, - "startPosition": "3971", + "startPosition": "4003", "initializer": { - "endPosition": "4218", + "endPosition": "4250", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "parse", "expression": { - "endPosition": "3988", + "endPosition": "4020", "kind": "IDENTIFIER", "name": "parser", - "startPosition": "3982" + "startPosition": "4014" }, - "endPosition": "3994", + "endPosition": "4026", "kind": "MEMBER_SELECT", - "startPosition": "3982" + "startPosition": "4014" }, "arguments": [ { "leftOperand": { "leftOperand": { - "endPosition": "4001", + "endPosition": "4033", "kind": "IDENTIFIER", "name": "subdir", - "startPosition": "3995" + "startPosition": "4027" }, - "endPosition": "4006", + "endPosition": "4038", "kind": "PLUS", "rightOperand": { - "endPosition": "4006", + "endPosition": "4038", "kind": "STRING_LITERAL", "value": "/", - "startPosition": "4005" + "startPosition": "4037" }, - "startPosition": "3995" + "startPosition": "4027" }, - "endPosition": "4019", + "endPosition": "4051", "kind": "PLUS", "rightOperand": { "identifier": "name", "expression": { - "endPosition": "4014", + "endPosition": "4046", "kind": "IDENTIFIER", "name": "file", - "startPosition": "4010" + "startPosition": "4042" }, - "endPosition": "4019", + "endPosition": "4051", "kind": "MEMBER_SELECT", - "startPosition": "4010" + "startPosition": "4042" }, - "startPosition": "3995" + "startPosition": "4027" }, { - "endPosition": "4027", + "endPosition": "4059", "kind": "IDENTIFIER", "name": "script", - "startPosition": "4021" + "startPosition": "4053" }, { - "endPosition": "4066", + "endPosition": "4098", "kind": "FUNCTION_EXPRESSION", "body": { - "endPosition": "4199", + "endPosition": "4231", "kind": "BLOCK", "statements": [ { "expression": { - "endPosition": "4166", + "endPosition": "4198", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4093", + "endPosition": "4125", "kind": "IDENTIFIER", "name": "print", - "startPosition": "4088" + "startPosition": "4120" }, "arguments": [ { - "endPosition": "4165", + "endPosition": "4197", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "replace", "expression": { - "endPosition": "4145", + "endPosition": "4177", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "stringify", "expression": { - "endPosition": "4098", + "endPosition": "4130", "kind": "IDENTIFIER", "name": "JSON", - "startPosition": "4094" + "startPosition": "4126" }, - "endPosition": "4108", + "endPosition": "4140", "kind": "MEMBER_SELECT", - "startPosition": "4094" + "startPosition": "4126" }, "arguments": [ { - "endPosition": "4135", + "endPosition": "4167", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "convert", "expression": { - "endPosition": "4115", + "endPosition": "4147", "kind": "IDENTIFIER", "name": "parser", - "startPosition": "4109" + "startPosition": "4141" }, - "endPosition": "4123", + "endPosition": "4155", "kind": "MEMBER_SELECT", - "startPosition": "4109" + "startPosition": "4141" }, "arguments": [ { - "endPosition": "4134", + "endPosition": "4166", "kind": "IDENTIFIER", "name": "diagnostic", - "startPosition": "4124" + "startPosition": "4156" } ], - "startPosition": "4109" + "startPosition": "4141" }, { - "endPosition": "4141", + "endPosition": "4173", "kind": "NULL_LITERAL", - "startPosition": "4137" + "startPosition": "4169" }, { - "endPosition": "4144", + "endPosition": "4176", "kind": "NUMBER_LITERAL", "value": "2", - "startPosition": "4143" + "startPosition": "4175" } ], - "startPosition": "4094" + "startPosition": "4126" }, - "endPosition": "4153", + "endPosition": "4185", "kind": "MEMBER_SELECT", - "startPosition": "4094" + "startPosition": "4126" }, "arguments": [ { - "endPosition": "4160", + "endPosition": "4192", "kind": "REGEXP_LITERAL", "options": "g", "pattern": "\\\\r", - "startPosition": "4154" + "startPosition": "4186" }, { - "endPosition": "4163", + "endPosition": "4195", "kind": "STRING_LITERAL", "value": "", - "startPosition": "4163" + "startPosition": "4195" } ], - "startPosition": "4153" + "startPosition": "4185" } ], - "startPosition": "4088" + "startPosition": "4120" }, - "endPosition": "4166", + "endPosition": "4198", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4088" + "startPosition": "4120" }, { "expression": { - "endPosition": "4198", + "endPosition": "4230", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4193", + "endPosition": "4225", "kind": "IDENTIFIER", "name": "print", - "startPosition": "4188" + "startPosition": "4220" }, "arguments": [ { - "endPosition": "4196", + "endPosition": "4228", "kind": "STRING_LITERAL", "value": ",", - "startPosition": "4195" + "startPosition": "4227" } ], - "startPosition": "4188" + "startPosition": "4220" }, - "endPosition": "4198", + "endPosition": "4230", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4188" + "startPosition": "4220" } ], - "startPosition": "4066" + "startPosition": "4098" }, "strict": "false", - "startPosition": "4066", + "startPosition": "4098", "parameters": [ { - "endPosition": "4064", + "endPosition": "4096", "kind": "IDENTIFIER", "name": "diagnostic", - "startPosition": "4054" + "startPosition": "4086" } ] } ], - "startPosition": "3982" + "startPosition": "4014" } }, { "condition": { "leftOperand": { - "endPosition": "4241", + "endPosition": "4273", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "4237" + "startPosition": "4269" }, - "endPosition": "4249", + "endPosition": "4281", "kind": "NOT_EQUAL_TO", "rightOperand": { - "endPosition": "4249", + "endPosition": "4281", "kind": "NULL_LITERAL", - "startPosition": "4245" + "startPosition": "4277" }, - "startPosition": "4237" + "startPosition": "4269" }, - "endPosition": "4348", + "endPosition": "4380", "kind": "IF", - "startPosition": "4233", + "startPosition": "4265", "thenStatement": { - "endPosition": "4348", + "endPosition": "4380", "kind": "BLOCK", "statements": [ { "expression": { - "endPosition": "4305", + "endPosition": "4337", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4274", + "endPosition": "4306", "kind": "IDENTIFIER", "name": "print", - "startPosition": "4269" + "startPosition": "4301" }, "arguments": [ { - "endPosition": "4304", + "endPosition": "4336", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "stringify", "expression": { - "endPosition": "4279", + "endPosition": "4311", "kind": "IDENTIFIER", "name": "JSON", - "startPosition": "4275" + "startPosition": "4307" }, - "endPosition": "4289", + "endPosition": "4321", "kind": "MEMBER_SELECT", - "startPosition": "4275" + "startPosition": "4307" }, "arguments": [ { - "endPosition": "4294", + "endPosition": "4326", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "4290" + "startPosition": "4322" }, { - "endPosition": "4300", + "endPosition": "4332", "kind": "NULL_LITERAL", - "startPosition": "4296" + "startPosition": "4328" }, { - "endPosition": "4303", + "endPosition": "4335", "kind": "NUMBER_LITERAL", "value": "2", - "startPosition": "4302" + "startPosition": "4334" } ], - "startPosition": "4275" + "startPosition": "4307" } ], - "startPosition": "4269" + "startPosition": "4301" }, - "endPosition": "4305", + "endPosition": "4337", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4269" + "startPosition": "4301" }, { "expression": { - "endPosition": "4333", + "endPosition": "4365", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4328", + "endPosition": "4360", "kind": "IDENTIFIER", "name": "print", - "startPosition": "4323" + "startPosition": "4355" }, "arguments": [ { - "endPosition": "4331", + "endPosition": "4363", "kind": "STRING_LITERAL", "value": ",", - "startPosition": "4330" + "startPosition": "4362" } ], - "startPosition": "4323" + "startPosition": "4355" }, - "endPosition": "4333", + "endPosition": "4365", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4323" + "startPosition": "4355" } ], - "startPosition": "4251" + "startPosition": "4283" } } ], - "startPosition": "3876" + "startPosition": "3908" } } ], - "startPosition": "3835" + "startPosition": "3867" }, - "startPosition": "3806" + "startPosition": "3838" } ], - "startPosition": "3668" + "startPosition": "3700" }, "strict": "false", - "startPosition": "3638", + "startPosition": "3670", "parameters": [ { - "endPosition": "3666", + "endPosition": "3698", "kind": "IDENTIFIER", "name": "subdir", - "startPosition": "3660" + "startPosition": "3692" } ] }, { - "endPosition": "4710", + "endPosition": "4742", "kind": "FUNCTION", "name": { - "endPosition": "4421", + "endPosition": "4453", "kind": "IDENTIFIER", "name": "main", - "startPosition": "4417" + "startPosition": "4449" }, "body": { - "endPosition": "4708", + "endPosition": "4740", "kind": "BLOCK", "statements": [ { "expression": { - "endPosition": "4440", + "endPosition": "4472", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4435", + "endPosition": "4467", "kind": "IDENTIFIER", "name": "print", - "startPosition": "4430" + "startPosition": "4462" }, "arguments": [ { - "endPosition": "4438", + "endPosition": "4470", "kind": "STRING_LITERAL", "value": "[", - "startPosition": "4437" + "startPosition": "4469" } ], - "startPosition": "4430" + "startPosition": "4462" }, - "endPosition": "4440", + "endPosition": "4472", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4430" + "startPosition": "4462" }, { "expression": { - "endPosition": "4474", + "endPosition": "4506", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4459", + "endPosition": "4491", "kind": "IDENTIFIER", "name": "processFiles", - "startPosition": "4447" + "startPosition": "4479" }, "arguments": [ { - "endPosition": "4472", + "endPosition": "4504", "kind": "STRING_LITERAL", "value": "parsertests", - "startPosition": "4461" + "startPosition": "4493" } ], - "startPosition": "4447" + "startPosition": "4479" }, - "endPosition": "4474", + "endPosition": "4506", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4447" + "startPosition": "4479" }, { "expression": { - "endPosition": "4515", + "endPosition": "4547", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4492", + "endPosition": "4524", "kind": "IDENTIFIER", "name": "processFiles", - "startPosition": "4480" + "startPosition": "4512" }, "arguments": [ { - "endPosition": "4513", + "endPosition": "4545", "kind": "STRING_LITERAL", "value": "parsernegativetests", - "startPosition": "4494" + "startPosition": "4526" } ], - "startPosition": "4480" + "startPosition": "4512" }, - "endPosition": "4515", + "endPosition": "4547", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4480" + "startPosition": "4512" }, { - "endPosition": "4584", + "endPosition": "4616", "kind": "VARIABLE", "binding": { - "endPosition": "4562", + "endPosition": "4594", "kind": "IDENTIFIER", "name": "script", - "startPosition": "4556" + "startPosition": "4588" }, - "startPosition": "4552", + "startPosition": "4584", "initializer": { - "endPosition": "4584", + "endPosition": "4616", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4574", + "endPosition": "4606", "kind": "IDENTIFIER", "name": "readFully", - "startPosition": "4565" + "startPosition": "4597" }, "arguments": [ { - "endPosition": "4583", + "endPosition": "4615", "kind": "IDENTIFIER", "name": "__FILE__", - "startPosition": "4575" + "startPosition": "4607" } ], - "startPosition": "4565" + "startPosition": "4597" } }, { - "endPosition": "4649", + "endPosition": "4681", "kind": "VARIABLE", "binding": { - "endPosition": "4598", + "endPosition": "4630", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "4594" + "startPosition": "4626" }, - "startPosition": "4590", + "startPosition": "4622", "initializer": { - "endPosition": "4649", + "endPosition": "4681", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "parse", "expression": { "constructorExpression": { - "endPosition": "4613", + "endPosition": "4645", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4611", + "endPosition": "4643", "kind": "IDENTIFIER", "name": "Parser", - "startPosition": "4605" + "startPosition": "4637" }, "arguments": [], - "startPosition": "4605" + "startPosition": "4637" }, - "endPosition": "4613", + "endPosition": "4645", "kind": "NEW", - "startPosition": "4601" + "startPosition": "4633" }, - "endPosition": "4619", + "endPosition": "4651", "kind": "MEMBER_SELECT", - "startPosition": "4601" + "startPosition": "4633" }, "arguments": [ { - "endPosition": "4633", + "endPosition": "4665", "kind": "STRING_LITERAL", "value": "parserapi.js", - "startPosition": "4621" + "startPosition": "4653" }, { - "endPosition": "4642", + "endPosition": "4674", "kind": "IDENTIFIER", "name": "script", - "startPosition": "4636" + "startPosition": "4668" }, { - "endPosition": "4648", + "endPosition": "4680", "kind": "NULL_LITERAL", - "startPosition": "4644" + "startPosition": "4676" } ], - "startPosition": "4601" + "startPosition": "4633" } }, { "expression": { - "endPosition": "4691", + "endPosition": "4723", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4660", + "endPosition": "4692", "kind": "IDENTIFIER", "name": "print", - "startPosition": "4655" + "startPosition": "4687" }, "arguments": [ { - "endPosition": "4690", + "endPosition": "4722", "kind": "FUNCTION_INVOCATION", "functionSelect": { "identifier": "stringify", "expression": { - "endPosition": "4665", + "endPosition": "4697", "kind": "IDENTIFIER", "name": "JSON", - "startPosition": "4661" + "startPosition": "4693" }, - "endPosition": "4675", + "endPosition": "4707", "kind": "MEMBER_SELECT", - "startPosition": "4661" + "startPosition": "4693" }, "arguments": [ { - "endPosition": "4680", + "endPosition": "4712", "kind": "IDENTIFIER", "name": "tree", - "startPosition": "4676" + "startPosition": "4708" }, { - "endPosition": "4686", + "endPosition": "4718", "kind": "NULL_LITERAL", - "startPosition": "4682" + "startPosition": "4714" }, { - "endPosition": "4689", + "endPosition": "4721", "kind": "NUMBER_LITERAL", "value": "2", - "startPosition": "4688" + "startPosition": "4720" } ], - "startPosition": "4661" + "startPosition": "4693" } ], - "startPosition": "4655" + "startPosition": "4687" }, - "endPosition": "4691", + "endPosition": "4723", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4655" + "startPosition": "4687" }, { "expression": { - "endPosition": "4707", + "endPosition": "4739", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4702", + "endPosition": "4734", "kind": "IDENTIFIER", "name": "print", - "startPosition": "4697" + "startPosition": "4729" }, "arguments": [ { - "endPosition": "4705", + "endPosition": "4737", "kind": "STRING_LITERAL", "value": "]", - "startPosition": "4704" + "startPosition": "4736" } ], - "startPosition": "4697" + "startPosition": "4729" }, - "endPosition": "4707", + "endPosition": "4739", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4697" + "startPosition": "4729" } ], - "startPosition": "4424" + "startPosition": "4456" }, "strict": "false", - "startPosition": "4408", + "startPosition": "4440", "parameters": [] }, { "expression": { - "endPosition": "4718", + "endPosition": "4750", "kind": "FUNCTION_INVOCATION", "functionSelect": { - "endPosition": "4716", + "endPosition": "4748", "kind": "IDENTIFIER", "name": "main", - "startPosition": "4712" + "startPosition": "4744" }, "arguments": [], - "startPosition": "4712" + "startPosition": "4744" }, - "endPosition": "4718", + "endPosition": "4750", "kind": "EXPRESSION_STATEMENT", - "startPosition": "4712" + "startPosition": "4744" } ], "sourceName": "parserapi.js", From 23d6b055c44e4342336ced91929cbbd88cbaecb6 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 11 Oct 2020 20:37:42 +0200 Subject: [PATCH 18/29] Mark jjs tests as currently-failing --- .../script/{ => currently-failing}/nosecurity/JDK-8050964.js | 0 .../script/{ => currently-failing}/nosecurity/JDK-8055034.js | 0 .../{ => currently-failing}/nosecurity/JDK-8055034.js.EXPECTED | 0 .../script/{ => currently-failing}/nosecurity/JDK-8130127.js | 0 .../{ => currently-failing}/nosecurity/JDK-8130127.js.EXPECTED | 0 .../script/{ => currently-failing}/nosecurity/JDK-8193137.js | 0 .../script/{ => currently-failing}/nosecurity/jjs-option-cp.js | 0 .../{ => currently-failing}/nosecurity/jjs-option-cp.js.EXPECTED | 0 .../{ => currently-failing}/nosecurity/jjs-option-define.js | 0 .../nosecurity/jjs-option-define.js.EXPECTED | 0 .../script/{ => currently-failing}/nosecurity/jjs-option-doe.js | 0 .../{ => currently-failing}/nosecurity/jjs-option-doe.js.EXPECTED | 0 .../script/{ => currently-failing}/nosecurity/jjs-option-fv.js | 0 .../{ => currently-failing}/nosecurity/jjs-option-fv.js.EXPECTED | 0 .../script/{ => currently-failing}/nosecurity/jjs-option-fx.js | 0 .../{ => currently-failing}/nosecurity/jjs-option-fx.js.EXPECTED | 0 .../script/{ => currently-failing}/nosecurity/jjs-option-lang.js | 0 .../nosecurity/jjs-option-lang.js.EXPECTED | 0 .../script/{ => currently-failing}/nosecurity/jjs-option-ot.js | 0 .../{ => currently-failing}/nosecurity/jjs-option-ot.js.EXPECTED | 0 .../{ => currently-failing}/nosecurity/jjs-option-scripting.js | 0 .../nosecurity/jjs-option-scripting.js.EXPECTED | 0 .../{ => currently-failing}/nosecurity/jjs-option-strict.js | 0 .../nosecurity/jjs-option-strict.js.EXPECTED | 0 .../script/{ => currently-failing}/nosecurity/jjs-option-t.js | 0 .../{ => currently-failing}/nosecurity/jjs-option-t.js.EXPECTED | 0 .../{ => currently-failing}/nosecurity/jjs-option-version.js | 0 .../nosecurity/jjs-option-version.js.EXPECTED | 0 28 files changed, 0 insertions(+), 0 deletions(-) rename test/nashorn/script/{ => currently-failing}/nosecurity/JDK-8050964.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/JDK-8055034.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/JDK-8055034.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/JDK-8130127.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/JDK-8130127.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/JDK-8193137.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-cp.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-cp.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-define.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-define.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-doe.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-doe.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-fv.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-fv.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-fx.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-fx.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-lang.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-lang.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-ot.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-ot.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-scripting.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-scripting.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-strict.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-strict.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-t.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-t.js.EXPECTED (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-version.js (100%) rename test/nashorn/script/{ => currently-failing}/nosecurity/jjs-option-version.js.EXPECTED (100%) diff --git a/test/nashorn/script/nosecurity/JDK-8050964.js b/test/nashorn/script/currently-failing/nosecurity/JDK-8050964.js similarity index 100% rename from test/nashorn/script/nosecurity/JDK-8050964.js rename to test/nashorn/script/currently-failing/nosecurity/JDK-8050964.js diff --git a/test/nashorn/script/nosecurity/JDK-8055034.js b/test/nashorn/script/currently-failing/nosecurity/JDK-8055034.js similarity index 100% rename from test/nashorn/script/nosecurity/JDK-8055034.js rename to test/nashorn/script/currently-failing/nosecurity/JDK-8055034.js diff --git a/test/nashorn/script/nosecurity/JDK-8055034.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/JDK-8055034.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/JDK-8055034.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/JDK-8055034.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/JDK-8130127.js b/test/nashorn/script/currently-failing/nosecurity/JDK-8130127.js similarity index 100% rename from test/nashorn/script/nosecurity/JDK-8130127.js rename to test/nashorn/script/currently-failing/nosecurity/JDK-8130127.js diff --git a/test/nashorn/script/nosecurity/JDK-8130127.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/JDK-8130127.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/JDK-8130127.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/JDK-8130127.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/JDK-8193137.js b/test/nashorn/script/currently-failing/nosecurity/JDK-8193137.js similarity index 100% rename from test/nashorn/script/nosecurity/JDK-8193137.js rename to test/nashorn/script/currently-failing/nosecurity/JDK-8193137.js diff --git a/test/nashorn/script/nosecurity/jjs-option-cp.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-cp.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-cp.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-cp.js diff --git a/test/nashorn/script/nosecurity/jjs-option-cp.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-cp.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-cp.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-cp.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-define.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-define.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-define.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-define.js diff --git a/test/nashorn/script/nosecurity/jjs-option-define.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-define.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-define.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-define.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-doe.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-doe.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-doe.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-doe.js diff --git a/test/nashorn/script/nosecurity/jjs-option-doe.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-doe.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-doe.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-doe.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-fv.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-fv.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-fv.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-fv.js diff --git a/test/nashorn/script/nosecurity/jjs-option-fv.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-fv.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-fv.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-fv.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-fx.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-fx.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-fx.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-fx.js diff --git a/test/nashorn/script/nosecurity/jjs-option-fx.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-fx.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-fx.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-fx.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-lang.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-lang.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-lang.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-lang.js diff --git a/test/nashorn/script/nosecurity/jjs-option-lang.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-lang.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-lang.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-lang.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-ot.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-ot.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-ot.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-ot.js diff --git a/test/nashorn/script/nosecurity/jjs-option-ot.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-ot.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-ot.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-ot.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-scripting.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-scripting.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-scripting.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-scripting.js diff --git a/test/nashorn/script/nosecurity/jjs-option-scripting.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-scripting.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-scripting.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-scripting.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-strict.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-strict.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-strict.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-strict.js diff --git a/test/nashorn/script/nosecurity/jjs-option-strict.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-strict.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-strict.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-strict.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-t.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-t.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-t.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-t.js diff --git a/test/nashorn/script/nosecurity/jjs-option-t.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-t.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-t.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-t.js.EXPECTED diff --git a/test/nashorn/script/nosecurity/jjs-option-version.js b/test/nashorn/script/currently-failing/nosecurity/jjs-option-version.js similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-version.js rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-version.js diff --git a/test/nashorn/script/nosecurity/jjs-option-version.js.EXPECTED b/test/nashorn/script/currently-failing/nosecurity/jjs-option-version.js.EXPECTED similarity index 100% rename from test/nashorn/script/nosecurity/jjs-option-version.js.EXPECTED rename to test/nashorn/script/currently-failing/nosecurity/jjs-option-version.js.EXPECTED From e19790a999ec46beb7e7b59ca756bc371056a43f Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 11 Oct 2020 20:38:28 +0200 Subject: [PATCH 19/29] Shell shouldn't use internal JDK API --- src/org.openjdk.nashorn.shell/share/classes/module-info.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/org.openjdk.nashorn.shell/share/classes/module-info.java b/src/org.openjdk.nashorn.shell/share/classes/module-info.java index d82cd5464..54b56165a 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/module-info.java +++ b/src/org.openjdk.nashorn.shell/share/classes/module-info.java @@ -39,6 +39,5 @@ requires jdk.internal.le; requires org.openjdk.nashorn; requires jdk.internal.ed; - uses jdk.internal.editor.spi.BuildInEditorProvider; } From 9b2d92261ef49a3e768e76117ac5affd10e440a7 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Mon, 12 Oct 2020 14:55:40 +0200 Subject: [PATCH 20/29] only limit access to that one test package --- make/nashorn/build.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index 6e73b8fad..ad69fc8a1 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -362,7 +362,7 @@ package.access=sun.misc.,\ sun.reflect.,\ - org.openjdk.nashorn.internal. + org.openjdk.nashorn.internal.test @@ -423,7 +423,6 @@ grant codeBase "file:/${file.reference.snakeyaml.jar}" { permission java.security.AllPermission; }; - grant codeBase "file:/${basedir}/${test.script.dir}/trusted/*" { permission java.security.AllPermission; }; From 435153c123a65bec23a7a7205614b6c411089d15 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 18 Oct 2020 17:19:36 +0200 Subject: [PATCH 21/29] Fix test; since we don't limit access to internals in tests --- test/nashorn/script/basic/JDK-8158467.js | 4 ++-- test/nashorn/script/basic/JDK-8158467.js.EXPECTED | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/nashorn/script/basic/JDK-8158467.js b/test/nashorn/script/basic/JDK-8158467.js index cdca32ee9..51eda1ee1 100644 --- a/test/nashorn/script/basic/JDK-8158467.js +++ b/test/nashorn/script/basic/JDK-8158467.js @@ -74,9 +74,9 @@ try { print(ex); } -// should throw SecurityException! +// should throw ClassNotFoundException! try { - e.eval("Java.type('org.openjdk.nashorn.internal.Context')"); + e.eval("Java.type('org.openjdk.nashorn.internal.runtime.Context')"); } catch (ex) { print(ex); } diff --git a/test/nashorn/script/basic/JDK-8158467.js.EXPECTED b/test/nashorn/script/basic/JDK-8158467.js.EXPECTED index dcbded79d..63c41c28d 100644 --- a/test/nashorn/script/basic/JDK-8158467.js.EXPECTED +++ b/test/nashorn/script/basic/JDK-8158467.js.EXPECTED @@ -6,5 +6,5 @@ hello Runnable I'm object java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.jdk.internal") java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.jdk.internal.misc") -java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.org.openjdk.nashorn.internal") +java.lang.RuntimeException: java.lang.ClassNotFoundException: org.openjdk.nashorn.internal.runtime.Context java.lang.ClassNotFoundException: org.openjdk.nashorn.api.scripting.JSObject From c863e96fae464ea4a18f7021d3d04d67c7d000e1 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 18 Oct 2020 17:41:12 +0200 Subject: [PATCH 22/29] Can get module from a publicly accessible class, too. --- .../src/org/openjdk/nashorn/test/models/Reflector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/nashorn/src/org/openjdk/nashorn/test/models/Reflector.java b/test/nashorn/src/org/openjdk/nashorn/test/models/Reflector.java index 7d16f7410..5ca8eee03 100644 --- a/test/nashorn/src/org/openjdk/nashorn/test/models/Reflector.java +++ b/test/nashorn/src/org/openjdk/nashorn/test/models/Reflector.java @@ -29,7 +29,7 @@ import java.lang.reflect.Executable; import java.lang.reflect.Field; import java.lang.reflect.Method; -import org.openjdk.nashorn.internal.runtime.Context; +import org.openjdk.nashorn.api.scripting.AbstractJSObject; /** * Few tests reflectively invoke or read fields of Nashorn classes @@ -40,7 +40,7 @@ */ public final class Reflector { private Reflector() {} - private static final Module NASHORN_MOD = Context.class.getModule(); + private static final Module NASHORN_MOD = AbstractJSObject.class.getModule(); public static void setAccessible(Executable e) { if (e.getDeclaringClass().getModule() != NASHORN_MOD) { From d86e4389ef9ba8730dcd38c240489ba638af5e6d Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 18 Oct 2020 17:49:16 +0200 Subject: [PATCH 23/29] We no longer prohibit access to internals in the tests --- .../script/{ => currently-failing}/sandbox/nashorninternals.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/nashorn/script/{ => currently-failing}/sandbox/nashorninternals.js (100%) diff --git a/test/nashorn/script/sandbox/nashorninternals.js b/test/nashorn/script/currently-failing/sandbox/nashorninternals.js similarity index 100% rename from test/nashorn/script/sandbox/nashorninternals.js rename to test/nashorn/script/currently-failing/sandbox/nashorninternals.js From f86d6ba090354949cbccfaa56086b3a0a21ffd6b Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 25 Oct 2020 17:04:18 +0100 Subject: [PATCH 24/29] This is now OpenJDK Nashorn 15.0 --- make/nashorn/project.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index e271166f6..a0f9df00c 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -45,9 +45,9 @@ javadoc.option=\ -tag "moduleGraph:a:Module Graph" # nashorn version information -nashorn.version=0.1 -nashorn.fullversion=0.1 -nashorn.product.name=Oracle Nashorn +nashorn.version=15.0 +nashorn.fullversion=15.0 +nashorn.product.name=OpenJDK Nashorn # This directory is removed when the project is cleaned: build.dir=${jdk.build.dir}/nashorn From 61f73989b6509cefd258bba6859dba1bac907d84 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 25 Oct 2020 17:04:48 +0100 Subject: [PATCH 25/29] Use Ivy for dependency management and preparation of pom.xml --- make/nashorn/build.xml | 85 ++++++++++++++++-------------------- make/nashorn/ivy-core.xml | 49 +++++++++++++++++++++ make/nashorn/ivysettings.xml | 29 ++++++++++++ 3 files changed, 115 insertions(+), 48 deletions(-) create mode 100644 make/nashorn/ivy-core.xml create mode 100644 make/nashorn/ivysettings.xml diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index ad69fc8a1..4a8fa17fc 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -23,7 +23,7 @@ questions. --> - + @@ -115,11 +115,11 @@ - + - + - + @@ -162,16 +162,22 @@ - - + + + + + + + + + + + + + - - - - - - - + + @@ -253,51 +259,34 @@ - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -705,7 +694,7 @@ grant codeBase "file:/${basedir}/${test.script.dir}/basic/JDK-8158467.js" { - + + + + + + + + + + Nashorn is an ECMAScript 5.1 runtime environment for the JVM. + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/make/nashorn/ivysettings.xml b/make/nashorn/ivysettings.xml new file mode 100644 index 000000000..43e658617 --- /dev/null +++ b/make/nashorn/ivysettings.xml @@ -0,0 +1,29 @@ + + + + + + + + From e55e4c924336b64c384d6bbccbf4bd64b3b99980 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Sun, 15 Nov 2020 21:02:53 +0100 Subject: [PATCH 26/29] Don't presume Nashorn is in the boot layer. --- .../openjdk/nashorn/internal/runtime/Context.java | 12 ------------ .../nashorn/internal/runtime/StructureLoader.java | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java index 26bb733f1..651a3ab16 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Context.java @@ -1346,18 +1346,6 @@ public static DynamicLinker getDynamicLinker() { return getContextTrusted().dynamicLinker; } - /** - * Creates a module layer with one module that is defined to the given class - * loader. - * - * @param descriptor the module descriptor for the newly created module - * @param loader the class loader of the module - * @return the new Module - */ - static Module createModuleTrusted(final ModuleDescriptor descriptor, final ClassLoader loader) { - return createModuleTrusted(ModuleLayer.boot(), descriptor, loader); - } - /** * Creates a module layer with one module that is defined to the given class * loader. diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java index a80db7b4b..164330ae2 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/StructureLoader.java @@ -69,7 +69,7 @@ private Module createModule(final String moduleName) { .packages(Set.of(SCRIPTS_PKG)) .build(); - final Module mod = Context.createModuleTrusted(descriptor, this); + final Module mod = Context.createModuleTrusted(NASHORN_MODULE.getLayer(), descriptor, this); loadModuleManipulator(); return mod; } From 1b32647e4e3752f06ea5d2d45af3cb59cdc4ec10 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Mon, 16 Nov 2020 12:45:38 +0100 Subject: [PATCH 27/29] Ivy is more trouble than it's worth; don't use it. --- make/nashorn/build.xml | 50 +++++++++++++------------- make/nashorn/ivy-core.xml | 49 ------------------------- make/nashorn/ivysettings.xml | 29 --------------- make/nashorn/nashorn-core.pom | 67 +++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+), 104 deletions(-) delete mode 100644 make/nashorn/ivy-core.xml delete mode 100644 make/nashorn/ivysettings.xml create mode 100644 make/nashorn/nashorn-core.pom diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index 4a8fa17fc..37fa61dd4 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -23,7 +23,7 @@ questions. --> - + @@ -52,6 +52,7 @@ + @@ -147,7 +148,6 @@ - @@ -162,22 +162,16 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + @@ -276,10 +270,14 @@ - - - - + + + + + + + + @@ -814,10 +812,10 @@ grant codeBase "file:/${basedir}/${test.script.dir}/basic/JDK-8158467.js" { - - - - + + + + diff --git a/make/nashorn/ivy-core.xml b/make/nashorn/ivy-core.xml deleted file mode 100644 index b19d1e0fc..000000000 --- a/make/nashorn/ivy-core.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - Nashorn is an ECMAScript 5.1 runtime environment for the JVM. - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/make/nashorn/ivysettings.xml b/make/nashorn/ivysettings.xml deleted file mode 100644 index 43e658617..000000000 --- a/make/nashorn/ivysettings.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - diff --git a/make/nashorn/nashorn-core.pom b/make/nashorn/nashorn-core.pom new file mode 100644 index 000000000..d4cbc97fc --- /dev/null +++ b/make/nashorn/nashorn-core.pom @@ -0,0 +1,67 @@ + + + + + 4.0.0 + org.openjdk.nashorn + nashorn-core + OpenJDK Nashorn + NASHORN_VERSION + jar + Nashorn is an Open Source JavaScript (ECMAScript 5.1 and some 6 features) engine for the JVM. + https://github.com/openjdk/nashorn + + + + GPL v2 with the Classpath exception + https://github.com/openjdk/nashorn/blob/main/LICENSE + + + + + + org.ow2.asm + asm + ASM_VERSION + + + org.ow2.asm + asm-commons + ASM_VERSION + + + org.ow2.asm + asm-tree + ASM_VERSION + + + org.ow2.asm + asm-util + ASM_VERSION + + + From c0f0577e68205a27f8e7539c7508445f10f62de4 Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Tue, 17 Nov 2020 21:34:00 +0100 Subject: [PATCH 28/29] Remove extra whitespace --- make/nashorn/build.xml | 22 +++++++++---------- make/nashorn/project.properties | 4 ++-- .../share/classes/module-info.java | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/make/nashorn/build.xml b/make/nashorn/build.xml index 37fa61dd4..01e2827b1 100644 --- a/make/nashorn/build.xml +++ b/make/nashorn/build.xml @@ -31,7 +31,7 @@ - + @@ -114,7 +114,7 @@ - + @@ -161,7 +161,7 @@ - + @@ -173,7 +173,7 @@ - + @@ -210,8 +210,8 @@ ${line.separator} - - + + - + @@ -252,7 +252,7 @@ - + - + @@ -298,8 +298,8 @@ debug="${javac.debug}" encoding="${javac.encoding}" includeantruntime="false" fork="true"> - - + + diff --git a/make/nashorn/project.properties b/make/nashorn/project.properties index a0f9df00c..ba72698bf 100644 --- a/make/nashorn/project.properties +++ b/make/nashorn/project.properties @@ -165,7 +165,7 @@ test.module.imports.compile.time=\ --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp=ALL-UNNAMED \ --add-exports org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime.regexp.joni=ALL-UNNAMED \ --add-exports org.openjdk.nashorn/org.openjdk.nashorn.tools=ALL-UNNAMED - + test.module.imports.runtime=\ ${test.module.imports.compile.time} \ --add-opens org.openjdk.nashorn/org.openjdk.nashorn.internal.runtime=ALL-UNNAMED \ @@ -271,7 +271,7 @@ test262-test-sys-prop.test.js.enable.strict.mode=true test262-test-sys-prop.test.js.exclude.list=\ ${test262.suite.dir}/ch07/7.4/S7.4_A6.js \ ${test262.suite.dir}/ch07/7.8/7.8.5/S7.8.5_A1.4_T2.js \ - ${test262.suite.dir}/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-170.js + ${test262.suite.dir}/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-170.js # list of test262 test dirs to be excluded test262-test-sys-prop.test.js.exclude.dir=\ diff --git a/src/org.openjdk.nashorn/share/classes/module-info.java b/src/org.openjdk.nashorn/share/classes/module-info.java index f54a28a0b..e4ab72947 100644 --- a/src/org.openjdk.nashorn/share/classes/module-info.java +++ b/src/org.openjdk.nashorn/share/classes/module-info.java @@ -147,7 +147,7 @@ requires org.objectweb.asm; requires org.objectweb.asm.commons; requires org.objectweb.asm.util; - + requires transitive java.scripting; exports org.openjdk.nashorn.api.scripting; From 53b2ac29d551e86193927ef8744b2329e4ef865d Mon Sep 17 00:00:00 2001 From: Attila Szegedi Date: Tue, 17 Nov 2020 22:12:19 +0100 Subject: [PATCH 29/29] Fix all cases where git apply complained about "new blank line at EOF". --- src/org.openjdk.nashorn.shell/share/classes/module-info.java | 1 - .../classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java | 1 - .../classes/org/openjdk/nashorn/api/tree/package-info.java | 1 - .../nashorn/internal/codegen/CodeGeneratorLexicalContext.java | 1 - .../classes/org/openjdk/nashorn/internal/codegen/Splitter.java | 1 - .../classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java | 1 - .../classes/org/openjdk/nashorn/internal/ir/ErrorNode.java | 1 - .../classes/org/openjdk/nashorn/internal/ir/Statement.java | 1 - .../share/classes/org/openjdk/nashorn/internal/ir/WithNode.java | 1 - .../nashorn/internal/lookup/MethodHandleFunctionality.java | 1 - .../org/openjdk/nashorn/internal/objects/AbstractIterator.java | 2 -- .../org/openjdk/nashorn/internal/objects/NativeSyntaxError.java | 2 -- .../org/openjdk/nashorn/internal/objects/NativeWeakMap.java | 2 -- .../classes/org/openjdk/nashorn/internal/runtime/CodeStore.java | 1 - .../org/openjdk/nashorn/internal/runtime/DebuggerSupport.java | 2 -- .../org/openjdk/nashorn/internal/runtime/ParserException.java | 1 - .../openjdk/nashorn/internal/runtime/PropertyDescriptor.java | 1 - .../org/openjdk/nashorn/internal/runtime/Specialization.java | 1 - .../org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java | 1 - .../nashorn/internal/runtime/arrays/JSObjectIterator.java | 1 - .../internal/runtime/arrays/ReverseJSObjectIterator.java | 1 - .../openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java | 2 -- .../openjdk/nashorn/internal/runtime/linker/NashornLinker.java | 1 - .../nashorn/internal/runtime/regexp/joni/EncodingHelper.java | 1 - .../nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java | 1 - .../nashorn/internal/runtime/resources/Options.properties | 1 - .../org/openjdk/nashorn/internal/runtime/resources/parser.js | 1 - .../share/classes/org/openjdk/nashorn/internal/scripts/JD.java | 1 - .../share/classes/org/openjdk/nashorn/internal/scripts/JO.java | 1 - .../openjdk/nashorn/internal/test/models/InternalRunnable.java | 1 - .../openjdk/nashorn/test/models/ArrayConversionPreferences.java | 1 - .../src/org/openjdk/nashorn/test/models/VarArgConsumer.java | 1 - .../org/openjdk/nashorn/test/nashorn/models/ES6ASTVisitor.java | 1 - 33 files changed, 38 deletions(-) diff --git a/src/org.openjdk.nashorn.shell/share/classes/module-info.java b/src/org.openjdk.nashorn.shell/share/classes/module-info.java index 54b56165a..2de2d66ef 100644 --- a/src/org.openjdk.nashorn.shell/share/classes/module-info.java +++ b/src/org.openjdk.nashorn.shell/share/classes/module-info.java @@ -40,4 +40,3 @@ requires org.openjdk.nashorn; requires jdk.internal.ed; } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java index 5402b96f9..3f00fc1db 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/ForOfLoopTree.java @@ -59,4 +59,3 @@ public interface ForOfLoopTree extends LoopTree { @Override StatementTree getStatement(); } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java index e725b73f3..9112f42f1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree/package-info.java @@ -71,4 +71,3 @@ * @since 9 */ package org.openjdk.nashorn.api.tree; - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java index e07478d13..c129d3303 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java @@ -299,4 +299,3 @@ int quickSlot(final Type type) { return methodEmitters.peek().defineTemporaryLocalVariable(type.getSlots()); } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java index b1d8b3db5..e1bba0290 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/codegen/Splitter.java @@ -385,4 +385,3 @@ public boolean enterFunctionNode(final FunctionNode node) { return node == outermost; } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java index cfaf2d191..4529f2828 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/DebuggerNode.java @@ -60,4 +60,3 @@ public void toString(final StringBuilder sb, final boolean printType) { sb.append("debugger"); } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java index 2806d87ee..57790e94d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/ErrorNode.java @@ -65,4 +65,3 @@ public void toString(final StringBuilder sb, final boolean printType) { sb.append(""); } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java index cb3f7006f..dbd6c1b56 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/Statement.java @@ -106,4 +106,3 @@ public final boolean hasTerminalFlags() { return isTerminal() || hasGoto(); } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java index 163f7b66f..3656db33e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/ir/WithNode.java @@ -131,4 +131,3 @@ public WithNode setExpression(final LexicalContext lc, final Expression expressi return Node.replaceInLexicalContext(lc, this, new WithNode(this, expression, body)); } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java index b28babde4..6636ad8f9 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/lookup/MethodHandleFunctionality.java @@ -348,4 +348,3 @@ public interface MethodHandleFunctionality { public MethodType type(Class returnType, Class... paramTypes); } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java index b159243bb..88871946b 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/AbstractIterator.java @@ -223,5 +223,3 @@ public static void iterate(final Object iterable, final Global global, final Con } } - - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java index 929fc3636..a6e477797 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeSyntaxError.java @@ -98,5 +98,3 @@ public static NativeSyntaxError constructor(final boolean newObj, final Object s return new NativeSyntaxError(msg); } } - - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java index 5d7290fa4..a271d029d 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/objects/NativeWeakMap.java @@ -178,5 +178,3 @@ private static NativeWeakMap getMap(final Object self) { } } - - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java index 979c2b085..a2a2f1721 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/CodeStore.java @@ -315,4 +315,3 @@ private boolean belowThreshold(final Source source) { } } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java index 90f83a181..fc99a2bb4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/DebuggerSupport.java @@ -389,5 +389,3 @@ private static String escape(final String value) { return sb.toString(); } } - - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java index 2229ff202..52c71e35f 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/ParserException.java @@ -115,4 +115,3 @@ public void throwAsEcmaException(final Global global) { throw ECMAErrors.asEcmaException(global, this); } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java index c611a016a..ba902612e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/PropertyDescriptor.java @@ -159,4 +159,3 @@ public interface PropertyDescriptor { */ public boolean hasAndEquals(PropertyDescriptor otherDesc); } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java index 176c3dcca..20d2a00a1 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/Specialization.java @@ -126,4 +126,3 @@ public boolean convertsNumericArgs() { } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java index daf070d87..9cfa3b0d0 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ArrayIndex.java @@ -205,4 +205,3 @@ public static String toKey(final int index) { } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java index fd17fc1bf..7e4532541 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/JSObjectIterator.java @@ -78,4 +78,3 @@ public Object next() { throw new NoSuchElementException(); } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java index 7e992c73c..159e34883 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/arrays/ReverseJSObjectIterator.java @@ -53,4 +53,3 @@ protected long bumpIndex() { return index--; } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java index 9c738bd9d..196dbf14e 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/doubleconv/IeeeDouble.java @@ -229,5 +229,3 @@ static double NaN() { } } - - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java index aaef42ca0..a34df652c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/linker/NashornLinker.java @@ -362,4 +362,3 @@ private static MethodHandle findOwnMH(final String name, final Class rtype, f return MH.findStatic(MethodHandles.lookup(), NashornLinker.class, name, MH.type(rtype, types)); } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java index e898d7563..6251173a4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java @@ -297,4 +297,3 @@ public static boolean isCodeCType(final int code, final int ctype) { } } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java index 4838911a2..eead9a657 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/regexp/joni/encoding/ObjPtr.java @@ -32,4 +32,3 @@ public ObjPtr(final T p) { public T p; } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Options.properties b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Options.properties index 0dfb24be6..757c2a78c 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Options.properties +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/Options.properties @@ -427,4 +427,3 @@ nashorn.option.version = { \ short_name="-v", \ desc="Print version info of Nashorn." \ } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js index 255563279..9bc5ac620 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/runtime/resources/parser.js @@ -62,4 +62,3 @@ function parse(/*code, [name], [location]*/) { } }); } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java index 3346b3976..4e61fcce4 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JD.java @@ -85,4 +85,3 @@ public static ScriptObject allocate(final PropertyMap map) { return new JD(map); } } - diff --git a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java index a12f22a69..8ed5b2843 100644 --- a/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java +++ b/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/internal/scripts/JO.java @@ -85,4 +85,3 @@ public static ScriptObject allocate(final PropertyMap map) { return new JO(map); } } - diff --git a/test/nashorn/src/org/openjdk/nashorn/internal/test/models/InternalRunnable.java b/test/nashorn/src/org/openjdk/nashorn/internal/test/models/InternalRunnable.java index 4a12b7427..1a27260e5 100644 --- a/test/nashorn/src/org/openjdk/nashorn/internal/test/models/InternalRunnable.java +++ b/test/nashorn/src/org/openjdk/nashorn/internal/test/models/InternalRunnable.java @@ -69,4 +69,3 @@ public void getInvisibleProperty() { throw new AssertionError(); } } - diff --git a/test/nashorn/src/org/openjdk/nashorn/test/models/ArrayConversionPreferences.java b/test/nashorn/src/org/openjdk/nashorn/test/models/ArrayConversionPreferences.java index be654264a..6af4e72ce 100644 --- a/test/nashorn/src/org/openjdk/nashorn/test/models/ArrayConversionPreferences.java +++ b/test/nashorn/src/org/openjdk/nashorn/test/models/ArrayConversionPreferences.java @@ -71,4 +71,3 @@ public class ArrayConversionPreferences { public boolean testArrayOverMap(final Object[] x) { return true; } public boolean testArrayOverMap(final Map x) { return false; } } - diff --git a/test/nashorn/src/org/openjdk/nashorn/test/models/VarArgConsumer.java b/test/nashorn/src/org/openjdk/nashorn/test/models/VarArgConsumer.java index 41ea898a3..f5462ea72 100644 --- a/test/nashorn/src/org/openjdk/nashorn/test/models/VarArgConsumer.java +++ b/test/nashorn/src/org/openjdk/nashorn/test/models/VarArgConsumer.java @@ -32,4 +32,3 @@ public interface VarArgConsumer { public void apply(Object... o); } - diff --git a/test/nashorn/src/org/openjdk/nashorn/test/nashorn/models/ES6ASTVisitor.java b/test/nashorn/src/org/openjdk/nashorn/test/nashorn/models/ES6ASTVisitor.java index 3baa3c780..f61be99a4 100644 --- a/test/nashorn/src/org/openjdk/nashorn/test/nashorn/models/ES6ASTVisitor.java +++ b/test/nashorn/src/org/openjdk/nashorn/test/nashorn/models/ES6ASTVisitor.java @@ -48,4 +48,3 @@ public Boolean visitCompilationUnit(CompilationUnitTree stmt, Void none) { } } -