6294399: (reflect) Constructor.getName() returns fully qualified name of declaring class
Reviewed-by: alanb
--- a/jdk/src/share/classes/java/lang/reflect/Constructor.java Tue Sep 07 15:53:32 2010 -0700
+++ b/jdk/src/share/classes/java/lang/reflect/Constructor.java Wed Sep 08 17:10:04 2010 -0700
@@ -166,8 +166,7 @@
/**
* Returns the name of this constructor, as a string. This is
- * always the same as the simple name of the constructor's declaring
- * class.
+ * the binary name of the constructor's declaring class.
*/
public String getName() {
return getDeclaringClass().getName();