Fix `buffer overflow detected` crash on TravisCI
Fix `buffer overflow detected` crash on TravisCI

On some occasions, the `openjdk7` build would fail due to an error in
TravisCI. A first fix was proposed by the Travis team, which was
outdated on Aug 11, 2016. This commit introduces the updated fix.

See also: https://github.com/travis-ci/travis-ci/issues/5227#issuecomment-165131913

johnmartel/javaccPlugin