[vmkit-commits] [vmkit] r180364 - annotationType method is now reported.
Peter Senna Tschudin
peter.senna at gmail.com
Thu Apr 25 10:03:24 PDT 2013
Author: peter.senna
Date: Thu Apr 25 12:01:50 2013
New Revision: 180364
URL: http://llvm.org/viewvc/llvm-project?rev=180364&view=rev
Log:
annotationType method is now reported.
This method crash because the bug in the jit compiler as well as any property of annotation instances
(cherry picked from commit 1ba8ca2892fc80124460b92206bef0210dcb145d)
Modified:
vmkit/trunk/lib/j3/ClassLib/Reflect.inc
Modified: vmkit/trunk/lib/j3/ClassLib/Reflect.inc
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/j3/ClassLib/Reflect.inc?rev=180364&r1=180363&r2=180364&view=diff
==============================================================================
--- vmkit/trunk/lib/j3/ClassLib/Reflect.inc (original)
+++ vmkit/trunk/lib/j3/ClassLib/Reflect.inc Thu Apr 25 12:01:50 2013
@@ -79,11 +79,6 @@ ArrayObject* JavaObjectClass::getDeclare
JnjvmClassLoader* classLoader = cl->classLoader;
uint32 size = 0;
bool annot = false;
-
- // Check if the class is an annotation.
- const UTF8* name = upcalls->newAnnotation->name;
- if (realCl->inheritName(name->elements, name->size))
- annot = true;
// Ugly hack : we don't want this method to return annotationType()
// method for annotations. For that, we start the counter to 1 instead
More information about the vmkit-commits
mailing list