public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/19742] New: gcjh shouldn't mangle names in JNI output.
@ 2005-02-01 16:28 green at redhat dot com
2005-02-01 17:36 ` [Bug java/19742] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: green at redhat dot com @ 2005-02-01 16:28 UTC (permalink / raw)
To: java-prs
A java class has this:
public static final int delete = 555;
gcjh will correctly mangle the name delete (to delete$) for CNI header output.
However, it also does this when generating JNI output (with gcjh -jni). We get
output link this, and it is wrong:
#undef foo_delete$
#define foo_delete$ 555L
This should be just "foo_delete". This is preventing the subversion JNI code
from building.
--
Summary: gcjh shouldn't mangle names in JNI output.
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
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=19742
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/19742] gcjh shouldn't mangle names in JNI output.
2005-02-01 16:28 [Bug java/19742] New: gcjh shouldn't mangle names in JNI output green at redhat dot com
@ 2005-02-01 17:36 ` pinskia at gcc dot gnu dot org
2005-02-01 21:04 ` tromey at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-01 17:36 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-01 17:36 -------
I think this is related to PR 16843 well that might have been the bug before as we did not emit the final
constants before. We still don't for Inherited constants.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19742
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/19742] gcjh shouldn't mangle names in JNI output.
2005-02-01 16:28 [Bug java/19742] New: gcjh shouldn't mangle names in JNI output green at redhat dot com
2005-02-01 17:36 ` [Bug java/19742] " pinskia at gcc dot gnu dot org
@ 2005-02-01 21:04 ` tromey at gcc dot gnu dot org
2005-02-02 0:44 ` cvs-commit at gcc dot gnu dot org
2005-02-02 0:45 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-02-01 21:04 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2005-02-01 21:04 -------
I'm testing a patch
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19742
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/19742] gcjh shouldn't mangle names in JNI output.
2005-02-01 16:28 [Bug java/19742] New: gcjh shouldn't mangle names in JNI output green at redhat dot com
2005-02-01 17:36 ` [Bug java/19742] " pinskia at gcc dot gnu dot org
2005-02-01 21:04 ` tromey at gcc dot gnu dot org
@ 2005-02-02 0:44 ` cvs-commit at gcc dot gnu dot org
2005-02-02 0:45 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-02 0:44 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-02 00:44 -------
Subject: Bug 19742
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tromey@gcc.gnu.org 2005-02-02 00:44:09
Modified files:
gcc/java : ChangeLog gjavah.c
Log message:
PR java/19742:
* gjavah.c (get_field_name): Don't override name for JNI header.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1542&r2=1.1543
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/gjavah.c.diff?cvsroot=gcc&r1=1.127&r2=1.128
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19742
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/19742] gcjh shouldn't mangle names in JNI output.
2005-02-01 16:28 [Bug java/19742] New: gcjh shouldn't mangle names in JNI output green at redhat dot com
` (2 preceding siblings ...)
2005-02-02 0:44 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-02 0:45 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-02-02 0:45 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2005-02-02 00:45 -------
Fix checked in
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19742
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-02-02 0:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-01 16:28 [Bug java/19742] New: gcjh shouldn't mangle names in JNI output green at redhat dot com
2005-02-01 17:36 ` [Bug java/19742] " pinskia at gcc dot gnu dot org
2005-02-01 21:04 ` tromey at gcc dot gnu dot org
2005-02-02 0:44 ` cvs-commit at gcc dot gnu dot org
2005-02-02 0:45 ` 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).