build error: sun/nio/ch/ ?

David Holmes david.holmes at
Tue Oct 25 11:27:54 UTC 2011

On 25/10/2011 9:22 PM, Rémi Forax wrote:
> On 10/25/2011 12:23 PM, 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
> Until recently, javac has forgotten to warn about that kind of rawtype
> (array of rawtype).
> new Class<?>[] { ... }
> should solve the problem.

Yes that fixes it. It's more an issue of why I saw it and other builds 
do not. As per my reply to Chris this may be an issue with not doing a 
clean build.


>> David
> Rémi

More information about the core-libs-dev mailing list