public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/35091]  New: NoClassDefFoundError in case the path contains umlauts
@ 2008-02-05 15:35 debian-gcc at lists dot debian dot org
  2008-02-05 17:09 ` [Bug libgcj/35091] " tromey at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2008-02-05 15:35 UTC (permalink / raw)
  To: java-prs

[forwarded from http://bugs.debian.org/397853]

confirmed with trunk 20080116

$ java FirstSample
Exception in thread "main" java.lang.NoClassDefFoundError: FirstSample
   at gnu.java.lang.MainThread.run(libgcj.so.70)
Caused by: java.lang.ClassNotFoundException: FirstSample not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.70)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
   at java.lang.ClassLoader.loadClass(libgcj.so.70)
   at java.lang.ClassLoader.loadClass(libgcj.so.70)
   at gnu.java.lang.MainThread.run(libgcj.so.70)

even though javac FirstSample.java worked flawlessly and the class was
definitely there. Even more so, the Sun VM was able to run the FirstSample
class.

Some investigations showed that the problem seems to be caused by a umlaut
being
contained in the directory name; if one copies the files to, e.g., /tmp/ things
work fine.


-- 
           Summary: NoClassDefFoundError in case the path contains umlauts
           Product: gcc
           Version: 4.3.0
            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=35091


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

* [Bug libgcj/35091] NoClassDefFoundError in case the path contains umlauts
  2008-02-05 15:35 [Bug libgcj/35091] New: NoClassDefFoundError in case the path contains umlauts debian-gcc at lists dot debian dot org
@ 2008-02-05 17:09 ` tromey at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at gcc dot gnu dot org @ 2008-02-05 17:09 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from tromey at gcc dot gnu dot org  2008-02-05 17:09 -------
Probably a dup of PR 9463.
What locale are you using?  How is the umlaut encoded in the directory name?


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


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


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

end of thread, other threads:[~2008-02-05 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-05 15:35 [Bug libgcj/35091] New: NoClassDefFoundError in case the path contains umlauts debian-gcc at lists dot debian dot org
2008-02-05 17:09 ` [Bug libgcj/35091] " 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).