I was using javap
to study the code produced for one of my classes and noticed the following output:
...
frame_type = 255 /* full_frame */
offset_delta = 11
locals = [ class Test, double, int, double, double, bogus, bogus, int, int, class "[D" ]
stack = []
...
What is the meaning of those "bogus" type/variable entries in the locals
table? How are they caused? What is their impact on the resulting code?
The class file was produced using the Eclipse 3.7 compiler and javap
came from OpenJDK-1.6b22.
I came upon this little gem while going over the Javassist documentation:
I presume that this ambiguity is what causes the "bogus" entries in the
locals
table as well...