javac -Xlint Test.java

Why are you running it with that the Xlint argument? I'm asking this not because its bad, but because you don't understand what it does.
-Xlint argument enforces stricter...