< prev index next >

## src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ClassFilter.java

Print this page

    @@ -27,12 +27,16 @@
     /**
      * Class filter (optional) to be used by nashorn script engine.
      * 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?
           * @param className is the fully qualified name of the java class being
           * checked. This will not be null. Only non-array class names will be

< prev index next >