oraclejdk doesn't like SEMAFOR?