Disable some parallelization in the generator because java annotation processors are horribly thread-unsafe

This commit is contained in:
Michael Pfaff 2022-10-05 18:17:14 -04:00
parent f2ec595d8a
commit 61fa03042f
Signed by: michael
GPG Key ID: CF402C4A012AA9D4
1 changed files with 3 additions and 3 deletions

View File

@ -367,10 +367,10 @@ public final class GeneratorVisitor extends ElementKindVisitor6<Void, Void> {
}
if (this.gen_java_path != null) {
this.futures.push(spawn(() -> {
//this.futures.push(spawn(() -> {
doJavaGen(e, methods, fields);
return null;
}));
// return null;
//}));
}
if (methods.size() > 0 && this.gen_native_path != null) {