java-dest: follow the interface modifications done in version 3.6

Signed-off-by: Viktor Juhász <viktor.juhasz@balabit.com>