- You might not want to know which student came. It would upset you.
- You might not wonder which student came. It would upset you.
I'm investigating the difference of meaning between wonder and want to know.
Sentence 1 should be no problem with an interpretation suggesting that the listener might not want to know (= think about, ask him/herself) who came, because if the listener finds out the answer, it would upset he/her. The pronoun it denotes the answer to the question who came.
But do you think sentence 2 has such interpretation too? (Not a native speaker myself.)