Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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="de87b955ea8761a7-d97eb861-4d214b77-9f2f9642-0438a409458a688b5f8090fa"><ac:plain-text-body><![CDATA[

[[Steele 1977

AA. Bibliography#Steele References#Steele 1977]]

]]></ac:plain-text-body></ac:structured-macro>

...