mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
453ceb42ab
Unlike the interpreter, the JIT compiler tries to resolve all the symbols referenced by a method when compiling that method. However, this can backfire if a symbol cannot be resolved: we end up throwing an e.g. NoClassDefFoundError for code which may never be executed. This is particularly troublesome for code which supports multiple APIs, choosing one at runtime. The solution is to defer to stub code for symbols which can't be resolved at JIT compile time. Such a stub will try again at runtime to resolve the needed symbol and throw an appropriate error if it still can't be found. |
||
---|---|---|
.. | ||
avian | ||
java | ||
sun/reflect | ||
java-io.cpp | ||
java-lang.cpp | ||
java-net.cpp | ||
java-nio.cpp | ||
java-util-zip.cpp | ||
java-util.cpp | ||
jni-util.h |