fix(TUP-19605) add another fix for tdm adjuster

This commit is contained in:
nrousseau
2018-03-02 15:02:23 +08:00
parent 6f7d03f999
commit 7fd807ca69

View File

@@ -938,9 +938,11 @@ public class ProcessorUtilities {
.getNeededLibrariesForProcess(currentProcess, false);
if (neededLibraries != null) {
Set<ModuleNeeded> adjustClassPath = new HashSet<ModuleNeeded>(neededLibraries);
for (IClasspathAdjuster adjuster : classPathAdjusters) {
adjuster.collectInfo(currentProcess, neededLibraries);
adjustClassPath = adjuster.adjustClassPath(currentProcess, adjustClassPath);
if (currentProcess instanceof IProcess2) {
for (IClasspathAdjuster adjuster : classPathAdjusters) {
adjuster.collectInfo(currentProcess, neededLibraries);
adjustClassPath = adjuster.adjustClassPath(currentProcess, adjustClassPath);
}
}
if (isNeedLoadmodules) {