hg: jdk8u/jdk8u-dev/nashorn: 8072595: nashorn should not use obj.getClass() for null checks

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Fri Feb 6 11:10:16 UTC 2015


Changeset: 701c1dcdf733
Author:    sundar
Date:      2015-02-05 19:08 +0530
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/nashorn/rev/701c1dcdf733

8072595: nashorn should not use obj.getClass() for null checks
Reviewed-by: hannesw, attila

! samples/javashell.js
! samples/shell.js
! src/jdk/internal/dynalink/DynamicLinker.java
! src/jdk/internal/dynalink/beans/StaticClass.java
! src/jdk/internal/dynalink/linker/GuardedInvocation.java
! src/jdk/internal/dynalink/support/CallSiteDescriptorFactory.java
! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java
! src/jdk/nashorn/api/scripting/ScriptObjectMirror.java
! src/jdk/nashorn/api/scripting/URLReader.java
! src/jdk/nashorn/internal/codegen/CompileUnit.java
! src/jdk/nashorn/internal/objects/Global.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/ScriptLoader.java
! src/jdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java
! src/jdk/nashorn/internal/runtime/options/Options.java
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java



More information about the jdk8u-dev-changes mailing list