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

The field Gen.stringBufferType is no longer needed (and not always initialized properly)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • tools
    • b64
    • Not verified

        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.

              alundblad Andreas Lundblad (Inactive)
              alundblad Andreas Lundblad (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified