mirror of
https://github.com/apache/lucene.git
synced 2025-02-07 10:38:40 +00:00
* pass jvm args to javac #11925 * Update net.ltgt.errorprone to the latest version so that jvm args are not overwritten, add -XX:+PrintFlagsFinal for debugging * speed up the pure javac case too It does not help to fork additional VMs (although error-prone will do this since it messes with bootstrap classpath), so we avoid forking. Instead it is best to tune org.gradle.jvmargs. * use the flags consistently everywhere (tests and doc) * handle the different possible alt toolchain cases The difference is invoking 'java' versus invoking 'javac', so the args must be fed differently. Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>