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: [RFA/JVMTI] Better env list locking


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith>  From what I read into this, it sounds more like it is up to the agent
Keith> to deal with exceptions properly, not the JVMTI implementation. But
Keith> then perhaps a bit of defensive programming might not hurt? Catch any
Keith> exceptions, release the lock, and rethrow the exception?

My reading is that no exception will be thrown, but rather they'll
just be put into the JNI environment.  This won't affect the locking.

Keith> I don't really know. I could go either way, really. Your call,
Keith> Mr. Maintainer. :-)

Let's just go ahead with the patch as is.
We can always add a try/catch if we find, later, that one is actually
needed.

Tom


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