Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53969
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53969

Reverted r1394339 and replaced with a much simpler, faster, and correct (returns JNI_FALSE instead of throwing an exception) implementation.

git-svn-id: 9aee25b0727c23acc0dec90e5217993066ef893c@1394342 13f79535-47bb-0310-9956-ffa450edef68

apache/tomcat-native,apache/tomcat-native,apache/tomcat-native,apache/tomcat-native,apache/tomcat-native