JDK 9 RFR of JDK-8169479: java.lang.reflect.Constructor class has wrong api documentation (original) (raw)

joe darcy joe.darcy at oracle.com
Wed Nov 23 16:10:14 UTC 2016


Hello,

Please review the changes to address

 JDK-8169479: java.lang.reflect.Constructor class has wrong api 

documentation http://cr.openjdk.java.net/~darcy/8169479.0/

Patch inline below. There are a few issues reported in the bug:

Thanks,

-Joe

--- old/src/java.base/share/classes/java/lang/reflect/Constructor.java 2016-11-23 07:33:00.095083685 -0800 +++ new/src/java.base/share/classes/java/lang/reflect/Constructor.java 2016-11-23 07:32:59.927083679 -0800 @@ -200,7 +200,8 @@ }

  /**

@@ -321,6 +322,11 @@ * public java.util.Hashtable(int,float) * } *

@@ -357,13 +363,13 @@ * "Type...". * * A space is used to separate access modifiers from one another

--- old/src/java.base/share/classes/java/lang/reflect/Method.java 2016-11-23 07:33:00.495083699 -0800 +++ new/src/java.base/share/classes/java/lang/reflect/Method.java 2016-11-23 07:33:00.343083694 -0800 @@ -211,7 +211,8 @@ }

  /**

@@ -372,7 +373,7 @@ * the method name, followed by a parenthesized, comma-separated * list of the method's formal parameter types. If the method * throws checked exceptions, the parameter list is followed by a

@@ -428,8 +429,8 @@ * parameter list is present, a space separates the list from the * class name. If the method is declared to throw exceptions, the * parameter list is followed by a space, followed by the word



More information about the core-libs-dev mailing list