DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20202>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20202 javac deprecation tag doesn't show deprecation's [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2003-09-12 09:49 ------- Deprecation warnings only show up if the class with the deprecated method is not itself being compiled. If the class is included in the file sbeing compiled, no warning is given by the javac compiler. I will attach a little example of a deprecated method call. If it is compiled in two steps, the warnign is given but if it is compiled in one go, no warning is given. The following is what happens on my system: $ ant compile2 Buildfile: build.xml compile1: [mkdir] Created dir: /home/conor/development/apache/ant-bugs/20202/classes [javac] Compiling 1 source file to /home/conor/development/apache/ant-bugs/20202/classes compile2: [javac] Compiling 1 source file to /home/conor/development/apache/ant-bugs/20202/classes [javac] /home/conor/development/apache/ant-bugs/20202/src2/Test2.java:5: warning: testDep() in Test has been deprecated [javac] instance.testDep(); [javac] ^ [javac] 1 warning BUILD SUCCESSFUL and $ ant compileAll Buildfile: build.xml compileAll: [mkdir] Created dir: /home/conor/development/apache/ant-bugs/20202/classesAll [javac] Compiling 2 source files to /home/conor/development/apache/ant-bugs/20202/classesAll BUILD SUCCESSFUL --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]