Skip to content

Fix Interface Type Merge in Data Flow Analysis#663

Merged
wasabii merged 9 commits intomainfrom
fixmerge2
Mar 9, 2025
Merged

Fix Interface Type Merge in Data Flow Analysis#663
wasabii merged 9 commits intomainfrom
fixmerge2

Conversation

@wasabii
Copy link
Copy Markdown
Contributor

@wasabii wasabii commented Mar 9, 2025

Data flow analysis merges types. Presently, if either side is an interface, java.lang.Object is considered the common base type. This is incorrect. The proper logic would be that if BOTH sides are an interface jlo should be used. However, if only one side is an interface, that interface is the common base type if it is implemented by the other side.

This is a selective merge from develop to main.

Fixes #662

@wasabii wasabii merged commit fc40aed into main Mar 9, 2025
86 checks passed
@wasabii wasabii deleted the fixmerge2 branch March 9, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VerifyError thrown on method with merged stack states where only one side is an interface

1 participant