add java2 synchrozed