Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Compiler option to exit on warnings?

843793Apr 14 2004 — edited Apr 24 2004

There is a "-nowarn" option to instruct javac not to report warnings. However, can an option be added that would cause the compiler to treat warnings as errors?

--Kevin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2004
Added on Apr 14 2004
19 comments
192 views