Java 8 introduced default and static methods for interface classes. The current support in BSF4ooRexx is not working correctly:
- dynamic methods: should only get invoked, if a method of the same signature is not implemented in any of the concrete (ancestor) classes; currently its invocation causes a method not found error,
- static methods: should only get invoked, if referred to via the interface class object (currently that aborts with a NPE).
Actually the implementation already behaves appropriately.
(The reason for opening the bug was an example that was not doing what was thought it would do. :) )