diff options
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/PropertyMap.java')
-rw-r--r-- | src/jdk/nashorn/internal/runtime/PropertyMap.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jdk/nashorn/internal/runtime/PropertyMap.java b/src/jdk/nashorn/internal/runtime/PropertyMap.java index 0246b531..d8e76082 100644 --- a/src/jdk/nashorn/internal/runtime/PropertyMap.java +++ b/src/jdk/nashorn/internal/runtime/PropertyMap.java @@ -568,9 +568,7 @@ public final class PropertyMap implements Iterable<Object>, Serializable { for (final Property property : otherProperties) { // This method is only safe to use with non-slotted, native getter/setter properties assert property.getSlot() == -1; - if (isValidArrayIndex(getArrayIndex(property.getKey()))) { - newMap.setContainsArrayKeys(); - } + assert !(isValidArrayIndex(getArrayIndex(property.getKey()))); } return newMap; |