[Bug 589021] New: Better protect java stack