Skip to content

Regression in Eclipse 2025-12: Type mismatch even for variables with the exact same type#4813

Merged
stephan-herrmann merged 1 commit intoeclipse-jdt:masterfrom
stephan-herrmann:issue4699
Feb 2, 2026
Merged

Regression in Eclipse 2025-12: Type mismatch even for variables with the exact same type#4813
stephan-herrmann merged 1 commit intoeclipse-jdt:masterfrom
stephan-herrmann:issue4699

Conversation

@stephan-herrmann
Copy link
Contributor

2 technical fixes:

  • don't cache premature compatibility checks from capture initialization
  • avoid duplicate intersecting types in IntersectionTypeBinding18

Adjust the test program to avoid using uninitialized local vars

Fixes #4699

exact same type.

2 technical fixes
+ don't cache premature compatibility checks from capture initialization
+ avoid duplicate intersecting types in IntersectionTypeBinding18

Adjust the test program to avoid using uninitialized local vars

Fixes eclipse-jdt#4699
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.

Regression in Eclipse 2025-12: Type mismatch even for variables with the exact same type.

1 participant

Comments