Duplicate :
|
|
Relates :
|
after fixing JDK-8137159, a javadoc still doesn't document real behaviour. Latest javadoc says: "..... Otherwise the object itself is used as the base." while .cpp code in fact throws IllegalArgumentException. Either code or javadoc should be modified to be in sync