Workaround JDK-8056014

This commit works around JDK bug JDK-8056014 in the javac compiler.
This bug is impacting CI compilations on JDK 8u11 and 8u25.
This commit is contained in:
Jason Tedor 2015-09-29 15:03:32 +02:00
parent c1ab2dc244
commit ad090296fc
1 changed files with 2 additions and 1 deletions

View File

@ -135,7 +135,8 @@ public final class Modules {
private final Set<Module> baseModules;
private RealOverriddenModuleBuilder(Iterable<? extends Module> baseModules) {
this.baseModules = unmodifiableSet(newHashSet(baseModules));
HashSet<? extends Module> modules = newHashSet(baseModules);
this.baseModules = unmodifiableSet(modules);
}
@Override