Hi,
I am using JAXB for parsing XML file with java 1.5. I get a list of warnings about unchecked calls in the generated classes. One such warning is following.
--------------------------------------------------
jaxb/ObjectFactory.java:65: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.HashMap
defaultImplementations.put("jaxb.Root", "jaxb.impl.RootImpl");
--------------------------------------------
I understand these may be due to the use of generics in java 1.5.
Is any recent version of fully compatible with java 1.5? If not, is it going to be?
I could always switch off the warning by removing "-Xlint:unchecked" from the compilation command.
But I am wondering if there is a neat way to generate classes such that there are no warnings. Could somebody send any pointers or any info in this regard.
Thanks
Seth
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th