incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From monte...@apache.org
Subject svn commit: r892309 - /incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/addClass.c
Date Fri, 18 Dec 2009 16:43:38 GMT
Author: monteith
Date: Fri Dec 18 16:43:35 2009
New Revision: 892309

URL: http://svn.apache.org/viewvc?rev=892309&view=rev
Log:
Allow uninitialized classes to be recorded.

Modified:
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/addClass.c

Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/addClass.c
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/addClass.c?rev=892309&r1=892308&r2=892309&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/addClass.c
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/addClass.c
Fri Dec 18 16:43:35 2009
@@ -70,7 +70,7 @@
 	// Check class is valid before attempting to save any information about it.
 	(*env)->GetClassModifiers(env, class, &classMods);
 	//if (statusP == 0 || statusP & 8){
-	if (!(statusP == 7 || statusP == 16 || statusP == 32 || (statusP == 3 && (classMods
& 0x0200 || classMods & 0x0400)))){
+	if (!(statusP == 7 || statusP == 16 || statusP == 32 || statusP == 3 )){
 		if (statusP & 8){
 			printf("Invalid class: loading error \n");}
 		return NULL;



Mime
View raw message