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

make most fields final in `JavacTrees`

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • 21
    • tools
    • b23

    Description

      `JavacTrees` has this interesting comment:

          // in a world of a single context per compilation, these would all be final

      For a long time now, it has been the case of a single context per compilation. The `updateContext` method is no longer used.

      We can refactor the `init` method and make the fields final.

      Attachments

        Issue Links

          Activity

            People

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: