I am getting xdoclet errors in my EJB’s since going to JDK5. If I have a sequence such as:
List list = new ArrayList();
//Do some stuff
list.add(Object);
I get a warning that says Type safety references to a raw type (ArrayList) should be paramatized.
If I add the paramaters (List<object>t = new ArrayList<object>(); xdoclet complains about the < symbol.
If I add @SuppressWarnings(“unchecked”) xdoclet complians about the @ symbol.
Should I revert back to JDK1.4, or is there a workaround.
Ian