[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] JavaHL: Support commit callback across method invocations

From: Vladimir Berezniker <vmpn_at_hitechman.com>
Date: Sun, 24 Jun 2012 22:31:21 -0400

In case of delta editor, commit callback is provided at the time of the editor
creation and used during the close_edit() call. For that there is a need to
keep a global reference to the underlying java object so that it does not get
GCed meanwhile.

Attached please find the patch that adds such capabilities.

Thank you,

Vladimir

[[[
JavaHL: Support keeping global reference to the callback java object for cases
when callback is being used across method calls

[ in subversion/bindings/javahl/native ]

* CommitCallback.cpp,
  CommitCallback.h
  (CommitCallback, ~CommitCallback): Add handling of additional parameter and
    state when requesting a global reference to be kept
]]]

Received on 2012-06-25 04:32:00 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.