[Ikvm-developers] Support for sun.misc.Unsafe.arrayBaseOffset(Object[].class)
Brought to you by:
jfrijters
|
From: Vittorio R. <vri...@re...> - 2017-04-10 09:25:25
|
Hi ikvm-developers, I'm working on [1] project and I'm using IKVM to run the java test suite developed for the Java client [2] against the dotnet-client. IKVM works very well and saved me lot of time, but I'm now facing an issue [3] in running Java tests that use sun.misc.Unsafe class. What seems to happen is that running in IKVM arrayBaseOffset returns an unexpected value (not 2 and not 3) and causes an exception here [4] I've read that java Unsafe is not fully supported, do you have plan to work on this? Can you suggest me a workaround for now? I've seen something related in message [5] Thank you! Vittorio [1] https://github.com/rigazilla/dotnet-client [2] https://github.com/infinispan/infinispan/tree/master/client [3] https://gist.github.com/rigazilla/4be552e2c1375bde21da890e2a58fe69 [4] https://github.com/ben-manes/caffeine/blob/v2.4.0/caffeine/src/main/java/com/github/benmanes/caffeine/cache/MpscGrowableArrayQueue.java#L598 [4] https://sourceforge.net/p/ikvm/mailman/message/35520859/ |