Declaring extern "C" functions as friends is apparently tricky if
compatibility with a wide range of compilers is important ...
so we do without them.

* subversion/bindings/javahl/native/jniwrapper/jni_env.hpp
  (JNI_OnLoad): Remove friend declaration.
  (Java::Env::static_init): New static initializer.

* subversion/bindings/javahl/native/jniwrapper/jni_object.hpp
  (JNI_OnLoad, JNI_OnUnload): Remove friend declarations.
  (Java::ClassCache::create): New static initializer.
  (Java::ClassCache::destroy): New static finalizer.

* subversion/bindings/javahl/native/jniwrapper/jni_base.cpp
  (Java::Env::static_init): Implement.
  (JNI_OnLoad): Call Java::Env::static_init and Java::ClassCache::create.
* subversion/bindings/javahl/native/jniwrapper/jni_class_cache.cpp
  (Java::ClassCache::create, Java::ClassCache::destroy): Implement.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1539212 13f79535-47bb-0310-9956-ffa450edef68