afaik kaffe and other VMs are vulnerable to this code. But kaffe just prints an 
assert before die. Could be possible to fix this stuff on the garbage 
collector? or just exit before dump?

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4944300

--------

public class HardJVMCrash {

static Object o = null;

  public static void main(String[] args) {
    (new MemApplet()).doit();
  }
  
  void doit () {
    while (true) try {
        Object[] oarr = {o};  o = oarr;
    } catch (Throwable t) {
      o = null;
      System.out.println("Wurfgeschoss: "+t);
    }
  }
}

_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to