-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-03-31 06.55, Jochen Theodorou wrote: > Hi all, > > can someone explain me why Class#forName (actually the native method > called by it) does block the loader of the class the requested class is > defined in? Is that really needed?
I would assume that is so a class won't be loaded twice. Cheers - -- Ola Bini (http://olabini.com) Ioke - JRuby - ThoughtWorks "Yields falsehood when quined" yields falsehood when quined. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJNlHXGAAoJEClcdGmEr38MHc0QAKYg3kpQ5h6iXk/Ndt84tuwD qUDYnXxmvjXigrfxRpvc0RrcvqHHcl/ZrtUjPgBAlwkp/WYPvHvslMXv6cIqdM8S KfgVhUN5otFpg9UviLf+MPimATIsO9Ic5WZ0WpMpfIBHx9+IgVYblYajt7MAywSa 07HPA4VDGqWJB1RNaWNKBxTZpB3WziDgvXGQDEXGWCeF7y1GoWuiZwPxvvlyGcOR 0rVolyDcGdH9TyZyIIC0CIc/WfkiSZ7hJRTZDlEG+/+nS+pCn5QwM/JcezhNftb/ fnT7I7fwlKNHI3Il1R/CQXzIyGb6gamGC49W2u+7ChnCPuqQYho1xX+6f/NT2SGF jFFVIu+bSJbr7UHL7Xkv+hGb54no311HT6hbdMzX4zoaEglWK05vNEiQtkSS39rh vBrBLqUhV1Uy+hvZYAKV64CQ60irkojRJSLjl1zQdkfYuGg6r4ubaBy/apptveWs tM8jp21TP0pVDlC+y106sQ1DVSDI8ewdoeLeQuUztY2Is+cUrNEGwZpTC2tPlCt4 5Qmrv2YwsVKi1U+/enHIgyEjUxL6ImzZv0IcKzY5d1/5IelOoynCV0OOntfvmVCb S/sW2wscbQa6ENkEUFUEXP+yOUSZ9FHnSB+QfpcE/izlBPfc8y0IDPMV1gZthJWz UIGGuSkpe9xOiQEKRWab =WjDN -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.
