public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/8296: gcjh generates incorrect JNI header
@ 2002-10-20 22:06 braden
  0 siblings, 0 replies; 2+ messages in thread
From: braden @ 2002-10-20 22:06 UTC (permalink / raw)
  To: gcc-gnats; +Cc: tflynn


>Number:         8296
>Category:       java
>Synopsis:       gcjh generates incorrect JNI header
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 20 22:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     braden@endoframe.com
>Release:        3.2
>Organization:
>Environment:
Red Hat Linux 8.0
>Description:
For the native method

  native void f(float arg[][]);

javah from the Sun JDK (1.4.1) generates the declaration

  JNIEXPORT void JNICALL Java_Test_f
    (JNIEnv *, jobject, jobjectArray);

gcjh -jni, however, generates

  extern void Java_Test_f (JNIEnv *env, jobject, jfloatArray);

Note that the third argument is different.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="Test.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Test.java"

cHVibGljIGNsYXNzIFRlc3QKewogIHByaXZhdGUgbmF0aXZlIHZvaWQgZihmbG9hdCBhcmdbXVtd
KTsKfQo=


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

* Re: java/8296: gcjh generates incorrect JNI header
@ 2002-10-23 15:47 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2002-10-23 15:47 UTC (permalink / raw)
  To: braden, gcc-bugs, gcc-prs, java-prs, nobody, tflynn, tromey

Synopsis: gcjh generates incorrect JNI header

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Wed Oct 23 15:47:41 2002
Responsible-Changed-Why:
    I'm handling this
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Wed Oct 23 15:47:41 2002
State-Changed-Why:
    Thanks for the report.
    I've checked in the fix.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8296


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

end of thread, other threads:[~2002-10-23 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-20 22:06 java/8296: gcjh generates incorrect JNI header braden
2002-10-23 15:47 tromey

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).