diff options
author | lana <none@none> | 2013-06-10 17:04:30 -0700 |
---|---|---|
committer | lana <none@none> | 2013-06-10 17:04:30 -0700 |
commit | 73c254c612c9faf57393f1f36819aaf1b2777b74 (patch) | |
tree | bdf6cc11dbe58e0b73768633fa8aa120f2a56fa9 /src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java | |
parent | e82ed2454b833cf285c20ffc889da05a87bf0c4e (diff) | |
parent | 8cee5b9c9d775d340bd383fa768e72d28ffc0995 (diff) |
Mergejdk8-b94
Diffstat (limited to 'src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java')
-rw-r--r-- | src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java b/src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java index f76f7f19..31afc307 100644 --- a/src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java +++ b/src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java @@ -150,11 +150,11 @@ public final class GenericPropertyDescriptor extends ScriptObject implements Pro if (this == obj) { return true; } - if (!(obj instanceof AccessorPropertyDescriptor)) { + if (!(obj instanceof GenericPropertyDescriptor)) { return false; } - final AccessorPropertyDescriptor other = (AccessorPropertyDescriptor)obj; + final GenericPropertyDescriptor other = (GenericPropertyDescriptor)obj; return ScriptRuntime.sameValue(configurable, other.configurable) && ScriptRuntime.sameValue(enumerable, other.enumerable); } |