src/jdk/nashorn/internal/objects/NativeRegExpExecResult.java
Print this page
*** 51,66 ****
public Object input;
// initialized by nasgen
private static PropertyMap $nasgenmap$;
- static PropertyMap getInitialMap() {
- return $nasgenmap$;
- }
-
NativeRegExpExecResult(final RegExpResult result, final Global global) {
! super(global.getArrayPrototype(), getInitialMap());
setIsArray();
this.setArray(ArrayData.allocate(result.getGroups().clone()));
this.index = result.getIndex();
this.input = result.getInput();
}
--- 51,62 ----
public Object input;
// initialized by nasgen
private static PropertyMap $nasgenmap$;
NativeRegExpExecResult(final RegExpResult result, final Global global) {
! super(global.getArrayPrototype(), $nasgenmap$);
setIsArray();
this.setArray(ArrayData.allocate(result.getGroups().clone()));
this.index = result.getIndex();
this.input = result.getInput();
}