dependency on java.nio removed