< prev index next >
src/jdk/nashorn/internal/objects/NativeObject.java
Print this page
rev 1360 : 8080848: delete of bound Java method property results in crash
Reviewed-by: hannesw, lagergren
@@ -763,11 +763,11 @@
} catch(final IllegalAccessError e) {
// Presumably, this was a caller sensitive method. Ignore it and carry on.
continue;
}
properties.add(AccessorProperty.create(methodName, Property.NOT_WRITABLE, getBoundBeanMethodGetter(source,
- method), null));
+ method), Lookup.EMPTY_SETTER));
}
for(final String propertyName: propertyNames) {
MethodHandle getter;
if(readablePropertyNames.contains(propertyName)) {
try {
< prev index next >