|
From: | Helmut Eller |
Subject: | [Bug-kawa] [bug #27019] setLength method of StringBuilder not found |
Date: | Sat, 11 Jul 2009 20:31:42 +0000 |
User-agent: | Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1 |
URL: <http://savannah.gnu.org/bugs/?27019> Summary: setLength method of StringBuilder not found Project: Kawa Submitted by: ellerh Submitted on: Sat 11 Jul 2009 08:31:40 PM GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: For some reason Kawa no longer finds the setLength method in the StringBuilder class. Compiling: (define (set-length (builder java.lang.StringBuilder) (len int)) (builder:setLength len)) prints: string-builder-set-length.scm:4:3: warning - no known slot 'setLength' in java.lang.StringBuilder Also calling it in the REPL doesn't work: #|kawa:3|# (set-length (java.lang.StringBuilder) 0) java.lang.RuntimeException: no part 'setLength' in at gnu.kawa.functions.GetNamedPart.getMemberPart(GetNamedPart.java:323) at gnu.kawa.functions.GetNamedPart.getNamedPart(GetNamedPart.java:304) at gnu.kawa.functions.GetNamedPart.apply2(GetNamedPart.java:245) at atInteractiveLevel$2.setLength(stdin:2) at atInteractiveLevel$2.apply2(stdin:1) at gnu.expr.ModuleMethod.apply2(ModuleMethod.java:195) at gnu.expr.ModuleMethod.apply(ModuleMethod.java:163) at gnu.mapping.CallContext.runUntilDone(CallContext.java:251) at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:355) at gnu.expr.ModuleExp.evalModule(ModuleExp.java:176) at kawa.Shell.run(Shell.java:273) at kawa.Shell.run(Shell.java:184) at kawa.Shell.run(Shell.java:165) at kawa.repl.main(repl.java:887) With Kawa 1.9.3 (revision 6292M) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?27019> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |