fix lockfile spec for JRuby