JDK-7193913 : Cleanup Resolve.findMethod
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: unknown
  • Submitted: 2012-08-24
  • Updated: 2014-02-05
  • Resolved: 2012-09-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b61Fixed
Related Reports
Relates :  
Description
The Resolve.findMethod routine is structured as two nested loop - the outer loop scans for supertypes, the inner loop scans for superinterfaces of a given supertype. This makes it very hard to optimize the logic when there are possible optimizations that depends on whether i.e. a method has been found in the superclass hierarchy.

Comments
SUGGESTED FIX A webrev of this fix is available at the following URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/99983a4a593b
25-09-2012

EVALUATION Will do
25-09-2012