Why do we emit vtables for abstract classes?

David Daney ddaney@avtrex.com
Sun Mar 12 04:17:00 GMT 2006


I am looking at the assembly output of jc1 (recent svn trunk) and am 
wondering why there are vtables for abstract classes.

There can never be an instance of an abstract class, so we should never 
have to access its vtable.

Am I missing something, or is the vtable unneeded?

David Daney.



More information about the Java mailing list