This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: FYI: Two gui fixlets from classpath
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: java-patches at gcc dot gnu dot org
- Date: 28 Jun 2004 12:03:45 -0600
- Subject: Re: FYI: Two gui fixlets from classpath
- References: <1088338136.2706.259.camel@localhost>
- Reply-to: tromey at redhat dot com
Mark> (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
Mark> GetMethodID call.
If this code worked correctly in libgcj, and is wrong according to the
JNI spec (I didn't look), then could you please file a PR? It would
be best for our JNI implementation to be a bit more pedantic here to
catch things like this.
I've occasionally thought it would be nice to have two JNI
implementations, one lenient and "real-world-ish", and one that is
very pedantic and has lots of extra checks, so that when developing we
can catch things more easily. Never got around to implementing it
though :-(
Tom