Skip to content

Commit

Permalink
Fix missing reflection of classes listed in ClassesWithCallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers committed Sep 26, 2024
1 parent d40860b commit 284ba91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/JNetReflector/InternalExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ public static bool IsJVMListenerClass(this Class entry)
{
if (entry.TypeName.IsJVMListenerClass())
{
if (!entry.IsInterface && entry.Interfaces.Length == 0) // if a class and there aren't interfaces it is not a listener
if (!entry.IsJVMClassWithCallbacks() && !entry.IsInterface && entry.Interfaces.Length == 0) // if a class and there aren't interfaces it is not a listener
{
return false;
}
Expand Down

0 comments on commit 284ba91

Please sign in to comment.