Fix a local refs capacity warning when unparsing externals.
* subversion/bindings/javahl/native/jniwrapper/jni_list.hpp
(ImmutableList::for_each): Use a local frame to avoid acccumulating
local refs from constructors.
@@ -173,7 +173,10 @@ public:
{
Iterator iter(get_iterator());
while (iter.has_next())
+ {
+ ::Java::LocalFrame frame(m_env);
function(T(m_env, NativeT(iter.next())));
+ }
return function;
}
};
