On 25/10/2011 8:48 PM, Chris Hegarty wrote:
Hmmm... there was an issue in javac where it was not reporting raw type
warnings for anonymous inner classes. Maurizio fixed this recently
(javac will now report these warnings), but I did a clean build with
Maurizio's patch and all went well. I can also still do a clean build (
but I build just jdk not langtools, and use a b09 import ). Nightly
builds went fine too!
You can clearly see the raw type in the source, I just don't understand
why we didn't see if before. I'll file a CR and have it fixed.
I suspect this is another case of a partial build causing files to be
compiled with different settings. I'll try another clean build.
Thanks,
David
-Chris
On 10/25/11 11:23 AM, David Holmes wrote:
I'm getting a build error due to -Werror and the fact that Util.java
uses a raw type: "new Class[] { ...}" and so generates a raw type warning
David