From: Timothy J. H. <ti...@cs...> - 2004-04-20 18:08:10
|
Hi David, Does this only happen when you load in the elf/classpath.scm or does it happen more generally (e.g. for any javadot call, for any private javadot call, etc....) I haven't downloaded the preview version of Java on any of my machines yet, but I'll try to download a version over the weekend and look into the problem.... Thanks for the bug report, Sorry I have to wait a few days before tackling it..... ----Tim--- On Apr 19, 2004, at 1:01 PM, david wrote: > > I am getting errors modifying the classpath > in the new java from sun. This works fin with > the 1.4 jvm > ---------------------------------------------------------------------- > newport:~$ > newport:~$ java -jar /usr/share/davud/jscheme.jar > > JScheme 6.3 4/5/04 http://jscheme.sourceforge.net > >> (load "elf/classpath.scm") > (map (lambda (u) (addClasspathUrl u)) > '("/opt/postgresql-7.4/share/java/postgresql.jar" > "/mnt/hda3/download/napkinlaf.jar" > "/mnt/hda3/download/CLooks_120.jar")) > > > #t >> (#null #null #null) > > > ---------------------------------------------------------- > >> newport:~$ /mnt/hda1/j2sdk1.5.0/bin/java -jar >> /usr/share/davud/jscheme.jar > > JScheme 6.3 4/5/04 http://jscheme.sourceforge.net > >> (load "elf/classpath.scm") > (map (lambda (u) (addClasspathUrl u)) > '("/opt/postgresql-7.4/share/java/postgresql.jar" > "/mnt/hda3/download/napkinlaf.jar" > "/mnt/hda3/download/CLooks_120.jar")) > ** WARNING: Error during load (lineno 10): jsint.BacktraceException[ > > (.append sb (U.stringify (car args )#f )) > args = ("\nThe class loader used by Jscheme can be accessed > with\n(Import.getClassLoader) and (Import.setCl... > sb = > loop = (lambda !{}~1 (args sb)...) > args= = ("\nThe class loader used by Jscheme can be accessed > with\n(Import.getClassLoader) and (Import.setCl... > sb= = > args = ("\nThe class loader used by Jscheme can be accessed > with\n(Import.getClassLoader) and (Import.setCl... > > ==================================== > SchemeException: Bad method application from a private class: , > "(java.lang.IllegalAccessException: Class jsint.Invoke can not access > a member of class java.lang.AbstractStringBuilder with modifiers > \"public\" public java.lang.AbstractStringBuilder > java.lang.AbstractStringBuilder.append(java.lang.String) #(\nThe class > loader used by Jscheme can be accessed with\n(Import.getClassLoader) > and (Import.setClassLoader).\n\n(replaceClassLoaders) creates a new > class loader and resets Jscheme's\nint... > > (.append sb (U.stringify (car args )#f )) > args = ("\nThe class loader used by Jscheme can be accessed > with\n(Import.getClassLoader) and (Import.setCl... > sb = > loop = (lambda !{}~1 (args sb)...) > args= = ("\nThe class loader used by Jscheme can be accessed > with\n(Import.getClassLoader) and (Import.setCl... > sb= = > args = ("\nThe class loader used by Jscheme can be accessed > with\n(Import.getClassLoader) and (Import.setCl... > > ==================================== > SchemeException: Bad method application from a private class: , > "(java.lang.IllegalAccessException: Class jsint.Invoke can not access > a member of class java.lang.AbstractStringBuilder with modifiers > \"public\" public java.lang.AbstractStringBuilder > java.lang.AbstractStringBuilder.append(java.lang.String) #(\nThe class > loader used by Jscheme can be accessed with\n(Import.getClassLoader) > and (Import.setClassLoader).\n\n(replaceClassLoaders) creates a new > class loader and resets Jscheme's\ninternal caches, so that classes > can be recompiled and tested easily.\n))" > ** WARNING: Can't define-method (iterate (items Object[]) action) > classes (Object[]) do not exist. > #t >> (#null #null #null) >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Jscheme-user mailing list > Jsc...@li... > https://lists.sourceforge.net/lists/listinfo/jscheme-user |