Changes how callbacks are managed returning a boolean value indicating if .NET has done an override. Then, if .NET hasn't done the override, in the Java side:
if the method belongs to an interface:
if there is a default implementation execute the default
otherwise throws an UnsupportedOperationException
if the method belongs to a class:
if the method is declared abstract throws an UnsupportedOperationException
otherwise execute the super class method
[!WARNING]
It can introduces a breaking change since Java methods request to be implemented in .NET if:
belongs to an interface and do not have a default implementation
belongs to a class and are declared abstract
Related Issue
fix #512
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
Changes how callbacks are managed returning a
boolean
value indicating if .NET has done an override. Then, if .NET hasn't done the override, in the Java side:default
UnsupportedOperationException
abstract
throws anUnsupportedOperationException
Related Issue
fix #512
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: