mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
9b2a02e92b
The main goal here is to avoid making JNI calls from code that really shouldn't need JNI (e.g. before this patch, ArrayList.add called Math.max, which called Math.<clinit>, which called Random.<init>, which called System.currentTimeMillis). Besides following the "pay for only what you need" principle, this change ensures we can call LambdaMetaFactory methods during AOT compilation with a minimal VM (i.e. without compiling in JNI methods we don't need). |
||
---|---|---|
.. | ||
io | ||
lang | ||
math | ||
net | ||
nio | ||
security | ||
text | ||
util |