changeset 6534:ad71f5af4022

6294399: (reflect) Constructor.getName() returns fully qualified name of declaring class Reviewed-by: alanb
author darcy
date Wed, 08 Sep 2010 17:10:04 -0700
parents 9c96150b74d0
children 77ffd0e75bfb
files jdk/src/share/classes/java/lang/reflect/Constructor.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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();