bugKawa - Bugs: bug #28957, exception in inliner

 
 

bug #28957: exception in inliner

Submitted by:  Helmut Eller <ellerh>
Submitted on:  Sun 21 Feb 2010 10:45:13 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 24 Feb 2010 09:01:59 AM UTC, comment #2:

Thanks! I just checked in a fix for this.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Sun 21 Feb 2010 10:47:31 AM UTC, comment #1:

Oops, hit return key to fast.

Evaluating

((string[]):getClass)

Results in this error:

/dev/stdin:1:1: caught exception in inliner for #<procedure gnu.kawa.functions.GetNamedPart> - java.lang.ClassCastException: gnu.bytecode.ArrayType cannot be cast to gnu.bytecode.ClassType
gnu.kawa.reflect.ClassMethods.getMethods(ClassMethods.java:123)
gnu.kawa.functions.CompileNamedPart.inlineGetNamedPart(CompileNamedPart.java:102)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
gnu.expr.InlineCalls.maybeInline(InlineCalls.java:281)
gnu.expr.QuoteExp.inline(QuoteExp.java:113)
gnu.expr.InlineCalls.walkApplyExp(InlineCalls.java:38)
gnu.expr.ApplyExp.walk(ApplyExp.java:410)
gnu.expr.ExpWalker.walk(ExpWalker.java:43)
gnu.kawa.functions.CompilationHelpers.inlineApplyToArgs(CompilationHelpers.java:53)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
gnu.expr.InlineCalls.maybeInline(InlineCalls.java:281)
gnu.expr.QuoteExp.inline(QuoteExp.java:113)
gnu.expr.ReferenceExp.inline(ReferenceExp.java:190)
gnu.expr.InlineCalls.walkApplyExp(InlineCalls.java:38)
gnu.expr.ApplyExp.walk(ApplyExp.java:410)
gnu.expr.ExpWalker.walk(ExpWalker.java:43)
gnu.expr.LambdaExp.walkChildrenOnly(LambdaExp.java:1644)
gnu.expr.LambdaExp.walkChildren(LambdaExp.java:1632)
gnu.expr.InlineCalls.walkScopeExp(InlineCalls.java:117)
gnu.expr.InlineCalls.walkLambdaExp(InlineCalls.java:185)
gnu.expr.ExpWalker.walkModuleExp(ExpWalker.java:90)
gnu.expr.ModuleExp.walk(ModuleExp.java:459)
gnu.expr.ExpWalker.walk(ExpWalker.java:43)
gnu.expr.InlineCalls.inlineCalls(InlineCalls.java:14)
gnu.expr.Compilation.walkModule(Compilation.java:934)
gnu.expr.ModuleExp.evalModule1(ModuleExp.java:211)
gnu.expr.ModuleExp.evalModule(ModuleExp.java:179)
kawa.Shell.run(Shell.java:273)
kawa.Shell.run(Shell.java:184)
kawa.Shell.run(Shell.java:165)
kawa.repl.main(repl.java:788)

Helmut Eller <ellerh>
Sun 21 Feb 2010 10:45:13 AM UTC, original submission:
Helmut Eller <ellerh>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bothner (Posted a comment)
  • -unavailable- added by ellerh (Submitted the item)
  •  

    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):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 24 Feb 2010 09:01:59 AM UTCbothnerStatusNone=>Fixed
      Assigned toNone=>bothner
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1