public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/21245] New: gcjh creates invalid/empty header files
@ 2005-04-27 7:13 konqueror at gmx dot de
2005-04-27 7:18 ` [Bug java/21245] " konqueror at gmx dot de
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: konqueror at gmx dot de @ 2005-04-27 7:13 UTC (permalink / raw)
To: java-prs
While trying to adapt a patch from GNU classpath to libgcj I found that gcjh
was failing to build a CNI header from a class file. I accidently deleted my
terminal and lost the command output. So I tried again and the bug seemed to
have vanished. After some investigation I found the following:
gcjh prints this error "gcjh: static field has same name as method" (see
attached testcase) and produces a header file which looks okay. This file
contains buggy C++ code because it contains a static variable and a static
method with the same name. Make then saw the buggy header file and saw its
done, do the next step.
gcjh should bail out for real and not generate a buggy output file.
--
Summary: gcjh creates invalid/empty header files
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: konqueror at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
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=21245
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/21245] gcjh creates invalid/empty header files
2005-04-27 7:13 [Bug java/21245] New: gcjh creates invalid/empty header files konqueror at gmx dot de
@ 2005-04-27 7:18 ` konqueror at gmx dot de
2005-04-27 14:18 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: konqueror at gmx dot de @ 2005-04-27 7:18 UTC (permalink / raw)
To: java-prs
------- Additional Comments From konqueror at gmx dot de 2005-04-27 07:17 -------
Created an attachment (id=8749)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8749&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21245
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/21245] gcjh creates invalid/empty header files
2005-04-27 7:13 [Bug java/21245] New: gcjh creates invalid/empty header files konqueror at gmx dot de
2005-04-27 7:18 ` [Bug java/21245] " konqueror at gmx dot de
@ 2005-04-27 14:18 ` pinskia at gcc dot gnu dot org
2005-05-03 20:51 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-27 14:18 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-27 14:18 -------
Confirmed, I thought I saw something about this before, maybe it was on IRC or on the mailing lists.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-04-27 14:18:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21245
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/21245] gcjh creates invalid/empty header files
2005-04-27 7:13 [Bug java/21245] New: gcjh creates invalid/empty header files konqueror at gmx dot de
2005-04-27 7:18 ` [Bug java/21245] " konqueror at gmx dot de
2005-04-27 14:18 ` pinskia at gcc dot gnu dot org
@ 2005-05-03 20:51 ` cvs-commit at gcc dot gnu dot org
2005-05-03 20:56 ` tromey at gcc dot gnu dot org
2005-05-03 21:57 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-03 20:51 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-03 20:51 -------
Subject: Bug 21245
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tromey@gcc.gnu.org 2005-05-03 20:51:32
Modified files:
gcc/java : ChangeLog gjavah.c
Log message:
PR java/21245:
* gjavah.c (main): Unlink output file on error.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1605&r2=1.1606
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/gjavah.c.diff?cvsroot=gcc&r1=1.130&r2=1.131
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21245
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/21245] gcjh creates invalid/empty header files
2005-04-27 7:13 [Bug java/21245] New: gcjh creates invalid/empty header files konqueror at gmx dot de
` (2 preceding siblings ...)
2005-05-03 20:51 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-03 20:56 ` tromey at gcc dot gnu dot org
2005-05-03 21:57 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-05-03 20:56 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2005-05-03 20:55 -------
I checked in a fix for this.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21245
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/21245] gcjh creates invalid/empty header files
2005-04-27 7:13 [Bug java/21245] New: gcjh creates invalid/empty header files konqueror at gmx dot de
` (3 preceding siblings ...)
2005-05-03 20:56 ` tromey at gcc dot gnu dot org
@ 2005-05-03 21:57 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-03 21:57 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21245
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-03 21:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-27 7:13 [Bug java/21245] New: gcjh creates invalid/empty header files konqueror at gmx dot de
2005-04-27 7:18 ` [Bug java/21245] " konqueror at gmx dot de
2005-04-27 14:18 ` pinskia at gcc dot gnu dot org
2005-05-03 20:51 ` cvs-commit at gcc dot gnu dot org
2005-05-03 20:56 ` tromey at gcc dot gnu dot org
2005-05-03 21:57 ` pinskia 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).