What causes javac to issue the “uses unchecked or unsafe operations” warning

For example:

javac Foo.java
Note: Foo.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

12 Answers
12

Leave a Comment