public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/16481] New: Wrong stack trace in conjunction with custom ClassLoaders
@ 2004-07-11 23:19 hannes at helma dot at
2004-07-11 23:21 ` [Bug libgcj/16481] " hannes at helma dot at
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hannes at helma dot at @ 2004-07-11 23:19 UTC (permalink / raw)
To: gcc-bugs
There is a problem with stack traces in conjunction with user defined
URLClassLoaders. The frames from classes loaded via that ClassLoader are missing
from the stack. This seems to happen regardless of wheather the code loading the
classes is compiled or interpreted.
One impact of this is that loaded ClassLoader fail to get a
java.util.ResourceBundle. I'm uploading a test case for this.
I encountered this on gcj 3.3.3, but it is still present in the 3.5.0 20040704
snapshot.
--
Summary: Wrong stack trace in conjunction with custom
ClassLoaders
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hannes at helma dot at
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16481
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/16481] Wrong stack trace in conjunction with custom ClassLoaders
2004-07-11 23:19 [Bug libgcj/16481] New: Wrong stack trace in conjunction with custom ClassLoaders hannes at helma dot at
@ 2004-07-11 23:21 ` hannes at helma dot at
2004-07-14 20:41 ` mckinlay at redhat dot com
2004-10-21 13:22 ` aph at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: hannes at helma dot at @ 2004-07-11 23:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hannes at helma dot at 2004-07-11 23:21 -------
Created an attachment (id=6725)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6725&action=view)
test case
Tries to load property resource bundle from loaded class.
Works with Sun Java, fails with GCJ.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16481
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/16481] Wrong stack trace in conjunction with custom ClassLoaders
2004-07-11 23:19 [Bug libgcj/16481] New: Wrong stack trace in conjunction with custom ClassLoaders hannes at helma dot at
2004-07-11 23:21 ` [Bug libgcj/16481] " hannes at helma dot at
@ 2004-07-14 20:41 ` mckinlay at redhat dot com
2004-10-21 13:22 ` aph at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: mckinlay at redhat dot com @ 2004-07-14 20:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mckinlay at redhat dot com 2004-07-14 20:41 -------
Confirmed. The stack trace failure is causing the ResourceBundle
calling-classloader check to fail, so the wrong classloader is used to load the
bundle and thus the bundle can't be found. Work is in progress to fix this.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-07-14 20:41:22
date| |
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16481
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/16481] Wrong stack trace in conjunction with custom ClassLoaders
2004-07-11 23:19 [Bug libgcj/16481] New: Wrong stack trace in conjunction with custom ClassLoaders hannes at helma dot at
2004-07-11 23:21 ` [Bug libgcj/16481] " hannes at helma dot at
2004-07-14 20:41 ` mckinlay at redhat dot com
@ 2004-10-21 13:22 ` aph at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: aph at gcc dot gnu dot org @ 2004-10-21 13:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aph at gcc dot gnu dot org 2004-10-21 13:22 -------
AFAICS it's the same bug as 18036. In any case, it now works correctly on the
trunk i686-pc-linux-gnu.
*** This bug has been marked as a duplicate of 18036 ***
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn|12740 |
Status|ASSIGNED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16481
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-21 13:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-11 23:19 [Bug libgcj/16481] New: Wrong stack trace in conjunction with custom ClassLoaders hannes at helma dot at
2004-07-11 23:21 ` [Bug libgcj/16481] " hannes at helma dot at
2004-07-14 20:41 ` mckinlay at redhat dot com
2004-10-21 13:22 ` aph 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).