FYI: Two gui fixlets from classpath
Tom Tromey
tromey@redhat.com
Mon Jun 28 21:23:00 GMT 2004
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
More information about the Java-patches
mailing list