public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/18116] New: JNI uses dot instead of slash as the package separator
@ 2004-10-22 19:59 juhal at users dot sourceforge dot net
  2004-10-22 20:05 ` [Bug libgcj/18116] " juhal at users dot sourceforge dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: juhal at users dot sourceforge dot net @ 2004-10-22 19:59 UTC (permalink / raw)
  To: java-prs

In jni.cc functions _Jv_JNI_RegisterNatives and _Jv_LookupJNIMethod expect that
the package separator is "." when according to the JNI specification the
separator is "for historical reasons" "/". This causes RegisterNatives to fail
for methods that take objects as arguments.

-- 
           Summary: JNI uses dot instead of slash as the package separator
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: juhal at users dot sourceforge dot net
                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=18116


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/18116] JNI uses dot instead of slash as the package separator
  2004-10-22 19:59 [Bug libgcj/18116] New: JNI uses dot instead of slash as the package separator juhal at users dot sourceforge dot net
@ 2004-10-22 20:05 ` juhal at users dot sourceforge dot net
  2004-10-22 20:13 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: juhal at users dot sourceforge dot net @ 2004-10-22 20:05 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From juhal at users dot sourceforge dot net  2004-10-22 20:05 -------
Created an attachment (id=7403)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7403&action=view)
This patch fixes the problem

This patch fixes this bug and also bugs 18114 and 18115.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18116


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/18116] JNI uses dot instead of slash as the package separator
  2004-10-22 19:59 [Bug libgcj/18116] New: JNI uses dot instead of slash as the package separator juhal at users dot sourceforge dot net
  2004-10-22 20:05 ` [Bug libgcj/18116] " juhal at users dot sourceforge dot net
@ 2004-10-22 20:13 ` pinskia at gcc dot gnu dot org
  2005-02-14 15:04 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-22 20:13 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-22 20:13 -------
Confirmed, I thought I saw this somewhere.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-22 20:13:00
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18116


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/18116] JNI uses dot instead of slash as the package separator
  2004-10-22 19:59 [Bug libgcj/18116] New: JNI uses dot instead of slash as the package separator juhal at users dot sourceforge dot net
  2004-10-22 20:05 ` [Bug libgcj/18116] " juhal at users dot sourceforge dot net
  2004-10-22 20:13 ` pinskia at gcc dot gnu dot org
@ 2005-02-14 15:04 ` cvs-commit at gcc dot gnu dot org
  2005-02-14 15:15 ` green at redhat dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-14 15:04 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-14 14:57 -------
Subject: Bug 18116

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	green@gcc.gnu.org	2005-02-14 14:57:37

Modified files:
	libjava        : ChangeLog 
Added files:
	libjava/testsuite/libjava.jni: PR18116.c PR18116.java 
	                               PR18116.out 

Log message:
	2005-02-14  Anthony Green  <green@redhat.com>
	
	PR libgcj/18116
	* testsuite/libjava.jni/PR18116.c: New file.
	* testsuite/libjava.jni/PR18116.java: New file.
	* testsuite/libjava.jni/PR18116.out: New file.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3319&r2=1.3320
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.jni/PR18116.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.jni/PR18116.java.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.jni/PR18116.out.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18116


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/18116] JNI uses dot instead of slash as the package separator
  2004-10-22 19:59 [Bug libgcj/18116] New: JNI uses dot instead of slash as the package separator juhal at users dot sourceforge dot net
                   ` (2 preceding siblings ...)
  2005-02-14 15:04 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-14 15:15 ` green at redhat dot com
  2005-02-14 15:16 ` green at redhat dot com
  2005-02-14 19:38 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: green at redhat dot com @ 2005-02-14 15:15 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From green at redhat dot com  2005-02-14 15:03 -------
Fixed.  I checked in a slightly different patch for the dot-slash problem,
having not seen yours until later.  This new patch stores the signatures in
"dot" format instead of implementing a special compare routine.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |green at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-01-21 07:21:38         |2005-02-14 15:03:04
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18116


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/18116] JNI uses dot instead of slash as the package separator
  2004-10-22 19:59 [Bug libgcj/18116] New: JNI uses dot instead of slash as the package separator juhal at users dot sourceforge dot net
                   ` (3 preceding siblings ...)
  2005-02-14 15:15 ` green at redhat dot com
@ 2005-02-14 15:16 ` green at redhat dot com
  2005-02-14 19:38 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: green at redhat dot com @ 2005-02-14 15:16 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From green at redhat dot com  2005-02-14 15:04 -------
Fix and testcase committed.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18116


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libgcj/18116] JNI uses dot instead of slash as the package separator
  2004-10-22 19:59 [Bug libgcj/18116] New: JNI uses dot instead of slash as the package separator juhal at users dot sourceforge dot net
                   ` (4 preceding siblings ...)
  2005-02-14 15:16 ` green at redhat dot com
@ 2005-02-14 19:38 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-14 19:38 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18116


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-02-14 15:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-22 19:59 [Bug libgcj/18116] New: JNI uses dot instead of slash as the package separator juhal at users dot sourceforge dot net
2004-10-22 20:05 ` [Bug libgcj/18116] " juhal at users dot sourceforge dot net
2004-10-22 20:13 ` pinskia at gcc dot gnu dot org
2005-02-14 15:04 ` cvs-commit at gcc dot gnu dot org
2005-02-14 15:15 ` green at redhat dot com
2005-02-14 15:16 ` green at redhat dot com
2005-02-14 19:38 ` 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).