RFR(s): 8165646 (jdeprscan) adjust tool output to improve clarity

Stuart Marks stuart.marks at oracle.com
Tue Oct 25 22:19:05 UTC 2016


Hi all,

Please review this change to jdeprscan.

I've rearranged and cleaned up the output of jdeprscan so that it's a bit more 
readable (though only a bit) and to remove some checks, eliminating redundant 
output. For example, one case in the regression test output used to be

class jdk/jdeprusage/UseClass$Construct uses type 
jdk/deprcases/types/DeprecatedClass deprecated
class jdk/jdeprusage/UseClass$Construct uses method in type 
jdk/deprcases/types/DeprecatedClass deprecated

and now it is

class jdk/jdeprusage/UseClass$Construct uses deprecated class 
jdk/deprcases/types/DeprecatedClass

I also changed things to continue processing arguments if an error has occurred, 
and to support direct reading of .class files as well as loading class names 
from the class path.

Webrev:

     http://cr.openjdk.java.net/~smarks/reviews/8165646/webrev.0/

Thanks,

s'marks


More information about the compiler-dev mailing list