[EMAIL PROTECTED] wrote:
...
-            int typeCode = llCas.ll_getFSRefType(fsRef);
+            int typeCode = llCas.ll_getFSRefType(fsRef, true);

Another way to do this is to have a public static final boolean doChecks
somewhere, which you can then turn on and off easily.  That way, you
can also do performance testing with and without checks, to see if it
makes a difference.  A static final boolean will get inlined, and if
set to false, the checks will be completely eliminated by the JIT
compiler.  Just a thought.

--Thilo

Reply via email to