Java compiler API not supporting non-standard options such as -XDignore.symbol.file?

Martin Buchholz martinrb at
Fri Oct 11 17:25:08 PDT 2013

On Fri, Oct 11, 2013 at 5:12 PM, Peter Niederwieser <pniederw at>wrote:

> David, Jon,
> thanks for yours answers. It's not that *I* want or need to use internal
> JDK APIs, but that Gradle needs to support whatever the JDK command-line
> compiler supports. (We can't tell our users "when you switch from (say) Ant
> to Gradle, you need to refactor your codebase and can no longer use
> internal JDK classes". We've even had someone building the JSR-166 project
> with Gradle and running into this problem.)

Hi Peter,

I help maintain the ant build infrastructure for the JSR-166 project.  We
deliberately use various external javac's since different parts of the code
base have different JDK targets.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the compiler-dev mailing list