Hi Bostjan,
I just tested it under sun's JDK 1.5 and open JDK 1.8 and both worked fine with trunk code.
In \trunk\jni4net.test.j\src\test\java\net\sf\jni4net\test\TestClr.java
I added folowing test
@Test()
public void testCWithJavaStatic() {
int res= JavaCallBack.callBackStatic(1,2);
Assert.assertThat(res, is(3));
}
See also
\trunk\jni4net.tested.n\src\StaticMethods.cs
TestRefParam(ref int num)
If you could add test which fails it would be great.
Note that on 64bit system, Geert reported and memory corruption issue recently, which i'm going to release fix for soon.
release candidate here. Could you please try it with new version, perhaps it will fix your issue too ?
Also I'm curious, what kind of runtime you have with under coldfusion. And any lessons learned which you could share with community about jni4net on the platform.
Cheers
Pavel