TOKYO — Japan’s economy contracted for the second straight quarter in the July-to-September period, revised data released Monday showed, serving as a bitter reminder to Prime Minister Shinzo Abe that the nation’s economy remains in the woods two years after he came into office.

Gross domestic product shrank an annualized 1.9% in the third quarter from the previous three-month period. The government last month estimated that the economy shrank 1.6% in the third quarter after a 6.7% plunge in the second quarter, indicating that the economy had entered a recession.