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

Time for a new snapshot.

Changes:

  • 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, 06 September 2011 12:07:48 (W. Europe Daylight Time, UTC+02:00)  #    Comments [5]
Tuesday, 06 September 2011 15:51:41 (W. Europe Daylight Time, UTC+02:00)
Hi,

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"
xmlns="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
>
</beans>

/***************************/

Code snippet to load Beans:
/*******************************/

String[] configFiles = new String[] { "D:/config/spring/*.xml", "D:/config/spring/" + type + "/*.xml" };
FileSystemXmlApplicationContext ctx = null;
try{
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
Ankur
Ankur
Saturday, 10 September 2011 04:25:27 (W. Europe Daylight Time, UTC+02:00)
Ankur,

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

Gili
Gili
Tuesday, 13 September 2011 08:24:18 (W. Europe Daylight Time, UTC+02:00)
Hi,

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.
Regards
Craig.
Craig
Tuesday, 13 September 2011 15:08:08 (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, 22 September 2011 09:27:44 (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.

Thanks
Craig
Name
E-mail
Home page

I apologize for the lameness of this, but the comment spam was driving me nuts. In order to be able to post a comment, you need to answer a simple question. Hopefully this question is easy enough not to annoy serious commenters, but hard enough to keep the spammers away.

Anti-Spam Question: What method on java.lang.System returns an object's original hashcode (i.e. the one that would be returned by java.lang.Object.hashCode() if it wasn't overridden)? (case is significant)

Answer:  
Comment (HTML not allowed)  

Live Comment Preview