This is not an error; it's a warning message.
Your program would run as you wrote it.
The reason why the compiler is giving you this warning is because you have used a deprecated function call.
By "recompile with -Xlint", the compiler means to inform you that you need to recompile your program like this:
javac -Xlint abc.java
If you do so, the compiler will tell you which methods are deprecated so you can remove your calls to them. (If some method is deprecated, it usually means that a better implementation is available and that you should use that instead of the deprecated method.)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…