JDK-8067812 : Attr should be refactored in order to split out the multiple concerns it contains
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2014-12-17
  • Updated: 2015-08-04
  • Resolved: 2015-08-04
Related Reports
Relates :  
Description
This refactoring should make easier the adoption of tiered attribution in javac.

Attr is right now:
 - offering an API for the rest of the compiler
 - holding a lot of check methods
 - acting as a tree visitor that attributes the code

All these concerns should be split out in different classes.

Comments
this experiment was halt
04-08-2015