Japan's Nikkei set ​a closing record high on ​Friday, capping a third consecutive weekly gain, as enthusiasm ​over technology sector earnings offset uncertainty over a potential peace deal in the Middle East.