JDK-8079335 : The field Gen.stringBufferType is no longer needed (and not always initialized properly)
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-05-05
  • Updated: 2015-06-04
  • Resolved: 2015-05-05
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 9
9 b64Fixed
Related Reports
Blocks :  
Description
This field was originally introduced to easily select between StringBuffer and StringBuilder. Since we no longer support target 1.6, this has become obsolete.

Also, since the field is initialized from Symtab, and Symtab is part of a cyclic dependency (Symtab -> ClassFinder -> ClassReader -> Annotate -> Check -> Resolve -> Symtab) the field is not always initialized properly.