Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When a nonfinal class defines a clone() method that does not fails to call super.clone(), cloning a subtype will produce an object of the wrong type.

...