6294399: (reflect) Constructor.getName() returns fully qualified name of declaring class
authordarcy
Wed, 08 Sep 2010 17:10:04 -0700
changeset 6534 ad71f5af4022
parent 6533 9c96150b74d0
child 6535 77ffd0e75bfb
6294399: (reflect) Constructor.getName() returns fully qualified name of declaring class Reviewed-by: alanb
jdk/src/share/classes/java/lang/reflect/Constructor.java
--- 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();