3 ms·
Its an infinite loop. However it seems that the sandbox have some way to detect an infinite loop with while loops, etc. However this is probably an edge case th
by maytc 14y ago
Its an infinite loop. However it seems that the sandbox have some way to detect an infinite loop with while loops, etc. However this is probably an edge case they have missed.
Good catch!
- lexy0202 14y agoI believe they use a timeout to handle infinite loops, but in 1.9.3 it doesn't actually loop anyway, you just get [[...]], and it throws an exception if you try to call a.collapse (or similar). I'm guessing the problem would most likely be with their version of JRuby.