Skip to content

sun.misc.Unsafe.arrayIndexScale(Object[].class) should return a reference size.
It was returning 1 which is now changed to 4.

This is still not fully correct, but should work well in most cases since JVM
uses compressed ordinary object pointers by default. The size of a reference
is 4 even on a 64-bit VM.

The new package is available via NuGet at https://www.nuget.org/packages/IKVM.WINDWARD/

Assets 2

@DavidThi808 DavidThi808 released this Jul 25, 2018 · 3 commits to master since this release

If you are using .NET 3.5 or earlier, then in the three .config files flip the order of the supportedRuntime nodes to:

    <supportedRuntime version="v2.0.50727" />
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />

When you build IKVM it will create these with V2 first as it must be in the above order to build IKVM (no idea why).

  • windward
Assets 3

@DavidThi808 DavidThi808 released this Jul 20, 2018 · 11 commits to master since this release

If you are using .NET 3.5 or earlier, then in the three .config files flip the order of the supportedRuntime nodes to:

    <supportedRuntime version="v2.0.50727" />
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />

When you build IKVM it will create these with V2 first as it must be in the above order to build IKVM (no idea why).

  • windward
Assets 3
You can’t perform that action at this time.