JDK-8054503 : test/script/external/test262/test/suite/ch12/12.6/12.6.4/12.6.4-2.js fails with tip
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-08-07
  • Updated: 2015-05-21
  • Resolved: 2014-08-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8u40Fixed 9 b28Fixed
Related Reports
Duplicate :  
I cloned test262 es5-tests branch under test/script/external and ran "ant clean test262parallel". 

test/script/external/test262/test/suite/ch12/12.6/12.6.4/12.6.4-2.js fails with tip.

Copying the test content here for quick reference:

 * @path ch12/12.6/12.6.4/12.6.4-2.js
 * @description The for-in Statement - the values of [[Enumerable]] attributes are not considered when determining if a property of a prototype object is shadowed by a previous object on the prototype chain

function testcase() {
        var proto = {
            prop: "enumerableValue"

        var ConstructFun = function () { };
        ConstructFun.prototype = proto;

        var child = new ConstructFun();

        Object.defineProperty(child, "prop", {
            value: "nonEnumerableValue",
            enumerable: false

        var accessedProp = false;

        for (var p in child) {
            if (p === "prop") {
                accessedProp = true;
        return !accessedProp;