plasma-umass / doppio

Breaks the browser language barrier (includes a plugin-free JVM).

Home Page:http://plasma-umass.github.io/doppio-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could the thread.throwNewException() method use thread.getLoader() instead of thread.getBsCl()

hrj opened this issue · comments

commented

The thread.throwNewException() method is very convenient when throwing exceptions from native code. However, it uses the bootstrap class loader for loading the exception class, making it difficult to throw custom exceptions.

If it uses the loader from getLoader(), user defined exceptions can be easily thrown.

Sounds good to me. Feel free to open a PR!