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

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

XMLWordPrintable

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

        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();
        }

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

                Created:
                Updated:
                Resolved: