Menu

#43 Bug in support for default and static methods in interface classes

Next Release
closed-invalid
nobody
None
5
2018-12-08
2018-12-06
No

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).

Discussion

  • Rony G. Flatscher

    • status: open --> closed-invalid
     
  • Rony G. Flatscher

    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. :) )

     

Log in to post a comment.

Auth0 Logo