public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/28380] New: ICE compiling class implementing nested interface from class compiled from jar
@ 2006-07-14 11:46 bim2006 at basistech dot com
2006-07-14 11:48 ` [Bug java/28380] " bim2006 at basistech dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bim2006 at basistech dot com @ 2006-07-14 11:46 UTC (permalink / raw)
To: java-prs
A class compiled with the IBM Java 1.4.2 JDK defines a nested interface.
I use gcj 4.1.1 to compile the using class and the jar containing the class
containing the nested interface, and I receive, in return, a segv inside the
compiler.
I will post the complete repro materials.
make[1]: Leaving directory `/home/benson/rlp50/java_batch_ne/gcj_testcase/o'
(eval `/openpkg/etc/rc --eval all env`; gcj -fjni -findirect-dispatch
--main=User User.java o/outer.jar)
o/Outer.java: In class 'o.Outer':
o/Outer.java: In constructor '()':
o/Outer.java:14: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
--
Summary: ICE compiling class implementing nested interface from
class compiled from jar
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bim2006 at basistech dot com
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=28380
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/28380] ICE compiling class implementing nested interface from class compiled from jar
2006-07-14 11:46 [Bug java/28380] New: ICE compiling class implementing nested interface from class compiled from jar bim2006 at basistech dot com
@ 2006-07-14 11:48 ` bim2006 at basistech dot com
2006-07-14 11:58 ` bim2006 at basistech dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bim2006 at basistech dot com @ 2006-07-14 11:48 UTC (permalink / raw)
To: java-prs
------- Comment #1 from bim2006 at basistech dot com 2006-07-14 11:48 -------
Created an attachment (id=11889)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11889&action=view)
Source for test case
This tarball contains a compiled version of the 'compiled by IBM' part of the
problem, as well as a Makefile to recompile it. In the outer Makefile, you will
want to neutralize the 'OPENPKG' macro before running it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28380
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/28380] ICE compiling class implementing nested interface from class compiled from jar
2006-07-14 11:46 [Bug java/28380] New: ICE compiling class implementing nested interface from class compiled from jar bim2006 at basistech dot com
2006-07-14 11:48 ` [Bug java/28380] " bim2006 at basistech dot com
@ 2006-07-14 11:58 ` bim2006 at basistech dot com
2006-08-07 16:38 ` tromey at gcc dot gnu dot org
2007-01-09 20:54 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: bim2006 at basistech dot com @ 2006-07-14 11:58 UTC (permalink / raw)
To: java-prs
------- Comment #2 from bim2006 at basistech dot com 2006-07-14 11:58 -------
In the real code where I encountered this originally, the ICE was reported on
the class that tried to implement the nested interface. When I boiled down the
test case to what I've posted, the ICE moved to the constructor of the class
that contains the nested interface. Of course, I can't tell if that means that
I'm reporting the same bug as the one I originally fell over, or a different
one. I wouldn't mind posting the rather large JAR file containing the real
version of the nested interface if someone wants it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28380
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/28380] ICE compiling class implementing nested interface from class compiled from jar
2006-07-14 11:46 [Bug java/28380] New: ICE compiling class implementing nested interface from class compiled from jar bim2006 at basistech dot com
2006-07-14 11:48 ` [Bug java/28380] " bim2006 at basistech dot com
2006-07-14 11:58 ` bim2006 at basistech dot com
@ 2006-08-07 16:38 ` tromey at gcc dot gnu dot org
2007-01-09 20:54 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-08-07 16:38 UTC (permalink / raw)
To: java-prs
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |28067
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-08-07 16:38:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28380
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/28380] ICE compiling class implementing nested interface from class compiled from jar
2006-07-14 11:46 [Bug java/28380] New: ICE compiling class implementing nested interface from class compiled from jar bim2006 at basistech dot com
` (2 preceding siblings ...)
2006-08-07 16:38 ` tromey at gcc dot gnu dot org
@ 2007-01-09 20:54 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-09 20:54 UTC (permalink / raw)
To: java-prs
------- Comment #3 from tromey at gcc dot gnu dot org 2007-01-09 20:48 -------
All gcj front end bugs have been fixed by the gcj-eclipse branch merge.
I'm mass-closing the affected PRs.
If you believe one of these was closed in error, please reopen it
with a note explaining why.
Thanks.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28380
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-09 20:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-14 11:46 [Bug java/28380] New: ICE compiling class implementing nested interface from class compiled from jar bim2006 at basistech dot com
2006-07-14 11:48 ` [Bug java/28380] " bim2006 at basistech dot com
2006-07-14 11:58 ` bim2006 at basistech dot com
2006-08-07 16:38 ` tromey at gcc dot gnu dot org
2007-01-09 20:54 ` 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).