With strict mode, bean property assignment of a non-existent property should result in TypeError

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b32
    • generic
    • generic

        Script:

        'use strict';
        var File = Java.type("java.io.File");
        var f = new File(".");
        f.foo = 33;


        Expected: TypeError
        Actual: no error thrown.

              Assignee:
              Sundararajan Athijegannathan
              Reporter:
              Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: