...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="69d47b5c-ea5d-4d95-880f-3213f306d819"><ac:plain-text-body><![CDATA[ | [[MITRE 2009 | AA. Bibliography#MITRE 09]] | [CWE-581 | http://cwe.mitre.org/data/definitions/581.html] "Object Model Violation: Just One of Equals and Hashcode Defined" | ]]></ac:plain-text-body></ac:structured-macro> |
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup |
...
" ac:schema-version="1" ac:macro-id="28fb2cc1-4237-4725-b743-4cd31b186bd7"><ac:plain-text-body><![CDATA[ | [[API |
...
2006 |
...
AA. |
...
Bibliography#API |
...
06] |
...
] |
...
[Class |
...
Object |
...
http://java.sun.com/javase/6/docs/api/java/lang/Object.html |
...
] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="151dc443-a479-4472-90c9-93cd9e2e9f2b"><ac:plain-text-body><![CDATA[ | [[Bloch |
...
2008 |
...
AA. |
...
Bibliography#Bloch |
...
08] |
...
] |
...
Item |
...
9: |
...
Always |
...
override |
...
|
...
when |
...
you |
...
override |
...
| ]]></ac:plain-text-body></ac:structured-macro> |
...
MET12-J. Ensure objects that are equated are equatable 05. Methods (MET) MET14-J. Follow the general contract when implementing the compareTo() method