--- old/src/share/classes/java/lang/reflect/Parameter.java 2013-04-22 11:21:24.423582527 -0400 +++ new/src/share/classes/java/lang/reflect/Parameter.java 2013-04-22 11:21:24.035557436 -0400 @@ -148,11 +148,10 @@ } /** - * Returns the name of the parameter. The names of the parameters - * of a single executable must all the be distinct. When names - * from the originating source are available, they are returned. - * Otherwise, an implementation of this method is free to create a - * name of this parameter, subject to the unquiness requirments. + * Returns the name of the parameter. If the parameter's name is + * defined in a class file, then that name will be returned by + * this method. Otherwise, this method will synthesize a name of + * the form argN, where N is the index of the parameter.. */ public String getName() { // As per the spec, if a parameter has no name, return argX, @@ -311,6 +310,6 @@ declaredAnnotations.put(ann[i].annotationType(), ann[i]); } return declaredAnnotations; - } + } }