public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/26103] New: Wrong exception thrown
@ 2006-02-05 13:12 konqueror at gmx dot de
2006-02-05 13:14 ` [Bug libgcj/26103] " konqueror at gmx dot de
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: konqueror at gmx dot de @ 2006-02-05 13:12 UTC (permalink / raw)
To: java-prs
When running the attached testcase gcj 4.1 throws a
StringIndexOutOfBoundsException instead of ClassNotFoundException. GNU
classpath 0.20 is not affected as jamvm 1.4.2 and cacao 0.94 and kaffe 1.1.7rc1
throw the correct exception.
--
Summary: Wrong exception thrown
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: konqueror at gmx dot de
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26103
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/26103] Wrong exception thrown
2006-02-05 13:12 [Bug libgcj/26103] New: Wrong exception thrown konqueror at gmx dot de
@ 2006-02-05 13:14 ` konqueror at gmx dot de
2006-02-05 14:44 ` mark at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: konqueror at gmx dot de @ 2006-02-05 13:14 UTC (permalink / raw)
To: java-prs
------- Comment #1 from konqueror at gmx dot de 2006-02-05 13:14 -------
Created an attachment (id=10781)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10781&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26103
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/26103] Wrong exception thrown
2006-02-05 13:12 [Bug libgcj/26103] New: Wrong exception thrown konqueror at gmx dot de
2006-02-05 13:14 ` [Bug libgcj/26103] " konqueror at gmx dot de
@ 2006-02-05 14:44 ` mark at gcc dot gnu dot org
2006-03-07 18:52 ` tromey at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mark at gcc dot gnu dot org @ 2006-02-05 14:44 UTC (permalink / raw)
To: java-prs
------- Comment #2 from mark at gcc dot gnu dot org 2006-02-05 14:44 -------
I added a mauve test for this and some other cases. gcj fails a couple of them
because it tries to handle array classes specially through loadClassFromSig().
See gnu.testlet.java.lang.ClassLoader.loadClass in Mauve.
--
mark at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-02-05 14:44:32
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26103
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/26103] Wrong exception thrown
2006-02-05 13:12 [Bug libgcj/26103] New: Wrong exception thrown konqueror at gmx dot de
2006-02-05 13:14 ` [Bug libgcj/26103] " konqueror at gmx dot de
2006-02-05 14:44 ` mark at gcc dot gnu dot org
@ 2006-03-07 18:52 ` tromey at gcc dot gnu dot org
2006-03-07 21:34 ` tromey at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-03-07 18:52 UTC (permalink / raw)
To: java-prs
------- Comment #3 from tromey at gcc dot gnu dot org 2006-03-07 18:52 -------
Testing a patch.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-02-05 14:44:32 |2006-03-07 18:52:05
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26103
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/26103] Wrong exception thrown
2006-02-05 13:12 [Bug libgcj/26103] New: Wrong exception thrown konqueror at gmx dot de
` (2 preceding siblings ...)
2006-03-07 18:52 ` tromey at gcc dot gnu dot org
@ 2006-03-07 21:34 ` tromey at gcc dot gnu dot org
2006-03-07 21:39 ` tromey at gcc dot gnu dot org
2006-03-07 21:41 ` tromey at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-03-07 21:34 UTC (permalink / raw)
To: java-prs
------- Comment #4 from tromey at gcc dot gnu dot org 2006-03-07 21:34 -------
Subject: Bug 26103
Author: tromey
Date: Tue Mar 7 21:34:46 2006
New Revision: 111819
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111819
Log:
PR libgcj/26103:
* java/lang/ClassLoader.java (loadClass): Don't throw
StringIndexOutOfBoundsException if name is empty.
* java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
if class not found.
Modified:
branches/gcc-4_1-branch/libjava/ChangeLog
branches/gcc-4_1-branch/libjava/java/lang/ClassLoader.java
branches/gcc-4_1-branch/libjava/java/lang/natClassLoader.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26103
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/26103] Wrong exception thrown
2006-02-05 13:12 [Bug libgcj/26103] New: Wrong exception thrown konqueror at gmx dot de
` (3 preceding siblings ...)
2006-03-07 21:34 ` tromey at gcc dot gnu dot org
@ 2006-03-07 21:39 ` tromey at gcc dot gnu dot org
2006-03-07 21:41 ` tromey at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-03-07 21:39 UTC (permalink / raw)
To: java-prs
------- Comment #5 from tromey at gcc dot gnu dot org 2006-03-07 21:39 -------
Subject: Bug 26103
Author: tromey
Date: Tue Mar 7 21:39:44 2006
New Revision: 111820
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111820
Log:
PR libgcj/26103:
* java/lang/ClassLoader.java (loadClass): Don't throw
StringIndexOutOfBoundsException if name is empty.
* java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
if class not found.
Modified:
trunk/libjava/ChangeLog
trunk/libjava/java/lang/ClassLoader.java
trunk/libjava/java/lang/natClassLoader.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26103
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcj/26103] Wrong exception thrown
2006-02-05 13:12 [Bug libgcj/26103] New: Wrong exception thrown konqueror at gmx dot de
` (4 preceding siblings ...)
2006-03-07 21:39 ` tromey at gcc dot gnu dot org
@ 2006-03-07 21:41 ` tromey at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-03-07 21:41 UTC (permalink / raw)
To: java-prs
------- Comment #6 from tromey at gcc dot gnu dot org 2006-03-07 21:41 -------
Fix checked in.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26103
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-03-07 21:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-05 13:12 [Bug libgcj/26103] New: Wrong exception thrown konqueror at gmx dot de
2006-02-05 13:14 ` [Bug libgcj/26103] " konqueror at gmx dot de
2006-02-05 14:44 ` mark at gcc dot gnu dot org
2006-03-07 18:52 ` tromey at gcc dot gnu dot org
2006-03-07 21:34 ` tromey at gcc dot gnu dot org
2006-03-07 21:39 ` tromey at gcc dot gnu dot org
2006-03-07 21:41 ` 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).