removed sun proprietary api