changeset 254:098a4cedcaf2

8014492: Make NashornLinker public Reviewed-by: hannesw, jlaskey
author attila
date Tue, 14 May 2013 12:39:02 +0200
parents 9073bcc4307b
children 264bb0af9e4e
files src/jdk/nashorn/internal/runtime/linker/NashornLinker.java
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk/nashorn/internal/runtime/linker/NashornLinker.java	Fri May 10 13:16:44 2013 +0200
+++ b/src/jdk/nashorn/internal/runtime/linker/NashornLinker.java	Tue May 14 12:39:02 2013 +0200
@@ -44,11 +44,9 @@
 
 /**
  * This is the main dynamic linker for Nashorn. It is used for linking all {@link ScriptObject} and its subclasses (this
- * includes {@link ScriptFunction} and its subclasses) as well as {@link Undefined}. This linker is exported to other
- * language runtimes by being declared in {@code META-INF/services/jdk.internal.dynalink.linker.GuardingDynamicLinker}
- * file of Nashorn's distribution.
+ * includes {@link ScriptFunction} and its subclasses) as well as {@link Undefined}.
  */
-final class NashornLinker implements TypeBasedGuardingDynamicLinker, GuardingTypeConverterFactory, ConversionComparator {
+public final class NashornLinker implements TypeBasedGuardingDynamicLinker, GuardingTypeConverterFactory, ConversionComparator {
     /**
      * Returns true if {@code ScriptObject} is assignable from {@code type}, or it is {@code Undefined}.
      */