TOKYO - China detained a Japanese woman in 2015, alleging she had engaged in spying activities in Japan, sources familiar with the bilateral relationship said Monday, marking the first known case in which actions taken in Japan became the basis for Chinese criminal prosecution.