< prev index next >
src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/JSObject.java
Print this page
*** 33,44 ****
--- 33,48 ----
* This interface can be implemented by an arbitrary Java class. Nashorn will
* treat objects of such classes just like nashorn script objects. Usual nashorn
* 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
* 'func.apply(thiz, args)' in JavaScript.
*
< prev index next >