From cd777abc5fa313f0834d286c60e25916d79737ed Mon Sep 17 00:00:00 2001 From: Snjezana Peco Date: Fri, 6 Dec 2024 18:38:11 +0100 Subject: [PATCH] javac doesn't configure output folders of dependent projects correctly Signed-off-by: Snjezana Peco --- .../src/org/eclipse/jdt/internal/javac/JavacUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/JavacUtils.java b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/JavacUtils.java index 8b872bba4fc..660eedd6ba1 100644 --- a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/JavacUtils.java +++ b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/JavacUtils.java @@ -385,7 +385,7 @@ private static Collection classpathEntriesToFiles(JavaProject project, Pre for (IClasspathEntry transitiveEntry : resolved ) { if (transitiveEntry.getEntryKind() == IClasspathEntry.CPE_SOURCE) { IPath outputLocation = transitiveEntry.getOutputLocation(); - if (outputLocation != null && select.test(transitiveEntry)) { + if (outputLocation != null && !transitiveEntry.isTest()) { addPath(referencedJavaProject, outputLocation, res); } } else if (transitiveEntry.isExported() && !seen.contains(transitiveEntry)) {