Make RelocationHolder::reloc const-correct

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 21
    • Component/s: 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.

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

              Created:
              Updated: