Converting autoboxes to primitives[Solved]

Well what does it have to do with then?! You’re not providing us with any way to actually help you.

You don’t. They are two different Class objects.