From: Rich B. <Ric...@Su...> - 2004-08-13 16:53:47
|
Hi all, I've just joined the list and am starting to use DrJava. I'm running: % java -jar drjava-20040707-2332.jar on a Solaris machine using JDK 1.5 (beta2). I'm trying to compile a project where there are lots of Lists that aren't been initialised with a generic type (eventually I want to still be able to compile this on earlier versions of the JDK). At compile time, DrJava is flagging these as errors: 210 errors found: File: /spare/richb/jaccesshelper/src/jaccesshelper/main/AbstractAccessTest.java [line: 588] Warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.List ... even though it's calling them Warnings. I've tried adding: show.unchecked.warnings = false to my ~/.drjava configuration file and rebuilding the project, but these errors still persist. What am I missing? Am I going to have to initialize these lists with the appropriate generic type in order to get DrJava to compile them correctly (even though they should just be warnings)? Are pointers on how to solve this would be very much appreciated. Thanks. -- Rich Burridge Email: ric...@Su... Sun Microsystems Inc. (MPK14-260), Phone: +1.650.786.5188 4150 Network Circle, AIM/YAHOO: RicBurridge Santa Clara, CA 95054 Blog: http://blogs.sun.com/richb |