This is transferred from eclipse-jdt/eclipse.jdt.ui#2069
Eclipse 4.35 RC2
Java Temurin 21 SDK
Reproduced on Windows 11 and Mac Sequoia (not tested on Linux)
- Download Eclipse 4.35 SDK from https://download.eclipse.org/eclipse/downloads/
- Launch Eclipse with a fresh workspace
- Create a sample plug-in project "Hello, World Command"
- Open the file
SampleHandler.java in the editor
- Now close Eclipse and re-open Eclipse a few times.
- Upon opening Eclipse I get red problem markers in the file. Many times these problem markers do not clear.
Edit - the first time re-opening Eclipse the red markers will disappear but after closing and re-opening thereafter the red markers remain.
A workaround is to add some text to the file such as a space and then undo.
This does not happen in Eclipse 4.34.