public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/27294]  New: gij throws NullPointerException, when the interpreter is not enabled
@ 2006-04-24 21:26 debian-gcc at lists dot debian dot org
  2006-05-04 18:10 ` [Bug libgcj/27294] " tromey at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-04-24 21:26 UTC (permalink / raw)
  To: java-prs

gij-4.1 \
            -classpath build/bootstrap/ecj.jar:/usr/share/ant/lib/ant.jar \
            org.eclipse.jdt.internal.compiler.batch.Main \
            -bootclasspath /usr/share/java/libgcj-4.1.jar \
            build/bin

Exception in thread "main" java.lang.NullPointerException
   at java.lang.ClassLoader.defineClass (ClassLoader.java:451)
   at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:108)
   at java.net.URLClassLoader.findClass (URLClassLoader.java:1166)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:317)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:260)
   at java.lang.Class.forName (natClass.cc:88)
   at gnu.java.lang.MainThread.run (MainThread.java:95)
make: *** [build/stamp] Error 1

>>>>> "Martin" == Martin Michlmayr <tbm@cyrius.com> writes:

Hmm.  We probably ought to throw a different exception here.  Would
you mind filing a bug for this?

Martin> Exception in thread "main" java.lang.NullPointerException
Martin>    at java.lang.ClassLoader.defineClass (ClassLoader.java:451)

What this most likely means is that there is an attempt to define a
class from bytecode, and the attempt failed.

Looking at libjava/configure.host, I see that the interpreter is not
enabled for the MIPS port.  So, an exception here is to be expected.

[testing the latter, just the bug report for the NullPointerException]


-- 
           Summary: gij throws NullPointerException, when the interpreter is
                    not enabled
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27294


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-05 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-24 21:26 [Bug libgcj/27294] New: gij throws NullPointerException, when the interpreter is not enabled debian-gcc at lists dot debian dot org
2006-05-04 18:10 ` [Bug libgcj/27294] " tromey at gcc dot gnu dot org
2006-05-05 15:05 ` tromey at gcc dot gnu dot org
2006-05-05 15:06 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).