Implementation of cast conversion rules between primitive and boxed types is too liberal Reviewed-by: jjg