In nearly every case when you mix primitives and boxed primitives in an operation, the boxed primitive is auto-unboxed.
"In nearly every case," is a weird qualifier to not explain. Are there cases where the primitive is autoboxed (that isn't clear because it's getting provided as a parameter of the boxed primitive type)?