test java rep