Products and Services
Oracle Technology Network
6797305 handles load widening but no shortening which should be covered here.
char c = (char) (intarray[i] & 0xFFFF);
Integer shortening optimizations are no problem and working, but long shorting is difficult (see 6667618). I will not include long shortening optimizations here.