[vmkit-commits] [vmkit] r79188 - /vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Sun Aug 16 04:51:21 PDT 2009
Author: geoffray
Date: Sun Aug 16 06:51:21 2009
New Revision: 79188
URL: http://llvm.org/viewvc/llvm-project?rev=79188&view=rev
Log:
No need to abort after all: vmjc will insert a callback
if it can't find the class.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp?rev=79188&r1=79187&r2=79188&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp Sun Aug 16 06:51:21 2009
@@ -291,11 +291,7 @@
// Put into ctpRes because there is only one representation of the class
temp = loader->loadName(name, resolve, false);
}
- if (!temp && classDef->classLoader->getCompiler()->isStaticCompiling()) {
- fprintf(stderr, "Could not find class %s while static compiling\n",
- UTF8Buffer(name).cString());
- abort();
- }
+
ctpRes[index] = temp;
}
#endif
More information about the vmkit-commits
mailing list