|
From: Timothy J. H. <ti...@cs...> - 2008-06-16 21:02:48
|
Thanks for the fix. I've committed it in CVS and it will appear in the
next release
and will be available tomorrow under anonymous CVS checkout ...
---Tim---
On Jun 16, 2008, at 4:29 PM, Michael Thome wrote:
> Java 6 introduced a regression in the syntax allowed by
> ClassLoader.loadClass, no longer accepting Array syntax. This
> breaks all uses of jscheme methods defined using Foo[] syntax.
>
> Here's a patch for jscheme 7.2:
> --- src/jsint/Import.java.orig 2008-06-16 16:15:56.000000000 -0400
> +++ src/jsint/Import.java 2008-06-16 16:16:26.000000000 -0400
> @@ -173,7 +173,7 @@
> try { return Class.forName(name);}
> catch (ClassNotFoundException e) { return null;}
> else
> - try { return loader.loadClass(name); }
> + try { return Class.forName(name, false, loader); }
> catch (ClassNotFoundException e) { return null; }
> // KRA 28JUN00: Renu found this!
> catch (NoClassDefFoundError e) { return null; }
>
> --
> Michael Thome
> BBN Technologies 10 Moulton St, Cambridge MA 02138 USA
> phone: +1 617 873 1853
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php_______________________________________________
> Jscheme-user mailing list
> Jsc...@li...
> https://lists.sourceforge.net/lists/listinfo/jscheme-user
|