In JDK 8 there is generic JList<> with generic ListModel<>. When I write usual (e.g. for JDK6) code such like "actionsList.setModel(new DefaultEventListModel<Action>(actionsClone));" Java 8 shows warning: "Warning:(128, 33) java: unchecked call to setModel(javax.swing.ListModel<E>) as a member of the raw type javax.swing.JList". And if I change raw JList to generic JList<> from some type, warning changes to: "Warning:(371, 30) java: unchecked method invocation: method setModel in class javax.swing.JList is applied to given types
found: ca.odell.glazedlists.swing.DefaultEventListModel<T>" because of DefaultEventListModel implements raw ListModel.
The fix shouldnt be very tough...
This message was sent by Atlassian JIRA