Re:My favorite bug: segfaults in Java
by gizmo686 on Saturday March 28, 2015 @10:22PM
(#9283632)
I remember this bug. Our workaround was to parse the output of toString() for 0x0000000, and simply drop the frame when it happens.
[ Parent
| on HN ]
I'm curious. Was it something that existing across many JVM updates ? Given the stability of the language if I have ever seen an issue (rare) there's always been a choice of 10-20 JVM versions to pick from.
The competition gives us six weeks to build the robot, before we have one or two three day competitions. Apart from possibly attending non-official off-season competitions, that is the only time we would use the code before the next years competition, which is completely different, and for which we are required to right entirely new code[1].
Once we got a hack working, we ran with it and rarely tried to clean up. In this case, we didn't bother trying a different JVM.
[1] Unless the code is open source (as ours was), in which case we were explicitly allowed to use it.