Skip to content

build: compile in-process rather than by forking javac - #5369

Merged
joschi merged 1 commit into
release/4.2.xfrom
pr-5366-4.2.x
Aug 28, 2026
Merged

joschi merged 1 commit into
release/4.2.xfrom
pr-5366-4.2.x

Conversation

@joschi

@joschi joschi commented Aug 28, 2026

Copy link
Copy Markdown
Member

The --add-exports/--add-opens flags required by Error Prone are currently passed as -J compiler arguments, which requires <fork>true</fork>. Declaring them in .mvn/jvm.config instead lets the compiler run inside the Maven JVM, significantly speeding up the build.

Refs #5366

The `--add-exports`/`--add-opens` flags required by Error Prone are
currently passed as `-J` compiler arguments, which requires
`<fork>true</fork>`. Declaring them in `.mvn/jvm.config` instead lets
the compiler run inside the Maven JVM, significantly speeding up the
build.
@joschi joschi added this to the 4.2.40 milestone Aug 28, 2026
@joschi joschi self-assigned this Aug 28, 2026
@joschi
joschi requested review from a team as code owners August 28, 2026 19:48
@sonarqubecloud

Copy link
Copy Markdown

@joschi
joschi merged commit c04e360 into release/4.2.x Aug 28, 2026
11 checks passed
@joschi
joschi deleted the pr-5366-4.2.x branch August 28, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants