JVM Knowledge
  • V is [un]assigned after while (e) S (§14.12) iff V is [un]assigned after e when false and V is [un]assigned before every break statement for which the while statement is the break target.

  • V is definitely assigned before e iff V is definitely assigned before the while statement.

  • V is definitely unassigned before e iff all of the following are true:

    • V is definitely unassigned before the while statement.
    • Assuming V is definitely unassigned before e, V is definitely unassigned after S.
    • Assuming V is definitely unassigned before e, V is definitely unassigned before every continue statement for which the while statement is the continue target.
  • V is [un]assigned before S iff V is [un]assigned after e when true.