outstanding non-critical Java compiler warnings
Java 8 compiler warnings
- Usage of raw type (no type arguments) (e.g. Collections)
- Unchecked generic type operation (raw type used where typed is required)
- Unused private member (methods and variables)
- Unused import
- Serializable class without serialVersionUID
- Non-static access to static member (e.g. DataTableRow.DATA_CLASSES should replace this.DATA_CLASSES)
Java 9+ compiler warnings
- new URL(X) deprecated, replace with new URI(X).toURL()
- java.awt.Event, java.awt.event.MouseEvent - MASK constants deprecated
- java.awt.event.InputEvent#getModifiers -> getModifiersEx
- java.awt.Toolkit#getMenuShortcutKeyMask -> getMenuShortcutKeyMaskEx
- java.util.Observer interface and related methods (e.g. addObserver) deprecated
- java.lang.Runtime#exec(String) -> exec(String[])
Edited by Kevin Frechette