diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/spi')
-rw-r--r-- | src/main/java/com/amazon/carbonado/spi/StorableGenerator.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/spi/StorableGenerator.java b/src/main/java/com/amazon/carbonado/spi/StorableGenerator.java index ecd344d..dff5a0d 100644 --- a/src/main/java/com/amazon/carbonado/spi/StorableGenerator.java +++ b/src/main/java/com/amazon/carbonado/spi/StorableGenerator.java @@ -997,6 +997,7 @@ public final class StorableGenerator<S extends Storable> { b.loadThis();
b.loadField(PROPERTY_STATE_FIELD_NAME + (ord >> 4), TypeDesc.INT);
b.loadConstant(PROPERTY_STATE_MASK << ((ord & 0xf) * 2));
+ b.math(Opcode.IAND);
b.loadConstant(PROPERTY_STATE_CLEAN << ((ord & 0xf) * 2));
// If not clean, skip equal check.
b.ifComparisonBranch(setInternalProp, "!=");
|