--- old/src/jdk/nashorn/internal/runtime/PropertyAccess.java 2016-01-20 14:14:52.323064280 +0100 +++ new/src/jdk/nashorn/internal/runtime/PropertyAccess.java 2016-01-20 14:14:52.207064282 +0100 @@ -57,49 +57,9 @@ * @param programPoint or INVALID_PROGRAM_POINT if pessimistic * @return the value */ - public int getInt(long key, int programPoint); - - /** - * Get the value for a given key and return it as an int - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ public int getInt(int key, int programPoint); /** - * Get the value for a given key and return it as a long - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ - public long getLong(Object key, int programPoint); - - /** - * Get the value for a given key and return it as a long - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ - public long getLong(double key, int programPoint); - - /** - * Get the value for a given key and return it as a long - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ - public long getLong(long key, int programPoint); - - /** - * Get the value for a given key and return it as a long - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ - public long getLong(int key, int programPoint); - - /** * Get the value for a given key and return it as a double * @param key the key * @param programPoint or INVALID_PROGRAM_POINT if pessimistic @@ -121,14 +81,6 @@ * @param programPoint or INVALID_PROGRAM_POINT if pessimistic * @return the value */ - public double getDouble(long key, int programPoint); - - /** - * Get the value for a given key and return it as a double - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ public double getDouble(int key, int programPoint); /** @@ -150,13 +102,6 @@ * @param key the key * @return the value */ - public Object get(long key); - - /** - * Get the value for a given key and return it as an Object - * @param key the key - * @return the value - */ public Object get(int key); /** @@ -173,14 +118,6 @@ * @param value the value * @param flags call site flags */ - public void set(Object key, long value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ public void set(Object key, double value, int flags); /** @@ -205,14 +142,6 @@ * @param value the value * @param flags call site flags */ - public void set(double key, long value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ public void set(double key, double value, int flags); /** @@ -229,38 +158,6 @@ * @param value the value * @param flags call site flags */ - public void set(long key, int value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ - public void set(long key, long value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ - public void set(long key, double value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ - public void set(long key, Object value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ public void set(int key, int value, int flags); /** @@ -269,14 +166,6 @@ * @param value the value * @param flags call site flags */ - public void set(int key, long value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ public void set(int key, double value, int flags); /** @@ -306,13 +195,6 @@ * @param key the key * @return true if key exists */ - public boolean has(long key); - - /** - * Check if the given key exists anywhere in the proto chain - * @param key the key - * @return true if key exists - */ public boolean has(double key); /** @@ -334,13 +216,6 @@ * @param key the key * @return true if key exists */ - public boolean hasOwnProperty(long key); - - /** - * Check if the given key exists directly in the implementor - * @param key the key - * @return true if key exists - */ public boolean hasOwnProperty(double key); /** @@ -353,14 +228,6 @@ /** * Delete a property with the given key from the implementor - * @param key the key - * @param strict are we in strict mode - * @return true if deletion succeeded, false otherwise - */ - public boolean delete(long key, boolean strict); - - /** - * Delete a property with the given key from the implementor * @param key the key * @param strict are we in strict mode * @return true if deletion succeeded, false otherwise