On Oct 18, 2011, at 5:59 AM, Brian Frank wrote: > Is this the specified behavior that can be counted on across different > JVMs?
Yes, the current behavior can be relied upon. The spec. issue was identified in 1999 when Hotspot did something different from Sun's previous VM. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4248990 Since then it's been stable behavior (probably across all JVMs) but a weak spot in the JVM spec., which JVM implementors had to "just know". Alex Buckley has been diligently tracking this and dozens of other small defects in previous versions of the spec. The results can be seen in the Java SE 7 Edition of the JVM Specification. This is in JSR 336's Final Release (Annex 3) and at http://download.oracle.com/javase/cmn/spec_index.html. It has a modest little section called "5.4.5 Method overriding", which documents the behavior you are asking about. On Oct 18, 2011, at 6:45 AM, Jeroen Frijters wrote: > I just tried googling the 3rd edition of JVM spec, but couldn't find anything > recent. See above! Let us know what you think, Jeroen. Best wishes, -- John -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com. To unsubscribe from this group, send email to jvm-languages+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.