Details
-
Bug
-
Resolution: Fixed
-
P3
-
None
-
None
-
b84
-
generic
-
generic
-
Verified
Description
javax.script.Invocable.getInterface methods should return null if the underlying script object does not have functions matching the interface method names. Nashorn returns non-null interface object always. When attempt is made to invoke method on resulting object, user gets UnsupportedOperationException. This is not as per the spec.