eclipse-jdt / eclipse-jdt/eclipse.jdt.ui
Opening a class file from "Recent Files" can fail
- Dominant language
- Java
- Stars
- 59
- Forks
- 127
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 37
Description
Testing with 4.38 I20251112-1800
1. Open a Java class such as `java.lang.Thread` in order to see its code in the editor
2. Close the editor for this class
3. Close Eclipse
4. Open Eclipse
5. From the "Recent Files" menu select "Thread.class [java.lang.Thread]"
A dialog appears saying "Unable to open Thread.class"
This is working in Eclipse 4.34 but not in the latest versions.
Note - the class file can be reopened from the "Recent Files" menu the in the same session but if you close the class file and Eclipse itself it is not loaded.
Contributor guide
Research direction
Reproduce the failure by opening java.lang.Thread, closing Eclipse, and selecting "Thread.class [java.lang.Thread]" from the Recent Files menu in the latest version, then compare with Eclipse 4.34. Trace the Recent Files reopening path and verify that the class file can be reopened after restarting Eclipse and closing it again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100