The gnu/vm/stack/StackFrame class has the following bit of code:

 private StackFrame(Object obj, Method method, int lineNum, String filename) {
     this.caller = caller;
     ....
 }

Note that 'caller' is not an argument of the constructor.  So the first
statement of the constructor is effectively a no-op, equivalent to
  this.caller = this.caller

Oops!

I'm guessing 'StackFrame caller' should be an argument to the constructor.

Also, as the StackFrame is a linked list, I'm guessing the fact that
the gnu.vm.stack.StackTrace class uses an *array* of StackFrames
is a bug, or at least redundant.
 --scott

South Africa pending Mossad Philadelphia early warning assassinate 
President NRA arrangements Hager DNC chemical agent planning Indonesia 
                         ( http://cscott.net/ )



_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to