Bug #186 » dyson-useSingleThread=true.patch
| ecj-3.10.1/src/org.eclipse.jdt.core/org/eclipse/jdt/internal/compiler/batch/Main.java | ||
|---|---|---|
|
this.batchCompiler.remainingIterations = this.maxRepetition-this.currentRepetition/*remaining iterations including this one*/;
|
||
|
// temporary code to allow the compiler to revert to a single thread
|
||
|
String setting = System.getProperty("jdt.compiler.useSingleThread"); //$NON-NLS-1$
|
||
|
this.batchCompiler.useSingleThread = setting != null && setting.equals("true"); //$NON-NLS-1$
|
||
|
this.batchCompiler.useSingleThread = setting == null || setting.equals("true"); //$NON-NLS-1$
|
||
|
if (this.compilerOptions.complianceLevel >= ClassFileConstants.JDK1_6
|
||
|
&& this.compilerOptions.processAnnotations) {
|
||