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

Scope.remove() does not check overloaded methods for correct method to remove.

XMLWordPrintable

    • b27
    • generic
    • generic

      The remove method in com.sun.tools.javac.code.Scope removes a specified symbol from the scope. Unlike its other methods, the symbol lookup doesn't check for multiple symbols with the same name, such as with overloaded method symbols. As a result, it removes the first symbol in the scope whose name matches the requested symbol's name, rather than the requested symbol.
      ###@###.### 10/22/04 23:25 GMT

            tballsunw Tom Ball (Inactive)
            tballsunw Tom Ball (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: