# Wednesday, September 26, 2012
« IKVM.NET 7.2 Release Candidate 1 | Main | Bye Bye ConstructorBuilder »
IKVM.NET 0.46 Update 2 Release Candidate 0

The 0.46 version is the last version based on Java 6 and as mentioned previously would be supported longer than a typical release. Based on user feedback I decided to post an update that fixes a number of bugs that have been found since the previous release.

Changes (relative to 0.46 Update 1):

  • Updated version to 0.46.0.3.
  • Bug fix. java.lang.Package was not populated from manifest for ikvmc compiled assemblies.
  • Bug fix. When writing a direct ByteBuffer to a non-blocking socket and the write fails because there is no kernel buffer available, we should not advance the ByteBuffer position.
  • Bug fix. When adding certificates to virtual cacerts file make sure that the aliases are unique.
  • Bug fix. If a finally/fault handler contains reachable code before the handler's start index, the handler should branch to the handler start index.
  • Bug fix. After emitting a finally/fault handler block, we should emit the block leave stubs (even though you can't leave the block, they also emit the backward branch stubs).
  • Bug fix. If a Java class extends a remapped .NET type (cli.System.Object or cli.System.Exception), we should correctly report the base class.
  • Bug fix. If we encounter a jsr or ret instruction, we should throw a VerifyError (instead of NotImplementedException).
  • Bug fix. If an exception block ends with an astore, we need to propagate the local variable type after the astore to the exception handler.
  • Disable AppDomain.ProcessExit hook to run shutdown hooks when running on Mono to workaround https://bugzilla.xamarin.com/show_bug.cgi?id=5650
  • Bug fix. Custom attribute properties that don't have a public getter and setter should not be exposed as annotation properties.
  • Bug fix. Non-public property getter/setter methods should be ignored when we create properties to hide properties inherited from shadow types. This fixes a build break with .NET 4.5 beta which introduces a protected setter for Exception.HResult.
  • Bug fix. The $Method inner class for delegates should also be loadable for generic delegates. Thanks to Michael Bayne for reporting this.
  • Bug fix. When constructing a generic class loader we can't use GetWrapperFromType() on the type arguments, because they might refer to a subtype that is currently being loaded.
  • Replaced non-ascii character (micro) with ascii 'u' in Win32PrintService.java.
  • IKVM.Reflection: Bug fix. Resource Directory Entries must be sorted and names are case-insensitive.

Binaries available here: ikvmbin-0.46.0.3.zip

Sources: ikvmsrc-0.46.0.3.zip, openjdk6-b22-stripped.zip

Wednesday, September 26, 2012 8:16:30 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]