[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#381022: [m68k] gij fails trivial case



forcemerge 381022 312830
tags 312830 + upstream
thanks

needs either a more complete port of libffi for m68k (support for
closures) or a bug fix in stack unwinding (I did send Wouter a URL to
a patch that might be interesting). didn't investigate further. So
maybe it's best to disable java for m68k.

  Matthias

Stephen R Marenka writes:
> Package: gij-4.1
> Version: 4.1.1-9
> Severity: important
> 
> The following configure snippet fails to execute on m68k. The m68k-
> compiled class file executes fine on ppc.
> 
> 
> /* [#]line 20340 "configure" */
> public class Test {
> public static void main (String args[]) {
>         System.exit (0);
> } }
> 
> $ gcj-wrapper-4.1 Test.java
> $ gij-wrapper-4.1 Test
> | Exception in thread "main" java.lang.NullPointerException
> |    at java.lang.ClassLoader.defineClass(libgcj.so.7)
> |    at java.security.SecureClassLoader.defineClass(libgcj.so.7)
> |    at java.net.URLClassLoader.findClass(libgcj.so.7)
> |    at java.lang.ClassLoader.loadClass(libgcj.so.7)
> |    at java.lang.ClassLoader.loadClass(libgcj.so.7)
> |    at java.lang.Class.forName(libgcj.so.7)
> |    at gnu.java.lang.MainThread.run(libgcj.so.7)
> 
> Thanks,
> 
> Stephen
> 
> -- 
> Stephen R. Marenka     If life's not fun, you're not doing it right!
> <stephen@marenka.net>



Reply to: