# Tuesday, September 6, 2011
« Platform MBean Server | Main | New Development Snapshot »
New Development Snapshot

Time for a new snapshot.


  • Enabled parallel class loading.
  • Fix ClassLoader.findLoadedClass0() to handle null string.
  • Fixed class loader to always check parent class loader for validity.
  • Implemented platform MBean server support (although with very limited information/exposed operations).
  • Fixed race condition in Thread.initContextClassLoader().
  • Updated StringHelper to OpenJDK 7.
  • Fixed field reflection not use "slow path" to get consistent exception behavior (accessing Throwable fields on non-Java exceptions is not supported).
  • Implemented Unsafe.defineClass().
  • Completed implementation of new Unsafe.copyMemory() overload. This fixes several direct ByteBuffer regressions (introduced when we started using OpenJDK 7).
  • Implemented SocketChannel.sendOutOfBandData().
  • Implemented DatagramChannel multicast methods.
  • Fix for #3404229.
  • Bug fix. Don't create a miranda method if the class already has a static method with the same signature.

Binaries available here: ikvmbin-7.0.4266.zip

Tuesday, September 6, 2011 12:07:48 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [5]
Tuesday, September 6, 2011 3:51:41 PM (W. Europe Daylight Time, UTC+02:00)

I am not sure if this is the right place to ask question. Kindly forgive my ingnorance.

I am trying to call a function written in java (converted to DLL ) that loads spring beans.I have converted all dependencies to dll.
But Event the simplest application context is not getting loaded.

App context :
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"


Code snippet to load Beans:

String[] configFiles = new String[] { "D:/config/spring/*.xml", "D:/config/spring/" + type + "/*.xml" };
FileSystemXmlApplicationContext ctx = null;
ctx = new FileSystemXmlApplicationContext(configFiles);
}catch(Exception e){
log.info("context NOT created successfully");

*'type' is being passed to function and all xml exists on the path.

Th exception that I get is :
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 5 in XML document from file [D:\config\spring\applicationContext-jdbc.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 5; columnNumber: 6; cvc-elt.1: Cannot find the declaration of element 'beans'.

Spring version that I am using is : org.springframework.beans-3.0.0.RC1.dll

Code works fine with JVM.
Can you please point out what I am doing wrong here?

Thanks and regards
Saturday, September 10, 2011 4:25:27 AM (W. Europe Daylight Time, UTC+02:00)

Post your question on http://www.stackoverflow.com.

Tuesday, September 13, 2011 8:24:18 AM (W. Europe Daylight Time, UTC+02:00)

I was wondering why you are no longer providing sources with these snapshots.
I really like being able to build the libraries with different .net target environments.

Please could you provide sources for the next likely beta candidate.
(maybe for stripped open jdk too)

Thanks very much.
Tuesday, September 13, 2011 3:08:08 PM (W. Europe Daylight Time, UTC+02:00)
I generally don't provided source zips with snapshots, the source is available in cvs. For the required snapshot look for the most recent post the list them. In this case http://weblog.ikvm.net/PermaLink.aspx?guid=897f3cb2-9c9b-40c9-a9d7-c72a1a6d44a7

For release candidates (which are feature complete and better tested than snapshots) I do post source snapshots as well.
Thursday, September 22, 2011 9:27:44 AM (W. Europe Daylight Time, UTC+02:00)
Hi Jeroen,

Thanks very much, makes sense now that you mention it. Do you have any idea when you might have a release candidate ready for java 7. It would be great to do some testing on the new platform.

Comments are closed.