> Is this the specified behavior that can be counted on across different > JVMs?
http://psc.informatik.uni-jena.de/languages/Java/javaspec-3.pdf Last paragraph on pg 358 of the pdf above mentions the following: Unlike C++, the Java programming language does not specify altered rules for method dispatch during the creation of a new class instance. If methods are invoked that are overridden in subclasses in the object being initialized, then these overriding methods are used, even before the new object is completely initialized. -- 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.
