Name: dbT83986 Date: 03/02/99
javac -deprecation doesn't print a warning of a usage in file A.java of a deprecated method in B.java if B.java is being
compiled at the same time as A.java. This is not an unreasonable idea, but it turns out that in the case I am using to be
exactly incorrect. I DO want to see these warnings. I can break down the compile into file-by-file, but this takes a while
to execute. How about a -reallyShowMeAllDeprecationWarnings option?
(Review ID: 49011)
======================================================================
Name: yyT116575 Date: 07/18/2001
java version "1.2.2"
Classic VM (build Linux_JDK_1.2.2_FCS, native threads, sunwjit)
I'd like to see deprection warnings even if I compile the complete the
deprecated code fragment and its user at the same time.
For correct static analysis of a project it is not enough to create the class
file if the .java file has changed. Dependency are much more complex. To be sure that everything is statically correct I'd like to compile the complete
project and get every warning I can get.
If parts of my project are deprecated I'd like to get warnings from the compiler about which other parts I'll have to change.
(Review ID: 128335)
======================================================================
- duplicates
-
JDK-4728434 Deprecated warnings are not given if the class containing the tag is compiled at
-
- Closed
-
-
JDK-4233889 Would like deprecation warnings for files in current compilation
-
- Closed
-