bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/20508] gij prints too much information if an incorrect cl


From: gnu_andrew at member dot fsf.org
Subject: [Bug classpath/20508] gij prints too much information if an incorrect class is given
Date: Mon, 03 Oct 2016 17:15:38 +0000

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20508

Andrew John Hughes <gnu_andrew at member dot fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |ASSIGNED
            Version|4.1.0                       |unspecified
          Component|libgcj                      |classpath
                 CC|                            |gnu_andrew at member dot 
fsf.org
         Resolution|WONTFIX                     |---
            Product|gcc                         |classpath

--- Comment #4 from Andrew John Hughes <gnu_andrew at member dot fsf.org> ---
Seems to be a Classpath bug:

$ cacao Test
Exception in thread "main" java.lang.NoClassDefFoundError: Test not found in
java.lang.ClassLoader$1{urls=[file:/home/andrew/projects/classpath/tests/pr28977/./],
parent=null}
   <<No stacktrace available>>
Caused by: java.lang.ClassNotFoundException: Test not found in
java.lang.ClassLoader$1{urls=[file:/home/andrew/projects/classpath/tests/pr28977/./],
parent=null}
   at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:341)
   at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:293)

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


reply via email to

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