Finalize API for memory copy

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: repo-panama
    • Component/s: tools

      When we introduced the MemoryCopy helper class, few issues were raised:

      * the order of arguments diverges from that of other JDK APIs (although we acknowledged that there was no other API quite like this)

      * the naming of parameters felt too heavy, as distinguishing between "index" and "offset" is probably good enough

      * naming of the method seems too verbose as well, with copyFromArray and copyToArray - which can be inferred from position of arguments.

      * it would probably be a good idea to add some limited support for complex memory segment copy in this class as well.

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: