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

Florian Weimer fweimer at redhat.com
Mon Aug 26 12:51:42 UTC 2013


On 08/26/2013 02:39 PM, 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.

Perhaps use {@code length} instead of 'length'?  Technically, I don't 
think the length field exists at all.  The Java language just happens to 
use field syntax to represent the arraylength opcode.  But adding some 
clarification to the documentation certainly doesn't hurt.

-- 
Florian Weimer / Red Hat Product Security Team



More information about the core-libs-dev mailing list