Re: Different javac options for explicitly and automatically compiled files

2011-08-01 Thread Dr Andrew John Hughes
On 11:07 Mon 01 Aug , Alexandre Boulgakov wrote: > Hello Kelly, > > Do you know the answer to this one? > > Thanks, > Sasha > > On 7/29/2011 11:37 AM, Alexandre Boulgakov wrote: > > Hello, > > > > I am working on removing the javac -Xlint warnings from java.net.*. > > After removing these w

Re: Different javac options for explicitly and automatically compiled files

2011-08-01 Thread Jonathan Gibbons
.. and no, you cannot selectively enable -Werror, except by separating the work into multiple compilations. You could (uugh) put @SuppressWarnings on the unfixed classes as an interim measure, if you were certain it is only an interim measure. Otherwise, you could fix those other warnings too

Re: Different javac options for explicitly and automatically compiled files

2011-08-01 Thread Joe Darcy
Hi Sasha. This isn't the question you asked, but you can use javac -implicit:none to disable the compilation of implicitly referenced types. -Joe On 8/1/2011 11:07 AM, Alexandre Boulgakov wrote: Hello Kelly, Do you know the answer to this one? Thanks, Sasha On 7/29/2011 11:37 AM, Alex

Re: Different javac options for explicitly and automatically compiled files

2011-08-01 Thread Alexandre Boulgakov
Hello Kelly, Do you know the answer to this one? Thanks, Sasha On 7/29/2011 11:37 AM, Alexandre Boulgakov wrote: Hello, I am working on removing the javac -Xlint warnings from java.net.*. After removing these warnings, I would like to turn on javac's -Werror flag in make/java/net/Makefile.

Different javac options for explicitly and automatically compiled files

2011-07-29 Thread Alexandre Boulgakov
Hello, I am working on removing the javac -Xlint warnings from java.net.*. After removing these warnings, I would like to turn on javac's -Werror flag in make/java/net/Makefile. However, it seems that the javac task in make/java/net/Makefile has to automatically compile some dependencies (not