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

Remove the include of resourceArea.hpp from classFileParser.hpp

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b54

      Backports

        Description

        The inclusion of resourceArea.hpp in classFileParser.hpp is causing cyclic dependencies when I'm changing unrelated code. The main reason for this is that a lot of implementation is put inside the resourceArea.hpp file instead of a .cpp file.

        I've opted to go the easy route now and get rid of the the resourceArea.hpp dependency from classFileParser.hpp, but eventually it would be good to fix that file.

        This patch has to add explicit includes of resourceArea.hpp to other .hpp files, that used to get their include from classFileParser.hpp. I could have gotten rid of those dependencies as well, but I chose to not do that for this patch.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stefank Stefan Karlsson
                  Reporter:
                  stefank Stefan Karlsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: