public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug java/17575] New: gcjh does not clear its function name cache between files @ 2004-09-20 23:08 thhal at mailblocks dot com 2004-09-21 4:56 ` [Bug java/17575] " pinskia at gcc dot gnu dot org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: thhal at mailblocks dot com @ 2004-09-20 23:08 UTC (permalink / raw) To: java-prs When a single gcjh invocation is used to generate JNI headers for several classes, gcjh incorrectly detects name ambiguities between functions that reside in different, unrelated classes. Such functions are then generated with names that contain parameter type information although they should not. Invoking gcjh once for each class will however produce correct output. -- Summary: gcjh does not clear its function name cache between files Product: gcc Version: 3.4.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: thhal at mailblocks 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=17575 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17575] gcjh does not clear its function name cache between files 2004-09-20 23:08 [Bug java/17575] New: gcjh does not clear its function name cache between files thhal at mailblocks dot com @ 2004-09-21 4:56 ` pinskia at gcc dot gnu dot org 2004-09-21 6:37 ` thhal at mailblocks dot com ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-09-21 4:56 UTC (permalink / raw) To: java-prs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-21 04:56 ------- Hmm, is there a small testcase for this, if there is not one, I might be able to make one but it will take me some time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17575 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17575] gcjh does not clear its function name cache between files 2004-09-20 23:08 [Bug java/17575] New: gcjh does not clear its function name cache between files thhal at mailblocks dot com 2004-09-21 4:56 ` [Bug java/17575] " pinskia at gcc dot gnu dot org @ 2004-09-21 6:37 ` thhal at mailblocks dot com 2004-09-21 16:28 ` tromey at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: thhal at mailblocks dot com @ 2004-09-21 6:37 UTC (permalink / raw) To: java-prs ------- Additional Comments From thhal at mailblocks dot com 2004-09-21 06:37 ------- Created an attachment (id=7183) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7183&action=view) Test case that reproduces the bug Untar into a diretory of you choice. cd to that directory and type make. Watch the resulting diff. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17575 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17575] gcjh does not clear its function name cache between files 2004-09-20 23:08 [Bug java/17575] New: gcjh does not clear its function name cache between files thhal at mailblocks dot com 2004-09-21 4:56 ` [Bug java/17575] " pinskia at gcc dot gnu dot org 2004-09-21 6:37 ` thhal at mailblocks dot com @ 2004-09-21 16:28 ` tromey at gcc dot gnu dot org 2004-09-21 16:28 ` cvs-commit at gcc dot gnu dot org 2004-11-06 15:46 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: tromey at gcc dot gnu dot org @ 2004-09-21 16:28 UTC (permalink / raw) To: java-prs ------- Additional Comments From tromey at gcc dot gnu dot org 2004-09-21 16:28 ------- Thanks for the report. I've checked in a fix. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17575 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17575] gcjh does not clear its function name cache between files 2004-09-20 23:08 [Bug java/17575] New: gcjh does not clear its function name cache between files thhal at mailblocks dot com ` (2 preceding siblings ...) 2004-09-21 16:28 ` tromey at gcc dot gnu dot org @ 2004-09-21 16:28 ` cvs-commit at gcc dot gnu dot org 2004-11-06 15:46 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-09-21 16:28 UTC (permalink / raw) To: java-prs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-21 16:28 ------- Subject: Bug 17575 CVSROOT: /cvs/gcc Module name: gcc Changes by: tromey@gcc.gnu.org 2004-09-21 16:28:41 Modified files: gcc/java : ChangeLog gjavah.c Log message: PR java/17575: * gjavah.c (free_method_name_list): New method. (main): Call it. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1454&r2=1.1455 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/gjavah.c.diff?cvsroot=gcc&r1=1.118&r2=1.119 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17575 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/17575] gcjh does not clear its function name cache between files 2004-09-20 23:08 [Bug java/17575] New: gcjh does not clear its function name cache between files thhal at mailblocks dot com ` (3 preceding siblings ...) 2004-09-21 16:28 ` cvs-commit at gcc dot gnu dot org @ 2004-11-06 15:46 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-11-06 15:46 UTC (permalink / raw) To: java-prs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17575 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-11-06 15:46 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-09-20 23:08 [Bug java/17575] New: gcjh does not clear its function name cache between files thhal at mailblocks dot com 2004-09-21 4:56 ` [Bug java/17575] " pinskia at gcc dot gnu dot org 2004-09-21 6:37 ` thhal at mailblocks dot com 2004-09-21 16:28 ` tromey at gcc dot gnu dot org 2004-09-21 16:28 ` cvs-commit at gcc dot gnu dot org 2004-11-06 15:46 ` 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).