Skip to content

Commit

Permalink
Revert "Remove resolve classpath when fetching a raw classpath (#3531)"
Browse files Browse the repository at this point in the history
This reverts commit b79bd1d as it
introduces regressions.

Fixes #3534
  • Loading branch information
iloveeclipse committed Jan 9, 2025
1 parent 0c3986b commit 460ebc3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ public IClasspathEntry getRawClasspathEntry() throws JavaModelException {

IClasspathEntry rawEntry = null;
JavaProject project = getJavaProject();
project.getResolvedClasspath(); // force the reverse rawEntry cache to be populated
Map rootPathToRawEntries = project.getPerProjectInfo().rootPathToRawEntries;
if (rootPathToRawEntries != null) {
rawEntry = (IClasspathEntry) rootPathToRawEntries.get(getPath());
Expand Down

0 comments on commit 460ebc3

Please sign in to comment.