Bug 573479 - skip already visited entries when expanding classpath
DefaultProjectClasspathEntry.expandProject() performs a depth first
iteration over the projects classpath. It tries to prune already visited
sub trees by checking if the entry is already in the expandedPath list.
One code path however transforms the entry before adding it to the list.
In that case the pruning does not work.
Fixed by introducing a dedicated set to keep track of already visited
Signed-off-by: Andreas Huber <email@example.com>
Tested-by: JDT Bot <firstname.lastname@example.org>
Reviewed-by: Andrey Loskutov <email@example.com>
1 file changed