Autoboxing can only be used for the following primative/Object types.....
Boolean
Byte
Character from \u0000 to \u007f (7f is 127 in decimal)
Short and Integer from -128 to 127
I'm afraid that this is *not* true. I believe autoboxing should work for all the primitve types -- and for the full range of the types.
The list that you are quoting is for the cache. Basically, when you box an integer within the -128 to 127 range, it will use an already instantiated object from the integer cache. For outside the range, it is not required to use the cache -- so the current implementation of the Sun JVM will instantiate a new Integer object.
Henry