<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi compiler devs,</div><div><br></div>I'm working on the Java compiler integration for the Gradle build tool (<a href="http://gradle.org">http://gradle.org</a>). Our main way of interacting with the Java compiler is the Java compiler API. Among other things, this allows us to have a long-running compiler process that can be reused over time, which is considerably faster than forking a new compiler every time.<div><br></div><div>I've noticed that the Java compiler API seems to silently ignore some of the options supported by the (Oracle JDK) command-line compiler. A concrete example is -XDignore.symbol.file=true, which some Gradle users need in order to be able to compile against internal JDK classes (e.g. com.sun.image.codec.jpeg.JPEGCodec). Is this a known issue, or is it even a feature (perhaps because -XDignore.symbol.file is a non-standard option)? To achieve the best possible compiler integration in Gradle, it would help a lot if the compiler API accepted exactly the same options as the corresponding command-line compiler.</div><div><br></div><div>Thanks for any insights.</div><div><br></div><div>Cheers,</div><div>Peter</div><div><br><div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-color: rgb(204, 204, 204); ">--</div><div style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-color: rgb(204, 204, 204); ">Peter Niederwieser </div><div style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-color: rgb(204, 204, 204); ">Principal Developer, Gradleware</div><div style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-color: rgb(204, 204, 204); "><a href="http://www.gradle.org/">http://www.gradle.org</a></div><div style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-color: rgb(204, 204, 204); "><a href="http://www.gradleware.com/">http://www.gradleware.com</a></div><div style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-color: rgb(204, 204, 204); ">Creator, Spock Framework</div><div style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-color: rgb(204, 204, 204); "><a href="http://spockframework.org/">http://spockframework.org</a></div></div><div style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-color: rgb(204, 204, 204); "><br></div><div style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-color: rgb(204, 204, 204); "><span style="font-family: arial, sans-serif; ">Join us at the </span><span style="font-family: arial, sans-serif; ">Gradle</span><span style="font-family: arial, sans-serif; "> </span><span style="font-family: arial, sans-serif; ">eXchange</span><span style="font-family: arial, sans-serif; "> 2013, Oct 28th in London, UK: </span><a href="http://skillsmatter.com/event/java-jee/gradle-exchange-2013" target="_blank" style="font-family: arial; font-size: small; ">http://skillsmatter.com/event/java-jee/gradle-exchange-2013</a></div></div></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>