Details
-
Bug
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
12.5
Description
My code calls
ScriptEngine eng = ...
((Invocable)eng).getInterface(aValue, SomeInterface.class);
In case of an incompatible 'aValue', the ScriptEngine throws a ClassCastException, although it should return just null (" null if the requested interface is unavailable").
This behaviour changed after NB 11.3, and is present in NB 12.5 - should be fixed.
Attachments
Issue Links
- links to