Spec update for Class#getDeclaredMethods() (original) (raw)

Florian Weimer fweimer at bfk.de
Thu Jul 16 13:22:48 UTC 2009


The proposed change could be made, but it is not just a spec change. All JVMs that don't currently conform to the spec would need to change, as Rémi Forax notes, and that includes the JDK and its derivatives. I'm not a HotSpot expert but my guess is that there's some pretty sensitive code involved that the HotSpot team might be reluctant to go poking around in.

hmpf There's some code out there which relies on source code order of members (it's not just Preon). Hotspot appears close enough to guaranteeing it that programmers make this assumption.

-- Florian Weimer <fweimer at bfk.de> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99



More information about the core-libs-dev mailing list