[[[
    JavaHL: Added support for allocating SVNBase object from passed in
pools rather than global pool, as needed by the Ra JNI implementation

    [ in subversion/bindings/javahl/native ]

    * SVNBase.cpp, SVNBase.h
      (SVNBase): Additional constructor taking a parent pool parameter
]]]
Index: subversion/bindings/javahl/native/SVNBase.cpp
===================================================================
--- subversion/bindings/javahl/native/SVNBase.cpp       (revision 1328758)
+++ subversion/bindings/javahl/native/SVNBase.cpp       (working copy)
@@ -28,7 +28,12 @@
 #include "JNIUtil.h"
 
 SVNBase::SVNBase()
-    : pool(JNIUtil::getPool())
+: pool(JNIUtil::getPool())
+{
+}
+
+SVNBase::SVNBase(SVN::Pool & parentPool)
+: pool(parentPool)
 {
 }
 
Index: subversion/bindings/javahl/native/SVNBase.h
===================================================================
--- subversion/bindings/javahl/native/SVNBase.h (revision 1328758)
+++ subversion/bindings/javahl/native/SVNBase.h (working copy)
@@ -34,6 +34,7 @@ class SVNBase
 {
  public:
   SVNBase();
+  SVNBase(SVN::Pool& pool);
   virtual ~SVNBase();
 
   /**

Reply via email to