fix StackOverflowError when building from eclipse patch by tjake; reviewed by urandom for CASSANDRA-2687