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:56:53 +0000 (15:56 -0400)
commit8d8c99c9eed441026e2dad93b685f2004034a321
treece456937949faaa916c150f810af45a468ca2ada
parentffaea23347a6aa8f2d7c311e5d4feb7a891be182
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.025045 seconds and 4 git commands to generate.