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

Make RelocationHolder::reloc const-correct

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • hotspot
    • None

      Currently RelocationHolder::reloc() is const, but returns a non-const pointer to its _relocbuf member (cast to Relocation*). We should probably have two overloads, one for const and one non-const, returning a suitably const result. There are callers that need to be fixed in order to do that.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: