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

Update JavaDOC to explictly indicate shallow or deep copy

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.3.0
    • docs
    • generic
    • generic



      Name: ssT124754 Date: 03/20/2001


      http://java.sun.com/products/jdk/1.2/docs/api/index.html
      http://java.sun.com/products/jdk/1.3/docs/api/index.html

      The documentation rarely (if ever) indicates whether functions which copy
      objects do so through shallow or deep copy. Take arrays for example.. Do
      arrays' clone() command use shallow or deep copy? Does System.arraycopy()
      use shallow or deep copy?

      It's very important for this to be explicit.
      (Review ID: 119122)
      ======================================================================

            shommel Scott Hommel (Inactive)
            ssultanasunw Shaheen Sultana (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: