China's gross domestic product rose 7.9% year-on-year in the second quarter, official data showed Thursday. That was slightly lower than expectations by economists in a Reuters poll for a 8.1% rise.