TypeError: Cannot apply "with" to non script object

XMLWordPrintable

    • b22
    • generic
    • generic

        Using "with" may fail in situations where it is not really expected. See the attached sample file which demonstrates a failure on JDK8b132.

          1. NashornWithProblem.java
            3 kB
            Jaroslav Tulach
          2. with.diff
            6 kB
            Jaroslav Tulach

              Assignee:
              Sundararajan Athijegannathan
              Reporter:
              Jaroslav Tulach (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: