What is the -Xlint

  • Thread starter Steve R. Burrus
  • Start date
S

Steve R. Burrus

I would like someone/somebody please to tell me just what exactly the
"-Xlint" Java compiler switch is??? I successfully used it late last
nite to compile an "internationalization" kind of a servlet, but would
like to know what its' main function is supposed to be, and what kind of
either client-side or server-side Java programs is it designed to be a
compiler switch for!
 
J

Jim

I would like someone/somebody please to tell me just what exactly the
"-Xlint" Java compiler switch is??? I successfully used it late last
nite to compile an "internationalization" kind of a servlet, but would
like to know what its' main function is supposed to be, and what kind of
either client-side or server-side Java programs is it designed to be a
compiler switch for!

Just appears to be a way of turning on/off specified warnings.

C:\JavaSource\Java_1.5\Coin>javac -X
-Xlint Enable recommended warnings
-Xlint:{all,deprecation,unchecked,switchcheck,path,serial,finally,

-deprecation,-unchecked,-switchcheck,-path,-serial,-finally}
Enable or disable specific warnings

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,998
Latest member
MarissaEub

Latest Threads

Top