Serbian Prime Minister Vojislav Kostunica said today that corruption, particularly in the judiciary, is one of the obstacles for the inflow of foreign investments in Serbia.