Skip to content

Comments

Not all deprecation warnings reported for types defined in one java file#4570

Merged
stephan-herrmann merged 2 commits intoeclipse-jdt:masterfrom
stephan-herrmann:issue4563
Oct 28, 2025
Merged

Not all deprecation warnings reported for types defined in one java file#4570
stephan-herrmann merged 2 commits intoeclipse-jdt:masterfrom
stephan-herrmann:issue4563

Conversation

@stephan-herrmann
Copy link
Contributor

Check for common enclosing type not CU

Further improve isInsideDeprecatedCode() as it is now needed for org.eclipse.jdt.core.tests.compiler.regression.AnnotationTest.test093()

Fixes #4563

Check for common enclosing type not CU

Further improve isInsideDeprecatedCode() as it is now needed for
org.eclipse.jdt.core.tests.compiler.regression.AnnotationTest.test093()

Fixes eclipse-jdt#4563
@stephan-herrmann stephan-herrmann merged commit 52c7b04 into eclipse-jdt:master Oct 28, 2025
13 checks passed
@stephan-herrmann stephan-herrmann deleted the issue4563 branch October 28, 2025 22:29
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.

Not all deprecation warnings reported for types defined in one java file

1 participant