public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: braden@endoframe.com
To: gcc-gnats@gcc.gnu.org
Cc: tflynn@users.sf.net
Subject: java/8296: gcjh generates incorrect JNI header
Date: Sun, 20 Oct 2002 22:06:00 -0000	[thread overview]
Message-ID: <20021021050351.20233.qmail@sources.redhat.com> (raw)


>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=


             reply	other threads:[~2002-10-21  5:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-20 22:06 braden [this message]
2002-10-23 15:47 tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021021050351.20233.qmail@sources.redhat.com \
    --to=braden@endoframe.com \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=tflynn@users.sf.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).