src/jdk/nashorn/internal/objects/AccessorPropertyDescriptor.java

Print this page

        

*** 65,80 **** public Object set; // initialized by nasgen private static PropertyMap $nasgenmap$; - static PropertyMap getInitialMap() { - return $nasgenmap$; - } - AccessorPropertyDescriptor(final boolean configurable, final boolean enumerable, final Object get, final Object set, final Global global) { ! super(global.getObjectPrototype(), getInitialMap()); this.configurable = configurable; this.enumerable = enumerable; this.get = get; this.set = set; } --- 65,76 ---- public Object set; // initialized by nasgen private static PropertyMap $nasgenmap$; AccessorPropertyDescriptor(final boolean configurable, final boolean enumerable, final Object get, final Object set, final Global global) { ! super(global.getObjectPrototype(), $nasgenmap$); this.configurable = configurable; this.enumerable = enumerable; this.get = get; this.set = set; }