http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2665
*** shadow/2665 Wed Jul 18 04:45:14 2001 --- shadow/2665.tmp.7520 Wed Jul 18 05:24:45 2001 *************** *** 2,9 **** | Deprecation warnings are swallowed | +----------------------------------------------------------------------------+ | Bug #: 2665 Product: Ant | ! | Status: NEW Version: 1.3 | ! | Resolution: Platform: PC | | Severity: Major OS/Version: Linux | | Priority: Other Component: Core tasks | +----------------------------------------------------------------------------+ --- 2,9 ---- | Deprecation warnings are swallowed | +----------------------------------------------------------------------------+ | Bug #: 2665 Product: Ant | ! | Status: RESOLVED Version: 1.3 | ! | Resolution: INVALID Platform: PC | | Severity: Major OS/Version: Linux | | Priority: Other Component: Core tasks | +----------------------------------------------------------------------------+ *************** *** 25,28 **** We use jdk 1.3 for this. ------- Additional Comments From [EMAIL PROTECTED] 2001-07-18 04:45 ------- ! Can you provide a test case at all? --- 25,41 ---- We use jdk 1.3 for this. ------- Additional Comments From [EMAIL PROTECTED] 2001-07-18 04:45 ------- ! Can you provide a test case at all? ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-07-18 05:24 ------- ! I did some more testing and documentation reading and found that its not a bug ! but a feature. javac itself does not issue any warnings when you compile a ! deprecated code fragment together with its user. From ! http://java.sun.com/products/jdk/1.1/docs/guide/misc/deprecation/deprecation.html: ! ! Note: A deprecation warning is suppressed if the compilation unit containing the ! deprecation is being compiled at the same time as the compilation unit using the ! deprecated class or member. This allows legacy APIs to be built without ! warnings. There currently is no other way to suppress the deprecation warnings. ! ! :-(
