NetJavaImpl, fixed previous commit

Sorry for commits separation