Bug 9060: mdsal-trace tooling with getAllUnique() to find Tx leaks
[mdsal.git] / dom-impl / src / main / java / org / opendaylight / controller / md / sal / trace / closetracker / impl / AbstractCloseTracked.java
index 5673c8e793df9e2370c88e36d8398537d7abe87b..59dbf5749de456c1e2c723a9c96f7089f3fe1512 100644 (file)
@@ -33,7 +33,7 @@ public abstract class AbstractCloseTracked<T extends AbstractCloseTracked<T>> im
     }
 
     @Override
-    public @Nullable Throwable getAllocationContext() {
-        return closeTracker.getAllocationContext();
+    public @Nullable StackTraceElement[] getAllocationContextStackTrace() {
+        return closeTracker.getAllocationContextStackTrace();
     }
 }