--- a/hotspot/src/share/vm/opto/memnode.cpp Thu Apr 21 20:49:11 2016 -0700
+++ b/hotspot/src/share/vm/opto/memnode.cpp Fri Apr 22 01:04:00 2016 -0700
@@ -2309,7 +2309,7 @@
ctl != NULL, "raw memory operations should have control edge");
switch (bt) {
- case T_BOOLEAN:
+ case T_BOOLEAN: val = gvn.transform(new AndINode(val, gvn.intcon(0x1))); // Fall through to T_BYTE case
case T_BYTE: return new StoreBNode(ctl, mem, adr, adr_type, val, mo);
case T_INT: return new StoreINode(ctl, mem, adr, adr_type, val, mo);
case T_CHAR: