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

Copy class's copy operations should have const source / from parameters

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P4
    • Resolution: Duplicate
    • 10
    • 11
    • hotspot
    • None
    • generic
    • generic

    Description

      Copying operations in Copy class should have const source / from parameters, e.g. in

        void conjoint_words(HeapWord* from, HeapWord* to, size_t count)

      the type for "from" should be "const HeapWord*".

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: