hg: nashorn/jdk8/nashorn: 8012462: Date.prototype.toJSON does not handle non-Date 'this' as per the spec.

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Thu Apr 18 03:20:48 PDT 2013


Changeset: ac309d492b8d
Author:    sundar
Date:      2013-04-18 15:50 +0530
URL:       http://hg.openjdk.java.net/nashorn/jdk8/nashorn/rev/ac309d492b8d

8012462: Date.prototype.toJSON does not handle non-Date 'this' as per the spec.
Reviewed-by: jlaskey, hannesw

! src/jdk/nashorn/internal/objects/NativeDate.java
+ test/script/basic/JDK-8012462.js



More information about the nashorn-dev mailing list