-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: core-libs
-
None
-
b84
-
generic
-
generic
-
Verified
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.