Clone
Thomas Broyer <t.broyer@ltgt.net>
committed
on 01 Jan 19
Silence unrecognized annotation processor option during incremental processing
This works by registering an additional annotation processor… Show more
Silence unrecognized annotation processor option during incremental processing

This works by registering an additional annotation processor

matching everything so it's guaranteed to be called, and that

collects all other processors' supported options in its own

supported options. That way, all those options will always be

see by javac as being supported, even when recompiling only

a subset of files that won't trigger some processors.

As a side-effect, this fully works around the underlying javac

issue (https://bugs.openjdk.java.net/browse/JDK-8162455) even

during full recompilations.

Fixes #8128

Signed-off-by: Thomas Broyer <t.broyer@ltgt.net>

Show less

green-master + 379 more