hg: nashorn/jdk9/nashorn: 8036127: Prototype filter needs to be applied to getter guard as well, not just getter
marcus.lagergren at oracle.com
marcus.lagergren at oracle.com
Wed Mar 5 00:56:57 PST 2014
Changeset: c4c229109575
Author: lagergren
Date: 2014-03-05 09:51 +0100
URL: http://hg.openjdk.java.net/nashorn/jdk9/nashorn/rev/c4c229109575
8036127: Prototype filter needs to be applied to getter guard as well, not just getter
Summary: This manifests itself as a bug in optimistic types, as inner functions may access properties of the wrong type, but it is also a bug in tip. Without optimistic types, we have been unable to find a reproducer due to more similar PropertyMaps
Reviewed-by: attila, jlaskey, sundar
+ bin/fastCatchCombinator.jar
! bin/runoptdualcatch.sh
! src/jdk/nashorn/internal/codegen/ClassEmitter.java
! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/FieldObjectCreator.java
! src/jdk/nashorn/internal/codegen/ObjectClassGenerator.java
! src/jdk/nashorn/internal/runtime/AccessorProperty.java
! src/jdk/nashorn/internal/runtime/PropertyListenerManager.java
! src/jdk/nashorn/internal/runtime/PropertyMap.java
! src/jdk/nashorn/internal/runtime/ScriptFunction.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
More information about the nashorn-dev
mailing list