Disable some parallelization in the generator because java annotation processors are horribly thread-unsafe
This commit is contained in:
parent
f2ec595d8a
commit
61fa03042f
|
@ -367,10 +367,10 @@ public final class GeneratorVisitor extends ElementKindVisitor6<Void, Void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.gen_java_path != null) {
|
if (this.gen_java_path != null) {
|
||||||
this.futures.push(spawn(() -> {
|
//this.futures.push(spawn(() -> {
|
||||||
doJavaGen(e, methods, fields);
|
doJavaGen(e, methods, fields);
|
||||||
return null;
|
// return null;
|
||||||
}));
|
//}));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (methods.size() > 0 && this.gen_native_path != null) {
|
if (methods.size() > 0 && this.gen_native_path != null) {
|
||||||
|
|
Loading…
Reference in New Issue