This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Code Correctness: Class Does Not Implement Cloneable

From OWASP
Revision as of 16:28, 29 May 2009 by Deleted user (talk | contribs)

Jump to: navigation, search

[http://s1.shard.jp/losaul/picture-of-food.html goodlife gyms australia ] [http://s1.shard.jp/olharder/agencias-auto.html auto complaint dealerships letter ] links [http://s1.shard.jp/frhorton/h8s9rb8r9.html african american mathematicians project ] [http://s1.shard.jp/galeach/new92.html asian animal pictures ] african dancer [http://s1.shard.jp/olharder/auto-recreational.html auto racing classifieds ] [http://s1.shard.jp/galeach/new188.html anastasia gothic ] map [http://s1.shard.jp/bireba/ca-etrust-antivirus.html review antivirus software 2005 ] http [http://s1.shard.jp/bireba/download-symantec.html defender pro plus antivirus ] [http://s1.shard.jp/frhorton/u4h18i4kg.html subsistence farming in africa ] [http://s1.shard.jp/frhorton/vuku1m6uz.html south africa cellular ] [http://s1.shard.jp/olharder/dealer-de-auto.html grand theft auto sanadreas cheats ps2 ] [http://s1.shard.jp/frhorton/hs3lzrck3.html national african american museum ] links webmap [http://s1.shard.jp/frhorton/9viywdetn.html major deserts in africa ] [http://s1.shard.jp/galeach/new26.html asian test scores ] [http://s1.shard.jp/frhorton/yvqavqw7n.html business flights to south africa ] [http://s1.shard.jp/galeach/new186.html asia.bang ] [http://s1.shard.jp/galeach/new97.html geopolitical map asia ] [http://s1.shard.jp/bireba/macintosh-antivirus.html antivirus panda software ] [http://s1.shard.jp/bireba/avast-antivirus.html mccaffee antivirus software ] [http://s1.shard.jp/olharder/aaa-auto-sales.html auto insurance santa fe new mexico ] [http://s1.shard.jp/frhorton/91rryr9x4.html west africa information ] [http://s1.shard.jp/olharder/automatic-dc-queue.html yemmautos.com ] [http://s1.shard.jp/bireba/uninstall-norton.html download antivirus for free ] mcafee free antivirus software [http://s1.shard.jp/losaul/australia-telescope.html italian passport australian ] [http://s1.shard.jp/galeach/new39.html makeup tips for asians ] [http://s1.shard.jp/galeach/new146.html asian thumb up ] [http://s1.shard.jp/frhorton/41nbv47ei.html umtata south africa ] african champions league 2005 results [http://s1.shard.jp/galeach/new51.html mild to moderate dysplasia ] bubble asians.com [http://s1.shard.jp/frhorton/9ilzodadz.html lagoon bay south africa ] [http://s1.shard.jp/olharder/auto-repair-service.html auto loan va ] [http://s1.shard.jp/galeach/new19.html hot asian ] autoextra.com broadsearch car google knc kwcmp qw used [http://s1.shard.jp/olharder/angeles-auto-body.html accident also auto directory link linkpartners.com please suggest ] webmap [http://s1.shard.jp/losaul/rowing-clothing.html bird sales australia ] [http://s1.shard.jp/olharder/antique-autos-for.html autoindex org ] [http://s1.shard.jp/frhorton/zgxfpsa75.html african ibo masks ] [http://s1.shard.jp/bireba/eztrust-antivirus.html antivirus 2004 free download ] [http://s1.shard.jp/frhorton/4jl7mv47m.html union of south africa locomotive ] [http://s1.shard.jp/galeach/new52.html australasian schools science competition ] [http://s1.shard.jp/losaul/australia-importing.html surf shop online australia ] Template:CandidateForDeletion

#REDIRECT Failure to follow guideline/specification

Last revision (mm/dd/yy): 05/29/2009


Description

This class implements a clone() method but does not implement Cloneable.

It appears that the programmer intended for this class to implement the Cloneable interface because it implements a method named clone(). However, the class does not implement the Cloneable interface and the clone() method will not behave correctly.


Risk Factors

TBD

Examples

Calling clone() for this class will result in a CloneNotSupportedException.

	public class Kibitzer {
	  public Object clone() throws CloneNotSupportedException {
		... 
	  }
	}

Related Attacks


Related Vulnerabilities


Related Controls


Related Technical Impacts


References

TBD