public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/14572] System ClassLoader is not set according to java.system.class.loader property
       [not found] <bug-14572-8135@http.gcc.gnu.org/bugzilla/>
@ 2006-01-12  0:09 ` tromey at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-01-12  0:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tromey at gcc dot gnu dot org  2006-01-11 19:46 -------
This was fixed sometime during the 4.0 cycle.
Tested on my x86 FC4 box with:

opsy. gij --version
java version "1.4.2"
gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5)


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.1


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


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

* [Bug libgcj/14572] System ClassLoader is not set according to java.system.class.loader property
  2004-03-14 16:02 [Bug libgcj/14572] New: System ClassLoader is not set to java.system.class.loader karme at berlios dot de
                   ` (2 preceding siblings ...)
  2004-03-14 19:32 ` pinskia at gcc dot gnu dot org
@ 2005-06-15 20:48 ` tromey at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-06-15 20:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tromey at gcc dot gnu dot org  2005-06-15 20:48 -------
The bug here is that our built-in system class loader is not
initialized when the user-specified system class loader is looked for.
So, the class path is not searched and the class is not found.

Fixing this is mildly tricky as startup and initialization order are
already very messy.


-- 


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


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

* [Bug libgcj/14572] System ClassLoader is not set according to java.system.class.loader property
  2004-03-14 16:02 [Bug libgcj/14572] New: System ClassLoader is not set to java.system.class.loader karme at berlios dot de
  2004-03-14 16:03 ` [Bug libgcj/14572] System ClassLoader is not set according to java.system.class.loader property karme at berlios dot de
  2004-03-14 16:08 ` karme at berlios dot de
@ 2004-03-14 19:32 ` pinskia at gcc dot gnu dot org
  2005-06-15 20:48 ` tromey at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-14 19:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-14 19:32 -------
Confirmed, still happens.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-03-14 19:32:46
               date|                            |
            Version|unknown                     |3.3.3


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


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

* [Bug libgcj/14572] System ClassLoader is not set according to java.system.class.loader property
  2004-03-14 16:02 [Bug libgcj/14572] New: System ClassLoader is not set to java.system.class.loader karme at berlios dot de
  2004-03-14 16:03 ` [Bug libgcj/14572] System ClassLoader is not set according to java.system.class.loader property karme at berlios dot de
@ 2004-03-14 16:08 ` karme at berlios dot de
  2004-03-14 19:32 ` pinskia at gcc dot gnu dot org
  2005-06-15 20:48 ` tromey at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: karme at berlios dot de @ 2004-03-14 16:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From karme at berlios dot de  2004-03-14 16:08 -------
Created an attachment (id=5913)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5913&action=view)
my test

output:
gij output
Exception in thread "main" java.lang.ClassNotFoundException: Foo not found in
[file:./, core:/]
   at java.net.URLClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.4.0.0)
   at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.4.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
(/usr/lib/libgcj.so.4.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String)
(/usr/lib/libgcj.so.4.0.0)
   at bug.main(java.lang.String[]) (Unknown Source)
sun java
MyClassLoader.java: cons
MyClassLoader.java: findClass(Foo)
MyClassLoader.java: get resource: "Foo"
Define class "Foo"from 150 bytes bytecode
Foo
MyClassLoader


-- 


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


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

* [Bug libgcj/14572] System ClassLoader is not set according to java.system.class.loader property
  2004-03-14 16:02 [Bug libgcj/14572] New: System ClassLoader is not set to java.system.class.loader karme at berlios dot de
@ 2004-03-14 16:03 ` karme at berlios dot de
  2004-03-14 16:08 ` karme at berlios dot de
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: karme at berlios dot de @ 2004-03-14 16:03 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|System ClassLoader is not   |System ClassLoader is not
                   |set to                      |set according to
                   |java.system.class.loader    |java.system.class.loader
                   |                            |property


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


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

end of thread, other threads:[~2006-01-12  0:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-14572-8135@http.gcc.gnu.org/bugzilla/>
2006-01-12  0:09 ` [Bug libgcj/14572] System ClassLoader is not set according to java.system.class.loader property tromey at gcc dot gnu dot org
2004-03-14 16:02 [Bug libgcj/14572] New: System ClassLoader is not set to java.system.class.loader karme at berlios dot de
2004-03-14 16:03 ` [Bug libgcj/14572] System ClassLoader is not set according to java.system.class.loader property karme at berlios dot de
2004-03-14 16:08 ` karme at berlios dot de
2004-03-14 19:32 ` pinskia at gcc dot gnu dot org
2005-06-15 20:48 ` 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).