libgcj/2737: User-defined thrown exception is not found

Tom Tromey tromey@redhat.com
Wed Jun 20 10:01:00 GMT 2001


>>>>> "Jeff" == jddahl  <jddahl@micron.com> writes:

Jeff> I'm -I'ing the current directory which contains the exception.
Jeff> Why is class 'InitializationException' not found in 'throws'?
Jeff> InitializationException is in the same directory, not in
Jeff> 'throws'?  Obviously I'm missing something.  Thanks for your
Jeff> help.

Like I said in my reply, I tried several things to reproduce the bug.
In order to continue on, I'll need more information from you.

For instance, if you have a small, self-contained example that I could
download and then try here, that would be really helpful, especially
if it came with some instructions on how to reproduce the problem.

Hmm, you are doing this:

    /usr/usr3/jddahl/jcc/bin/gcj --encoding=UTF-8
    -I/u/jddahl/java/objects_solaris/test/core -MD -o
    /u/jddahl/java/objects_solaris/test/core/LotNumber.o
    /u/jddahl/java/sources/test/core/LotNumber.java

I think your `-I' is wrong.  You are pointing it at yur object
directory.  It ought to point to your source directory instead.

Could you verify this theory?

Tom



More information about the Gcc-bugs mailing list