Hi,

Compiling the following with kjc and then running it with kaffe gives a
NullPointerException. But it should give "nulla".

public class Test {
  static String something;
  public static void main(String[] args) throws Exception {
    something += 'a';
    System.out.println(something);
  }
}

Found by Arnaud while he was debugging gjdoc.
See also
https://savannah.gnu.org/patch/?func=detailpatch&patch_id=2334&group_id=508

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to