From: Ken A. <kan...@bb...> - 2004-10-22 17:55:49
|
We saw this in a 1.5 beta too. At the time, i thought it was a bug, it still may be. I think the problem is with how we fill the method table. It may take me a few days to fix it. k At 12:59 PM 10/22/2004 +0300, Tatu Tarvainen wrote: >Some Java-calls don't seem to work under JDK 1.5.0. >Using quasi-strings fails, because the StringBuffer append method fails. > >This happens with the latest jscheme jar and the CVS version. >I think the reflective access to the append method fails because in Java >5 the java.lang.StringBuffer class inherits from a new >java.lang.AbstractStringBuilder class which is not public and also >provides the append method. > >I'll look into a patch over the weekend. > >Here is a capture of the failure: >---------- clip ----------- >tadex@tatu-dt ~/import $ java -showversion -jar jscheme.jar >java version "1.5.0" >Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) >Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) > >JScheme 7.1 (10/20/04 8:50 AM) http://jscheme.sourceforge.net >> (define sb (StringBuffer.)) > >> (.append sb "text") > >In openResource(elf/basic.scm): >java.lang.OutOfMemoryError: Java heap space >** WARNING: (load) can't open "elf/basic.scm" >while backtrace loading describe: SchemeException: ERROR: undefined >variable "backtraceBody" >In openResource(elf/basic.scm): >java.lang.OutOfMemoryError: Java heap space >** WARNING: (load) can't open "elf/basic.scm" >SchemeException: ERROR: undefined variable "backtraceValueString" >Error in BacktraceException.printStackTrace: >java.lang.OutOfMemoryError: Java heap space >** WARNING: Error during load (lineno 23): jsint.BacktraceException[ > > >] >---------- clip ----------- >The errors just go on and on, until the process is killed. > >-- >Tatu Tarvainen > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Jscheme-devel mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-devel |