< prev index next >

src/jdk/nashorn/internal/runtime/Property.java

Print this page

        

*** 448,467 **** * * @param self the this object * @param owner the owner of the property * @return the property value */ - public abstract long getLongValue(final ScriptObject self, final ScriptObject owner); - - /** - * get the Object value of this property from {@code owner}. This allows to bypass creation of the - * getter MethodHandle for spill and user accessor properties. - * - * @param self the this object - * @param owner the owner of the property - * @return the property value - */ public abstract double getDoubleValue(final ScriptObject self, final ScriptObject owner); /** * get the Object value of this property from {@code owner}. This allows to bypass creation of the * getter MethodHandle for spill and user accessor properties. --- 448,457 ----
*** 490,510 **** * @param self the this object * @param owner the owner object * @param value the new property value * @param strict is this a strict setter? */ - public abstract void setValue(final ScriptObject self, final ScriptObject owner, final long value, final boolean strict); - - /** - * Set the value of this property in {@code owner}. This allows to bypass creation of the - * setter MethodHandle for spill and user accessor properties. - * - * @param self the this object - * @param owner the owner object - * @param value the new property value - * @param strict is this a strict setter? - */ public abstract void setValue(final ScriptObject self, final ScriptObject owner, final double value, final boolean strict); /** * Set the value of this property in {@code owner}. This allows to bypass creation of the * setter MethodHandle for spill and user accessor properties. --- 480,489 ----
*** 591,602 **** private static String type(final Class<?> type) { if (type == null) { return "undef"; } else if (type == int.class) { return "i"; - } else if (type == long.class) { - return "j"; } else if (type == double.class) { return "d"; } else { return "o"; } --- 570,579 ----
< prev index next >