Problems with JNI and currentTimeMillis function

Hello, I have a technical problem: I work on AIX 7.1 with Java 1.7 (32 and 64 bit) and I make an application that intercepts certain functions related to time. In this application there is a Java JNI agent with whom I can intercept the Java "getLastModifiedTime" no problem but I am unable to intercept the "currentTimeMillis".

When the agent is loaded, I use the event JVMTI_EVENT_NATIVE_METHOD_BIND, then I realize my function redirections through the function "getMethodName".

I tried to see where the problem could arise, it seems that it is a phase problem (error 112 returned)

PS: I tried version 1.5 and 1.6 of Java but also it is the same. This problem is only on AIX (on HPUX, Solaris, Linux, Windows agent works fine)

Thank you in advance

Re: Problems with JNI and currentTimeMillis function

Re: Problems with JNI and currentTimeMillis function

I'm sorry, I did this because I have no answer on any forum, so by multiplying I augment my chances ...