When downcasting, Subclass = Superclass, what are the many steps occuring behind the scenes within the JVM ? There is some overhead involved in this action that is best avoided, but I can't find any specific doc on what exactly is happening in the JVM. I don't need the opcodes, although that would be appreciated, but I do want to know each step that would represented by an opcode.
Marilyn de Queiroz
Sheriff
Joined: Jul 22, 2000
Posts: 9033
10
posted
0
You can get the op codes (or at least the byte codes) by using javap -c YourClass. [This message has been edited by Marilyn deQueiroz (edited November 02, 2001).]
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt