[java/ws] fix WSGroup