build error: sun/nio/ch/ ?

David Holmes david.holmes at
Tue Oct 25 11:26:18 UTC 2011

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.


> -Chris
> On 10/25/11 11:23 AM, David Holmes wrote:
>> I'm getting a build error due to -Werror and the fact that
>> uses a raw type: "new Class[] { ...}" and so generates a raw type warning
>> David

More information about the core-libs-dev mailing list