Request for reviews (S): 6987555: JSR 292 unboxing to a boolean value fails on big-endian SPARC
christian.thalinger at oracle.com
Wed Sep 29 01:18:14 PDT 2010
On Tue, 2010-09-28 at 20:33 -0700, John Rose wrote:
> > I meant unboxing a Short and turning it into a byte. Is something
> like that allowed or is it done in two stages using unboxi then i2i?
> Two stages.
Good to know. Actually I thought it's possible to do unboxing and type
conversion in one step. That means that the proposed change works.
But changing the shift for boolean to 24 should also work, since
booleans use 1 byte. I'll try that.
More information about the hotspot-compiler-dev