classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] [Fwd: Bug Report: rmic throws NullPointerException]


From: Julio M. Merino Vidal
Subject: [cp-patches] [Fwd: Bug Report: rmic throws NullPointerException]
Date: Wed, 18 May 2005 13:59:29 +0000

Hi all,

I sent the attached bug report to the Kaffe mailing list and I was asked
to forward it here in order to get it fixed in the real mainstream
sources.  Hope it can be fixed.

Thanks!

-- 
Julio M. Merino Vidal <address@hidden>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/
--- Begin Message --- Subject: Bug Report: rmic throws NullPointerException Date: Sun, 15 May 2005 16:14:00 +0000
Hi all,

I'm using Kaffe 1.1.5 on a Debian system running on a iBook.  First of
all, congratulations to all developers for this great implementation
(really, because Sun does not provide any binaries for Linux/powerpc).

However, I have a problem with rmic.  When I run it to parse some class
of my own, it raises a NullPointerException with no further information.
I've narrowed down the problem to rmic's Compiler.java, as it tries to
use a nonexistent package name to find Compile_* classes.

The following patch solves it for me:

--- libraries/javalib/gnu/classpath/tools/rmi/rmic/Compiler.java.orig
2005-04-06 00:06:39.000000000 +0000
+++ libraries/javalib/gnu/classpath/tools/rmi/rmic/Compiler.java
@@ -72,5 +72,6 @@ public abstract class Compiler
   protected String dest;
 
   /** Class prefix used when trying to find instance.  */
-  private static final String classPrefix =
"gnu.java.rmi.rmic.Compile_";
+  private static final String classPrefix =
+    "gnu.classpath.tools.rmi.rmic.Compile_";
 }

It'd be great if it was fixed mainstream (assuming this is the correct
patch).

Thanks!

-- 
Julio M. Merino Vidal <address@hidden>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]