From: Tatu T. <tat...@ma...> - 2004-10-22 09:58:14
|
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 |