This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI: Two gui fixlets from classpath


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]