add a test for overflow

This commit is contained in:
Mathieu Virbel 2012-08-14 18:26:58 +02:00
parent 379c67873b
commit d15564cf23
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# run it, and check with Java VisualVM if we are eating too much memory or not!
from jnius import autoclass
Stack = autoclass('java.util.Stack')
i = 0
while True:
i += 1
stack = Stack()
stack.push('hello')