java compatibility set