Recompile with –Xlint:unchecked - Java
Submitted by benjy on Wednesday, June 24, 2009 - 02:49.
I was recently working on a Java project for TAFE and I started getting these two warnings,
- Note: Some input files use unchecked or unsafe operations
- Note: Recompile with –Xlint:unchecked for details
So I did just that as shown below:
Javac *.java –d . -Xlint:unchecked