[first i am not sure whether i should post it here or in the issues
mailing list OR a file a bug]
I used the 2.0EA xjc to compile my very simple XSD and then did javac,
------------------------------------------------------------------------------------------------------------------------------------------
C:\projects\Sonoa-Systems\Product\Sun\JAXB\Test\greeting\generated>javac
ObjectFactory.java -Xlint:unchecked
ObjectFactory.java:49: warning: [unchecked] unchecked conversion
found : java.lang.Class
required: java.lang.Class<java.lang.String>
return new JAXBElement<String>(_GREETING_QNAME, ((Class)
String.class), null, value);
^
1 warning
---------------------------------------------------------------------------------------------------------------------------------------------
This needs to be fixed in the code generator class.
Uday.
--
*****************************************************************
Uday Subbarayan
I don't blog but e-write: http://uds-web.blogspot.com
*****************************************************************