I was investigating bug 5040492 and developed a test case for what I think
was causing it and an it with 1.5.b51 and it seg. faults. With java_g
it asserts. My test case still has bugs in it so it will hang once in a
while but I've attached it in its current form anyway.