Report question

Question: Why is Java not telling me when I can't use Integer?