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

JavaImporter fails to resolve method elements within functions, that contain too many statements

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 8, 9, 10
    • 10
    • core-libs
    • None

    Backports

      Description

        JavaImporter fails to resolve method elements within functions, that contain too many statements
        var imports = new JavaImporter(java.lang, java.util);
         with (imports) {
          function func() {
           var i = new Integer(2); // first statement
            // more statements...
          }
          func();
        }

        Attachments

          Issue Links

            Activity

              People

                pmuthuswamy Priya Lakshmi Muthuswamy (Inactive)
                pmuthuswamy Priya Lakshmi Muthuswamy (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: