eclipse-jdt / eclipse-jdt/eclipse.jdt.core

deprecation markers with since > BREE are not shown in Problems view but in Editor

Open
#2,873 3 comments 0 reactions 1 assignee Claimed by @jjohnstn View on GitHub
bug
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

example: org.eclipse.e4.ui.css.swt.helpers.CSSSWTImageHelper shows a warning
`The constructor URL(String) is deprecated since version 20` in the editor but not in the Problems View.
Even if i configure the warning to be an error it is not shown in the Problems view while compile warings/errors of other type in the same file are shown.
![image](https://github.com/user-attachments/assets/e205cc86-4de4-46ea-8939-6632a51e451e)
The project is configured to have 17 compliance. When i change the the compliance level to 21 then both editor and problem view are consistently showning the marker.
![image](https://github.com/user-attachments/assets/343c5561-859a-4af0-b0b9-1a5261c01dc0)

I expect the warning in the editor to match the warnings in the problems view, no matter which compliance level i selected - shouldn't i?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.