commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lavandowska <>
Subject RE: [PATCH] - PropertyUtils - bug 5639
Date Fri, 04 Jan 2002 22:25:11 GMT
> >See sections 7.2 and 8.3.3, which are very explicit about indexed
> properties being backed by an array, not a List.
> >
> Understood.  Maybe we could just be pioneers here and maybe see this
> happen in an updated version of the JavaBeans spec?  I think it makes
> perfect sense myself, and if we 'innovate', maybe we can change the
> world ;-)

Keep in mind that the JavaBeans spec was written for JDK 1.1 and
predates Collections.  Also, reading the spec I noted that it says
"array" (as in generic array) and not Array (specific), but that makes
sense since java.util.Array didn't exist yet.

Finally, notice in the API doc for java.util.List it says:
"The List interface provides four methods for positional (indexed)
access to list elements. Lists (like Java arrays) are zero based."
so it clearly contains indexed properties ;-)

As Scott suggested, perhaps it's time for an update to the JavaBeans
spec (given its a few JDK's old).


Do You Yahoo!?
Send your FREE holiday greetings online!

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message