...
| Wiki Markup |
|---|
In the bitwise operation, the value of the byte array element {{b\[i\]}} is promoted to an {{int}} by sign-extension. When a byte array element contains a negative value (for example, {{0xff}}), the sign-extension propagates 1-bits into the upper 24 bits of the {{int}}. This behavior might be unexpected if the programmer is assuming that {{byte}} is an unsigned type. In this example, adding the promoted byte values to {{result}} fails to result in a packed integer representation of the bytes \[[FindBugs 2008|AA. Bibliography#FindBugsReferences#FindBugs 08]\]. |
Noncompliant Code Example
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5791742ebf93f9d2-efd2614e-449a4a4b-907b94ae-be9dc0d53733148a58041cc8"><ac:plain-text-body><![CDATA[ | [[Steele 1977 | AA. Bibliography#Steele References#Steele 1977]] | ]]></ac:plain-text-body></ac:structured-macro> |
...