Mercurial > hg > jdk9-shenandoah > jdk
changeset 2745:fa00d112bb00
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 | 299955417217 |
children | da7835e74005 |
files | src/share/classes/java/lang/reflect/Constructor.java |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/java/lang/reflect/Constructor.java Tue Sep 07 15:53:32 2010 -0700 +++ b/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();