Fix: Correctly handle invalid agent port file
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 13 Jul 2016 19:36:19 +0000 (15:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Jul 2016 19:57:10 +0000 (15:57 -0400)
commit8ec12503e335b8c3e9bfde94a77cbbe844ab978f
tree9e65fbd08a8cd27ec3d99fb2e520d16b01b5ca91
parent06f1646ad90fd8c223f174ae14ee3d236771d1e0
Fix: Correctly handle invalid agent port file

Handle the cases where the Java agent could find a port file
that is either empty, or contains text that cannot be parsed
to a number.

Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/LttngTcpSessiondClient.java
This page took 0.027624 seconds and 4 git commands to generate.