JDK 9 RFR(m): JDK-8168444: (jdeprscan) improper handling of primitives and primitive array types

Stuart Marks stuart.marks at oracle.com
Fri Apr 21 22:45:09 UTC 2017


Hi all,

Please review this fix to jdeprscan so that it handles primitive types and 
primitive array types properly. In the absence of this fix, jdeprscan botches 
this, resulting in potentially lots of error messages of the form

	error: cannot find class [D

when it attempts to resolve the "class name" for double[]. (Similar phenomena 
occur for other primitive array types.)

It can be quite disruptive to have these errors in the output, as they often 
overwhelm the legitimate output.

Bug:
	https://bugs.openjdk.java.net/browse/JDK-8168444

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

Thanks,

s'marks


More information about the compiler-dev mailing list