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() {
62
62
this ,
63
63
ProblemFactory .getProblemFactory (Locale .getDefault ()));
64
64
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$
65
68
66
69
// enable the compiler reference info support
67
70
options .produceReferenceInfo = true ;
Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ protected Compiler newCompiler() {
63
63
this ,
64
64
ProblemFactory .getProblemFactory (Locale .getDefault ()));
65
65
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$
66
69
67
70
// enable the compiler reference info support
68
71
options .produceReferenceInfo = true ;
You can’t perform that action at this time.
0 commit comments