bugKawa - Bugs: bug #4570, trace broken

 
 

bug #4570: trace broken

Submitter:  Chris Dean <ctdean>
Submitted:  Fri 01 Aug 2003 05:57:35 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Aug 2003 05:37:53 AM UTC, comment #1: 

I checked in the attached patch.

Per Bothner <bothner>
Group administrator
Fri 01 Aug 2003 05:57:35 AM UTC, original submission:  

trace seems broken in the latest CVS kawa:


#|kawa:1|# (define (factorial n) (if (= n 0) 1 (* n (factorial (- n 1)))))
#|kawa:2|# (trace factorial)
java.lang.ExceptionInInitializerError
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at gnu.expr.PrimProcedure.applyV(PrimProcedure.java:151)
at gnu.mapping.MethodProc.applyN(MethodProc.java:124)
at gnu.kawa.reflect.Invoke.applyN(Invoke.java:157)
at gnu.kawa.reflect.Invoke.applyN(Invoke.java:51)
at gnu.expr.ApplyExp.eval(ApplyExp.java:50)
at gnu.expr.SetExp.eval(SetExp.java:94)
at gnu.expr.Expression.eval(Expression.java:21)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:160)
at kawa.Shell.run(Shell.java:232)
at kawa.Shell.run(Shell.java:180)
at kawa.Shell.run(Shell.java:167)
at kawa.repl.processArgs(repl.java:332)
at kawa.repl.main(repl.java:593)
Caused by: java.lang.ClassCastException
at gnu.mapping.Symbol.make(Symbol.java:37)
at kawa.standard.TracedProcedure.<clinit>(TracedProcedure.java:14)
... 17 more

Chris Dean <ctdean>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #582:  Traced.patch added by bothner (843B - application/octet-stream - Patch)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2003-08-07 bothner Open/ClosedOpen None

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code