posted 12 years ago
Hi all.
I'd like to know what compiler does when a short argument is passed to a method with (long... x) var-args.
Does it widen the short to a long? does it box into an object (considering that long... x is converted to a long[] which is an object)?
tks!
Adolfo Eloy
Software Developer
OCPJP 6