Name: dg70945 Date: 11/13/98
There are two typos in Object.clone() documentation:
The phrase:
will be true, and that the expression:
x.close.getClass() == x.getClass()
will be true, but these are not absolute requirements. While it is typically the case that:
x.close.equals(x)
Should read:
will be true, and that the expression:
x.clone().getClass() == x.getClass()
will be true, but these are not absolute requirements. While it is typically the case that:
x.clone().equals(x)
(Review ID: 42199)
======================================================================
- duplicates
-
JDK-4189463 doc typo in Object.clone()
-
- Closed
-