RFR: 8056258: Analysis of public API does not take super classes into account
andreas.lundblad at oracle.com
Fri Sep 26 13:00:30 UTC 2014
Please review the fix for JDK-8056258 below.
The current approach for discovering dependencies in sjavac is to hook into Attr and Resolve (by registering subclasses of these classes in the context).
This is a bit ad-hoc and does currently not support discovery of super classes.
This patch refactors sjavac to instead scan for dependencies in the AST after attr is finished by using a TaskListener.
Link to web review:
Link to bug reports:
-- Andreas Lundblad
More information about the compiler-dev