RFR: 5047859 : (reflect) Class.getField can't find String[].length

Joel Borggren-Franck joel.franck at oracle.com
Wed Sep 4 13:25:01 UTC 2013

Hi all,

Thanks for the comments. New webrev here:


I have also created a specdiff to make it easier to visualize the doc


I made some bigger changes this time to unify the doc of all four
get{Declared}Field{s} methods. I also try to be consistent with the
proposed doc change for getMethods and friends that I will post later

General outline of the docs is roughly:

<!-- Basic result -->
<!-- Interesting results -->
<!-- Empty results -->
<!-- Order of results -->

I also updated the test to cover all four cases.


On 2013-08-26, Joel Borggren-Franck wrote:
> Hi,
> Please review doc fix and test for http://bugs.sun.com/view_bug.do?bug_id=5047859
> http://cr.openjdk.java.net/~jfranck/5047859/webrev.00/
> This is a spec change to update the spec to match the long-standing implementation.
> There is also a clarification of getFields() javadoc without changing the
> spec.
> cheers
> /Joel

More information about the core-libs-dev mailing list