From: Alexandre Montplaisir Date: Thu, 19 May 2016 19:59:50 +0000 (-0400) Subject: Fix: Correctly compute Java agent list loggers response size X-Git-Tag: v2.8.0~4 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=a9299d47744dac7a17940f93d478894e9da4788b;hp=a9299d47744dac7a17940f93d478894e9da4788b;p=lttng-ust.git Fix: Correctly compute Java agent list loggers response size The code was assuming that (number of characters == number of bytes), which is not always the case! The notions of number of bytes and data sizes only make sense when the strings are encoded into byte arrays. The response's getBytes() method should the only one handling these concepts. Signed-off-by: Alexandre Montplaisir Signed-off-by: Mathieu Desnoyers ---