travis JDK executes different instructions for linked list add/get