Re: Different javac options for explicitly and automatically compiled files

2011-08-03 Thread Kelly O'Hair
On Aug 2, 2011, at 8:10 PM, Alexandre Boulgakov wrote: >> Eventually, we should always be using -implicit:none >> That will be part of the build infrastructure changes. > Is there a bug tracking this? That way I could omit the -Werror flag for now > and reference the relevant bug. > > Thanks, >

Re: Different javac options for explicitly and automatically compiled files

2011-08-03 Thread Kelly O'Hair
On Aug 3, 2011, at 7:48 AM, Dr Andrew John Hughes wrote: >> >> No. The Makefiles should be set so that the "bootstrap runtime library" >> is overridden >> with -bootclasspath, meaning that the compilation will fail if the >> classes are not >> available to javac in source or compiled form. >>

Re: Different javac options for explicitly and automatically compiled files

2011-08-02 Thread Dr Andrew John Hughes
On 16:02 Mon 01 Aug , Jonathan Gibbons wrote: > On 08/01/2011 02:55 PM, Dr Andrew John Hughes wrote: > > 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 B

Re: Different javac options for explicitly and automatically compiled files

2011-08-02 Thread Alexandre Boulgakov
On 8/2/2011 12:45 AM, Kelly O'Hair wrote: Eventually, we should always be using -implicit:none That will be part of the build infrastructure changes. Is there a bug tracking this? That way I could omit the -Werror flag for now and reference the relevant bug. Thanks, Sasha I'm talking to Fr

Re: Different javac options for explicitly and automatically compiled files

2011-08-02 Thread Kelly O'Hair
Eventually, we should always be using -implicit:none That will be part of the build infrastructure changes. I'm talking to Fredrik today, and this week. Hopefully we can get this project more public and accelerated. -kto On Aug 2, 2011, at 1:02 AM, Jonathan Gibbons wrote: > On 08/01/2011 02:55

Re: Different javac options for explicitly and automatically compiled files

2011-08-01 Thread Jonathan Gibbons
On 08/01/2011 02:55 PM, Dr Andrew John Hughes wrote: 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.

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.