arrays -vs- reflection

Tom Tromey tromey@redhat.com
Sun Jan 14 16:45:00 GMT 2001


About the recent discussion of arrays and their reflection data: an
array can't have the same method data as Object. That's because an
array's clone() method is public while Object.clone() is protected.
The fact that we need this is disguised by PR 1261 (which I was
working on today).
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /