Java Language Specification 5.1.7 Boxing Conversion
If p is a value of type int, then boxing conversion converts p into a reference ref of class and type Integer, such that ref.intValue() == p
If the value p being boxed is true, false, a byte, a char in the range \u0000 to \u007f, or
an int or short number between -128 and 127, then let r1 and r2 be the results of any two boxing conversions of p.
It is always the case that r1 == r2..
Try the same example with 127 and 128
[ September 30, 2008: Message edited by: Christophe Verre ]