Update NetJavaImpl.java

issue 1576