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

Amend comment in globalDefinitions.hpp on "classfile_constants.h" include

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • None
    • hotspot

      globalDefinitions.hpp includes "classfile_constants.h", with a comment that it is needed before including <jvm.h>. But jvm.h includes jvm_constants.h, which includes classfile_constants.h, as it should because using stuff from there. Presumably it didn't used to and there was an include order problem as a result, which got fixed (IMO) poorly.

      So the include in globalDefintions.hpp is no longer needed for that purpose. Of course, there might be some other reason for needing that include. Investigate and clean up.

      (This was noticed during the review of JDK-8363584.)

            fandreuzzi Francesco Andreuzzi
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: