corda/classpath/java/lang
Joel Dice 9b2a02e92b avoid calling unrelated JNI methods during class initialization
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).
2015-09-12 19:58:50 -06:00
..
annotation update copyright years 2015-03-13 12:52:59 -06:00
invoke add support for openjdk=$JDK8_HOME 2015-08-06 13:30:18 -06:00
ref update copyright years 2015-03-13 12:52:59 -06:00
reflect add support for openjdk=$JDK8_HOME 2015-08-06 13:30:18 -06:00
AbstractMethodError.java update copyright years 2015-03-13 12:52:59 -06:00
Appendable.java update copyright years 2015-03-13 12:52:59 -06:00
ArithmeticException.java update copyright years 2015-03-13 12:52:59 -06:00
ArrayIndexOutOfBoundsException.java update copyright years 2015-03-13 12:52:59 -06:00
ArrayStoreException.java update copyright years 2015-03-13 12:52:59 -06:00
AssertionError.java update copyright years 2015-03-13 12:52:59 -06:00
AutoCloseable.java update copyright years 2015-03-13 12:52:59 -06:00
Boolean.java update copyright years 2015-03-13 12:52:59 -06:00
Byte.java update copyright years 2015-03-13 12:52:59 -06:00
Character.java update copyright years 2015-03-13 12:52:59 -06:00
CharSequence.java update copyright years 2015-03-13 12:52:59 -06:00
Class.java update copyright years 2015-03-13 12:52:59 -06:00
ClassCastException.java update copyright years 2015-03-13 12:52:59 -06:00
ClassLoader.java update copyright years 2015-03-13 12:52:59 -06:00
ClassNotFoundException.java update copyright years 2015-03-13 12:52:59 -06:00
Cloneable.java update copyright years 2015-03-13 12:52:59 -06:00
CloneNotSupportedException.java update copyright years 2015-03-13 12:52:59 -06:00
Comparable.java update copyright years 2015-03-13 12:52:59 -06:00
Deprecated.java update copyright years 2015-03-13 12:52:59 -06:00
Double.java update copyright years 2015-03-13 12:52:59 -06:00
Enum.java update copyright years 2015-03-13 12:52:59 -06:00
Error.java update copyright years 2015-03-13 12:52:59 -06:00
Exception.java update copyright years 2015-03-13 12:52:59 -06:00
ExceptionInInitializerError.java update copyright years 2015-03-13 12:52:59 -06:00
Float.java update copyright years 2015-03-13 12:52:59 -06:00
IllegalAccessError.java update copyright years 2015-03-13 12:52:59 -06:00
IllegalAccessException.java update copyright years 2015-03-13 12:52:59 -06:00
IllegalArgumentException.java update copyright years 2015-03-13 12:52:59 -06:00
IllegalMonitorStateException.java update copyright years 2015-03-13 12:52:59 -06:00
IllegalStateException.java update copyright years 2015-03-13 12:52:59 -06:00
IllegalThreadStateException.java update copyright years 2015-03-13 12:52:59 -06:00
IncompatibleClassChangeError.java update copyright years 2015-03-13 12:52:59 -06:00
IndexOutOfBoundsException.java update copyright years 2015-03-13 12:52:59 -06:00
InheritableThreadLocal.java update copyright years 2015-03-13 12:52:59 -06:00
InstantiationError.java update copyright years 2015-03-13 12:52:59 -06:00
InstantiationException.java update copyright years 2015-03-13 12:52:59 -06:00
Integer.java update copyright years 2015-03-13 12:52:59 -06:00
InternalError.java first pass at minimal invokedynamic support for Java 8 lambdas 2015-08-06 13:30:05 -06:00
InterruptedException.java update copyright years 2015-03-13 12:52:59 -06:00
Iterable.java update copyright years 2015-03-13 12:52:59 -06:00
LinkageError.java update copyright years 2015-03-13 12:52:59 -06:00
Long.java update copyright years 2015-03-13 12:52:59 -06:00
Math.java avoid calling unrelated JNI methods during class initialization 2015-09-12 19:58:50 -06:00
NegativeArraySizeException.java update copyright years 2015-03-13 12:52:59 -06:00
NoClassDefFoundError.java update copyright years 2015-03-13 12:52:59 -06:00
NoSuchFieldError.java update copyright years 2015-03-13 12:52:59 -06:00
NoSuchFieldException.java update copyright years 2015-03-13 12:52:59 -06:00
NoSuchMethodError.java update copyright years 2015-03-13 12:52:59 -06:00
NoSuchMethodException.java update copyright years 2015-03-13 12:52:59 -06:00
NullPointerException.java update copyright years 2015-03-13 12:52:59 -06:00
Number.java update copyright years 2015-03-13 12:52:59 -06:00
NumberFormatException.java update copyright years 2015-03-13 12:52:59 -06:00
Object.java update copyright years 2015-03-13 12:52:59 -06:00
OutOfMemoryError.java update copyright years 2015-03-13 12:52:59 -06:00
Override.java update copyright years 2015-03-13 12:52:59 -06:00
Package.java update copyright years 2015-03-13 12:52:59 -06:00
Process.java update copyright years 2015-03-13 12:52:59 -06:00
Readable.java update copyright years 2015-03-13 12:52:59 -06:00
ReflectiveOperationException.java update copyright years 2015-03-13 12:52:59 -06:00
Runnable.java update copyright years 2015-03-13 12:52:59 -06:00
Runtime.java update copyright years 2015-03-13 12:52:59 -06:00
RuntimeException.java update copyright years 2015-03-13 12:52:59 -06:00
RuntimePermission.java update copyright years 2015-03-13 12:52:59 -06:00
SecurityException.java update copyright years 2015-03-13 12:52:59 -06:00
SecurityManager.java update copyright years 2015-03-13 12:52:59 -06:00
Short.java update copyright years 2015-03-13 12:52:59 -06:00
StackOverflowError.java update copyright years 2015-03-13 12:52:59 -06:00
StackTraceElement.java update copyright years 2015-03-13 12:52:59 -06:00
String.java Added java.util.Formatter implementation. Basic/common formats work, 2015-03-17 01:08:07 -04:00
StringBuffer.java update copyright years 2015-03-13 12:52:59 -06:00
StringBuilder.java update copyright years 2015-03-13 12:52:59 -06:00
StringIndexOutOfBoundsException.java update copyright years 2015-03-13 12:52:59 -06:00
SuppressWarnings.java update copyright years 2015-03-13 12:52:59 -06:00
System.java avoid calling unrelated JNI methods during class initialization 2015-09-12 19:58:50 -06:00
Thread.java update copyright years 2015-03-13 12:52:59 -06:00
ThreadDeath.java update copyright years 2015-03-13 12:52:59 -06:00
ThreadGroup.java update copyright years 2015-03-13 12:52:59 -06:00
ThreadLocal.java update copyright years 2015-03-13 12:52:59 -06:00
Throwable.java update copyright years 2015-03-13 12:52:59 -06:00
TypeNotPresentException.java first pass at minimal invokedynamic support for Java 8 lambdas 2015-08-06 13:30:05 -06:00
UnsatisfiedLinkError.java update copyright years 2015-03-13 12:52:59 -06:00
UnsupportedOperationException.java update copyright years 2015-03-13 12:52:59 -06:00
VirtualMachineError.java update copyright years 2015-03-13 12:52:59 -06:00
Void.java update copyright years 2015-03-13 12:52:59 -06:00