[kaffe] Bug Report: rmic throws NullPointerException

Dalibor Topic robilad at kaffe.org
Tue May 17 17:15:21 PDT 2005


Julio M. Merino Vidal wrote:
> 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).

Thanks! Bug reports and patches are wonderful, but bug reports combined 
with patches and praise are even better ;)

> 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.

Yeah, seems like a leftover from the early days when the code was in a 
different package in gnu classpath. Sorry about it.

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

Thanks for the patch, confirmed that it works, and checked in. Could you 
send the patch to classpath-patch at gnu.org as well, as that is the 
original source of the code?

cheers,
dalibor topic




More information about the kaffe mailing list