masesgroup / JNet

Java/JVM suite for .NET: a comprehensive suite of libraries and tools to use Java/JVM APIs (Java, Scala, Kotlin, ...) and .NET side-by-side
https://jnet.masesgroup.com/
Apache License 2.0
30 stars 3 forks source link

Changes how listeners and adapters are managed #527

Closed masesdevelopers closed 2 weeks ago

masesdevelopers commented 2 weeks ago

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:

[!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

Checklist: