Recompile with –Xlint:unchecked - Java

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

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.