build error: sun/nio/ch/Util.java ?

Rémi Forax forax at univ-mlv.fr
Tue Oct 25 11:22:43 UTC 2011


On 10/25/2011 12:23 PM, 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

Until recently, javac has forgotten to warn about that kind of rawtype 
(array of rawtype).
   new Class<?>[] { ... }
should solve the problem.

>
> David

Rémi




More information about the core-libs-dev mailing list