Add test to make sure we don't regress Connection::encode
Override Connection::encode
Merge branch 'master' of https://github.com/andreasgal/j2me.js into optimize_Connection_encode
Use regexp instead of for loop
Implement a virtual method cache to reduce the cost of invokevirtual and invokeinterface
Minor cleanup
Store the key lazily in methodInfo and pass the key to getMethod
Remove unused argument from getMethod
Store 1 or 0 in the key according to whether the method is static or not
Don't call getMethod if the method is already in the virtual method cache
Merge pull request #329 from marco-c/optimize_Connection_encode

Optimize Connection::encode
Merge pull request #337 from marco-c/vmc

Implement a virtual method cache
override drawRegion to do renderRegion's work itself
Override ResourceInputStream::read() and ResourceInputStream::available() instead of implementing the natives they call
Allow creating overrides in native.js
Merge pull request #339 from marco-c/optimize_ResourceInputStream

Optimize ResourceInputStream
override Math.min
Add test for ResourceInputStream and InputStreamReader
Add utf8.txt to the jar
Update number of passing tests