Discarded arguments must still be evaluated for side effects

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b82
    • generic
    • generic
    • Verified

      While fixing JDK-8005958, a regression was introduced where arguments discarded on INVOKESTATIC function call are not evaluated.

      Example:

      (function() {})(print("hello"))

            Assignee:
            Attila Szegedi
            Reporter:
            Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: