corda/classpath
Joel Dice 3d49173b0b avoid inifinite recursion if java.lang.Object is missing; refactoring
When trying to create an array class, we try to resolve
java.lang.Object so we can use its vtable in the array class.
However, if Object is missing, we'll try to create and throw a
ClassNotFoundException, which requires creating an array to store the
stack trace, which requires creating an array class, which requires
resolving Object, etc..  This commit short-circuits this process by
telling resolveClass not to create and throw an exception if it can't
find Object.

While doing the above work, I noticed that the implementations of
Classpath::makeThrowable in classpath-avian.cpp and
classpath-openjdk.cpp were identical, so I made makeThrowable a
top-level function.

Finally, I discovered that Thread.setDaemon can only be called before
the target thread has been started, which allowed me to simplify the
code to track daemon threads in the VM.
2010-12-09 19:38:12 -07:00
..
avian update copyright years 2010-12-05 20:21:09 -07:00
java avoid inifinite recursion if java.lang.Object is missing; refactoring 2010-12-09 19:38:12 -07:00
sun/reflect more work towards OpenJDK classpath support 2010-09-14 10:49:41 -06:00
java-io.cpp update copyright years 2010-12-05 20:21:09 -07:00
java-lang.cpp update copyright years 2010-12-05 20:21:09 -07:00
java-net.cpp set wsaInitialized to true on success in Java_java_net_Socket_init 2010-09-13 19:50:24 -06:00
java-nio.cpp update copyright years 2010-12-05 20:21:09 -07:00
java-util-zip.cpp throw OutOfMemoryError if malloc returns null pointer 2009-12-05 15:51:12 -07:00
java-util.cpp update copyright years 2009-12-02 19:08:29 -07:00
jni-util.h update copyright years 2009-12-02 19:08:29 -07:00