>> This may be a stupid question, but is it possible to >> use BCEL to wrap> a native method? > > In what sense?
I mean insert java code that will run before and/or after the native method executes. For time related testing of our system I'd like to fool it to think its running in the future, I wondered if BCEL could be used to modify the value returned by java.lang.System.currentTimeMillis(); transparently to the rest of the program > You can't modify system classes Is this true if I used something like the JavaWrapper example class to replace the class loader for the application? Thanks Andrew -- Andrew Smallbone <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
