File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
sources/net.sf.j2s.core/src/net/sf/j2s/core/builder Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ protected Compiler newCompiler() {
6262 this ,
6363 ProblemFactory .getProblemFactory (Locale .getDefault ()));
6464 CompilerOptions options = newCompiler .options ;
65+ // temporary code to allow the compiler to revert to a single thread
66+ String setting = System .getProperty ("jdt.compiler.useSingleThread" ); //$NON-NLS-1$
67+ newCompiler .useSingleThread = setting != null && setting .equals ("true" ); //$NON-NLS-1$
6568
6669 // enable the compiler reference info support
6770 options .produceReferenceInfo = true ;
Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ protected Compiler newCompiler() {
6363 this ,
6464 ProblemFactory .getProblemFactory (Locale .getDefault ()));
6565 CompilerOptions options = newCompiler .options ;
66+ // temporary code to allow the compiler to revert to a single thread
67+ String setting = System .getProperty ("jdt.compiler.useSingleThread" ); //$NON-NLS-1$
68+ newCompiler .useSingleThread = setting != null && setting .equals ("true" ); //$NON-NLS-1$
6669
6770 // enable the compiler reference info support
6871 options .produceReferenceInfo = true ;
You can’t perform that action at this time.
0 commit comments