projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng java agent: dispose is non-static
[lttng-ust.git]
/
liblttng-ust-java-agent
/
java
/
lttng-ust-agent-common
/
org
/
lttng
/
ust
/
agent
/
LTTngAgent.java
diff --git
a/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/LTTngAgent.java
b/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/LTTngAgent.java
index 1a6b59a622cf2b6797fdb2e53bb714be6946961b..c98301d738b8aa3a81f17ce240e687c88a047794 100644
(file)
--- a/
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/LTTngAgent.java
+++ b/
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/LTTngAgent.java
@@
-49,9
+49,10
@@
public class LTTngAgent {
/**
* Dispose the agent. Applications should call this once they are done
/**
* Dispose the agent. Applications should call this once they are done
- * logging.
+ * logging. This dispose function is non-static for backwards
+ * compatibility purposes.
*/
*/
- public s
tatic s
ynchronized void dispose() {
+ public synchronized void dispose() {
if (instance != null) {
instance.disposeInstance();
instance = null;
if (instance != null) {
instance.disposeInstance();
instance = null;
This page took
0.023505 seconds
and
4
git commands to generate.