hg: nashorn/jdk9/nashorn: 8040655: When processing a RewriteException debug object, the return value has already been reset to null. We need to catch this value before that.

marcus.lagergren at oracle.com marcus.lagergren at oracle.com
Fri Apr 18 19:32:16 UTC 2014


Changeset: e8c0262bafdd
Author:    lagergren
Date:      2014-04-18 21:24 +0200
URL:       http://hg.openjdk.java.net/nashorn/jdk9/nashorn/rev/e8c0262bafdd

8040655: When processing a RewriteException debug object, the return value has already been reset to null. We need to catch this value before that.
Reviewed-by: attila, lagergren
Contributed-by: matherey.nunez at oracle.com

! src/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk/nashorn/internal/objects/NativeDebug.java
! src/jdk/nashorn/internal/runtime/CompiledFunction.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/DebugLogger.java
! src/jdk/nashorn/internal/runtime/Property.java
! src/jdk/nashorn/internal/runtime/RewriteException.java
- src/jdk/nashorn/internal/runtime/RuntimeEvent.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
+ src/jdk/nashorn/internal/runtime/events/RecompilationEvent.java
+ src/jdk/nashorn/internal/runtime/events/RuntimeEvent.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java
- test/script/basic/arraysIntKey.js
- test/script/basic/arraysIntKey.js.EXPECTED
+ test/script/basic/arrays_int_key.js
+ test/script/basic/arrays_int_key.js.EXPECTED
- test/script/basic/relinkIndexGetter.js
- test/script/basic/relinkIndexGetter.js.EXPECTED
+ test/script/basic/relink_index_getter.js
+ test/script/basic/relink_index_getter.js.EXPECTED
! test/script/trusted/event_queue.js
! test/script/trusted/event_queue.js.EXPECTED



More information about the nashorn-dev mailing list