Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8046013

TypeError: Cannot apply "with" to non script object

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

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

          Attachments

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

            Issue Links

              Activity

                People

                • Assignee:
                  sundar Sundararajan Athijegannathan
                  Reporter:
                  jtulach Jaroslav Tulach
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: