bugKawa - Bugs: bug #4570, trace broken

 
 

bug #4570: trace broken

Submitted by:  Chris Dean <ctdean>
Submitted on:  Fri 01 Aug 2003 05:57:35 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

I checked in the attached patch.

Per Bothner <bothner>
Project 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 File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Thu 07 Aug 2003 05:37:53 AM UTCbothnerOpen/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1