[kaffe] quick init arg flag question

gonzo Robert.N.Gonzalez@williams.edu
Fri, 16 Aug 2002 11:50:41 -0400 (EDT)


in kaffe/kaffevm/verify.c:verify3() there's a check to see if the 3rd pass
of the verifier should be run on a class.  that check is:
  if ((class->loader == 0 && (Kaffe_JavaVMArgs[0].verifyMode & 1) == 0) ||
      (class->loader != 0 && (Kaffe_JavaVMArgs[0].verifyMode & 2) == 0)) {
		return (true);
  }

i found Kaffe_JavaVMArgs[] in kaffe/kaffevm/jni.c and it sets verifyMode
to 0 (that is, the verifier will never be run on any class, at least by
default).

what do the bits of verifyMode in struct JavaVMInitArgs (the type of
Kaffe_JavaVMArgs[], declared in include/jni.h) mean?


thanks,
~rob