Home / Vulnerability Database / Scala : Method clone() does not call super.clone()
Scala
Scala : Method clone() does not call super.clone()
Classification
CWE
Overview
The overridden clone() method must call super.clone().
All realizations of clone() method should obtain the new object by calling super.clone(), otherwise, subclass’s of clone() method will return an object of the wrong type.
LOW
DerScanner Severity Score
Do you want to fix Scala : Method clone() does not call super.clone() in your application?
See also
Scala
Scala : Unreleased resource stream
Scala
Scala : Multiple loggers in same class
Scala
