8014492: Make NashornLinker public
authorattila
Tue, 14 May 2013 12:39:02 +0200
changeset 17528 0f5bedbf0e06
parent 17527 6e45d9c2328c
child 17529 7bd8457aa8d9
8014492: Make NashornLinker public Reviewed-by: hannesw, jlaskey
nashorn/src/jdk/nashorn/internal/runtime/linker/NashornLinker.java
--- a/nashorn/src/jdk/nashorn/internal/runtime/linker/NashornLinker.java	Fri May 10 13:16:44 2013 +0200
+++ b/nashorn/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}.
      */