leaningtech / cheerpj-applet-runner

CheerpJ Applet Runner - Chrome Extension to Enable Java Applets
http://www.leaningtech.com/cheerpj
57 stars 3 forks source link

somewhere a problem with parseInt() or parseDouble() #22

Closed ghost closed 5 years ago

ghost commented 5 years ago

While running a test suite for my Prolog interpreter, which now also runs as a cheerpj applet, I found a test case where cheerpj hangs. I am still investigating whats exactly the problem. From the outside the problem looks as follows. Here is the expected result:

unbenannt

And here is what cheerpj does, it indefinitely hangs:

unbenannt2

I am going to try to pin down exactly which method causes the hang.

ghost commented 5 years ago

I guess this one, and only this one, can be closed. It was related to https://github.com/leaningtech/cheerpj-appletrunner/issues/23 and we could implement a temporary cludge workaround. It killed two birds with one stone. We had also a problem with interrupting our read predicate, which works now as well:

unbenannt

ghost commented 5 years ago

I could do some regression testing without my former workaround for #23 in place. Works fine now. Thank you!