Versions Compared

Key

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

...

Wiki Markup
The general contract for the {{write()}} method says that it writes one byte to the output stream. The byte to be written constitutes the eight lower order bits of the argument {{b}}, passed to the {{write()}} method. The 24 high-order bits of {{b}} are ignored. \[[API 2006|AA. Java References#API 06]\].

Noncompliant Code Example

...

Using the write() method to output integers may result in unexpected values.

Rule Guideline

Severity

Likelihood

Remediation Cost

Priority

Level

INT09-J

low

unlikely

medium

P2

L3

...