6326693: variable x might already have been assigned, when assignment is in catch blockReviewed-by: mcimadamore