# Thursday, 17 March 2011
« .NET/C# Generics History | Main | IKVM.Reflection Update »
IKVM.NET 0.46 Release Candidate 1

A new release candidate is available.

Changes since previous release candidate:

  • Changed version to 0.46.0.1.
  • Zip inflater fix (Classpath bug #48131).
  • Support loading resources from assemblies added to the boot classloader (with ikvm.runtime.Startup.addBootClassPathAssemby()).
  • IKVM.Reflection: ILGenerator.BeginExceptFilterBlock() should behave like BeginCatchBlock(), not BeginFinallyBlock().
  • IKVM.Reflection: Type.FullName for a generic type should separate type parameters by commas.
  • IKVM.Reflection: Type.FullName for a generic type should only escape the ']' characters in the assembly names of type parameters.
  • IKVM.Reflection: <Module> should not extend object.
  • IKVM.Reflection: String literals should be read in "as-is", not interpreted as UTF-16.
  • IKVM.Reflection: MethodBody.MaxStack returned incorrect value for tiny header methods.
  • IKVM.Reflection: Getting Module methods/fields should not try to look at the base class of the <Module> type.
  • IKVM.Reflection: Align initialized data arrays on 8 byte boundary.
  • IKVM.Reflection: Align managed resources on 8 byte boundary.

Binaries available here: ikvmbin-0.46.0.1.zip

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

Thursday, 17 March 2011 06:49:16 (W. Europe Standard Time, UTC+01:00)  #    Comments [4]
Thursday, 17 March 2011 15:00:49 (W. Europe Standard Time, UTC+01:00)
Hi, good work. Here is my test.
I retested scala-library.jar v2.8.1 with this version (in the hope my previous posted problems would be solved).
The ikvmc compiler is still generating warnings (see my previous post) and thus my exe dependent on this dll does not work.
The jar version of my application does work with ikvm as in previous versions.
jetlang-0.2.1.jar compiles without problems to jetlang-0.2.1.dll, but my host exe also seems not to find classes in this dll
This is my MANIFEST.MF in actormanagerjetlang.jar host application (so it has a Class-Path entry):

Manifest-Version: 1.0
Class-Path: scala-library.jar jetlang-0.2.1.jar
Created-By: 1.6.0_18 (Sun Microsystems Inc.)
Main-Class: myjobjetlang.ActorManager



The last line is an empty line

Greetings,
Dave

Here is the output:

C:\ikvm\bin-x86>ikvmc -target:library scala-library.jar
Note IKVMC0002: output file is "scala-library.dll"
Warning IKVMC0100: class "scala.Either$$anonfun$joinLeft$1" not found
Warning IKVMC0100: class "scala.Either$$anonfun$joinRight$1" not found
Warning IKVMC0100: class "scala.Enumeration$$anonfun$Value$1" not found
Warning IKVMC0100: class "scala.Predef$Ensuring$$anonfun$ensuring$2" not found
Warning IKVMC0100: class "scala.Predef$Ensuring$$anonfun$ensuring$1" not found
Warning IKVMC0100: class "scala.actors.ReplyReactor$$anonfun$react$1" not found
Warning IKVMC0100: class "scala.actors.ReplyReactor$$anonfun$reactWithin$1" not
found
Warning IKVMC0100: class "scala.actors.Actor$$anonfun$link$2" not found
Warning IKVMC0100: class "scala.actors.Actor$$anonfun$link$1" not found
Warning IKVMC0100: class "scala.actors.Actor$$anonfun$unlink$1" not found
Warning IKVMC0100: class "scala.actors.Actor$$anonfun$receive$1" not found
Warning IKVMC0100: class "scala.actors.Actor$$anonfun$receiveWithin$1" not found

Warning IKVMC0100: class "scala.collection.immutable.BitSet$$anonfun$$plus$1" no
t found
Warning IKVMC0100: class "scala.collection.immutable.BitSet$$anonfun$$minus$1" n
ot found
Warning IKVMC0100: class "scala.collection.immutable.Stream$StreamWithFilter$$an
onfun$foreach$1" not found
Warning IKVMC0100: class "scala.collection.mutable.ArrayBuffer$$anonfun$remove$1
" not found
Warning IKVMC0100: class "scala.collection.mutable.LinkedListLike$$anonfun$inser
t$1" not found
Warning IKVMC0100: class "scala.collection.mutable.FlatHashTable$$anonfun$newThr
eshold$1" not found
Warning IKVMC0100: class "scala.collection.mutable.FlatHashTable$$anonfun$checkC
onsistent$1$$anonfun$apply$mcVI$sp$1" not found
Warning IKVMC0100: class "scala.concurrent.ops$$anonfun$2" not found
Warning IKVMC0100: class "scala.concurrent.ops$$anonfun$1" not found
Warning IKVMC0100: class "scala.reflect.generic.UnPickler$Scan$$anonfun$at$1" no
t found
Warning IKVMC0100: class "scala.reflect.generic.UnPickler$Scan$$anonfun$readSymb
ol$3" not found
Warning IKVMC0100: class "scala.testing.SUnit$Assert$$anonfun$assertSameElements
XML$1" not found
Warning IKVMC0100: class "scala.util.continuations.ControlContext$$anonfun$3$$an
onfun$5" not found
Warning IKVMC0100: class "scala.xml.EntityRef$$anonfun$text$1" not found
Warning IKVMC0100: class "scala.xml.MetaData$$anonfun$toString$1" not found
Warning IKVMC0100: class "scala.xml.MetaData$$anonfun$toString1$1" not found
Warning IKVMC0100: class "scala.xml.NamespaceBinding$$anonfun$toString$1" not fo
und
Warning IKVMC0100: class "scala.xml.NamespaceBinding$$anonfun$buildString$1" not
found
Warning IKVMC0100: class "scala.xml.PrettyPrinter$$anonfun$format$2" not found
Warning IKVMC0100: class "scala.xml.PrettyPrinter$$anonfun$endTag$1" not found
Warning IKVMC0100: class "scala.xml.PrettyPrinter$$anonfun$leafTag$1" not found
Warning IKVMC0100: class "scala.xml.PrettyPrinter$$anonfun$startTag$1" not found

Warning IKVMC0100: class "scala.xml.PrettyPrinter$$anonfun$formatNodes$1" not fo
und
Warning IKVMC0100: class "scala.xml.Utility$$anonfun$escape$1" not found
Warning IKVMC0100: class "scala.xml.Utility$$anonfun$appendQuoted$1" not found
Warning IKVMC0100: class "scala.xml.Xhtml$$anonfun$toXhtml$2" not found
Warning IKVMC0100: class "scala.xml.Xhtml$$anonfun$toXhtml$1" not found
Warning IKVMC0100: class "scala.xml.dtd.ContentModel$$anonfun$toString$1" not fo
und
Warning IKVMC0100: class "scala.xml.dtd.ContentModel$$anonfun$buildString$1" not
found
Warning IKVMC0100: class "scala.xml.dtd.AttrDecl$$anonfun$toString$1" not found
Warning IKVMC0100: class "scala.xml.dtd.DEFAULT$$anonfun$toString$2" not found


C:\ikvm\bin-x86>ikvmc -target:exe actormanagerjetlang.jar 1>>out.txt 2>&1
Note IKVMC0004: using main class "myjobjetlang.ActorManager" based on jar manifest
Note IKVMC0002: output file is "actormanagerjetlang.exe"
Warning IKVMC0105: unable to compile class "myjobjetlang.ActorExecutor$$anonfun$execute$1"
(missing class "scala.runtime.AbstractFunction1$mcVI$sp")
Warning IKVMC0105: unable to compile class "myjobjetlang.ActorExecutor$$anonfun$execute$2"
(missing class "scala.runtime.AbstractFunction1$mcVI$sp")
Warning IKVMC0105: unable to compile class "myjobjetlang.ActorExecutor"
(missing class "org.jetlang.core.BatchExecutor")
Warning IKVMC0105: unable to compile class "myjobjetlang.ActorManager$$anonfun$main$1"
(missing class "scala.runtime.AbstractFunction1$mcVI$sp")
Warning IKVMC0105: unable to compile class "myjobjetlang.ActorManager$"
(missing class "scala.ScalaObject")
Warning IKVMC0100: class "myjobjetlang.ActorManager$" not found
Warning IKVMC0100: class "myjobjetlang.ActorManager$$anonfun$main$1" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.ActorManager.main([Ljava.lang.String;)V"
("myjobjetlang.ActorManager$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.ActorManager.log(Ljava.lang.String;)V"
("myjobjetlang.ActorManager$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.ActorManager.decrementLatch()V"
("myjobjetlang.ActorManager$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.ActorManager.latch()Ljava.util.concurrent.CountDownLatch;"
("myjobjetlang.ActorManager$")
Warning IKVMC0100: class "scala.reflect.ScalaSignature" not found
Warning IKVMC0105: unable to compile class "myjobjetlang.ActorState$"
(missing class "scala.ScalaObject")
Warning IKVMC0100: class "myjobjetlang.ActorState$" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.ActorState.current()Ljava.lang.ThreadLocal;"
("myjobjetlang.ActorState$")
Warning IKVMC0105: unable to compile class "myjobjetlang.DownloadActor$$anonfun$act$1"
(missing class "scala.PartialFunction")
Warning IKVMC0105: unable to compile class "myjobjetlang.JetlangActor"
(missing class "scala.ScalaObject")
Warning IKVMC0105: unable to compile class "myjobjetlang.DownloadActor$"
(missing class "myjobjetlang.JetlangActor")
Warning IKVMC0100: class "myjobjetlang.DownloadActor$" not found
Warning IKVMC0105: unable to compile class "myjobjetlang.ReplyTo"
(missing class "scala.ScalaObject")
Warning IKVMC0100: class "myjobjetlang.ReplyTo" not found
Warning IKVMC0100: class "scala.PartialFunction" not found
Warning IKVMC0100: class "org.jetlang.fibers.Fiber" not found
Warning IKVMC0100: class "scala.Function1" not found
Warning IKVMC0100: class "myjobjetlang.DownloadActor$$anonfun$act$1" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.exit()V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.start()V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.pendingMatch()I"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.applyMsg(Ljava.lang.Object;Lmyjobjetlang.ReplyTo;)Z"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.receiveMsg(Ljava.lang.Object;)V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.$bang(Ljava.lang.Object;)V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.receive(Lscala.PartialFunction;)V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.myjobjetlang$JetlangActor$_setter_$pending_$eq(Ljava.util.ArrayList;)V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.myjobjetlang$JetlangActor$_setter_$fiber_$eq(Lorg.jetlang.fibers.Fiber;)V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.myjobjetlang$JetlangActor$_setter_$root_$eq(Lscala.PartialFunction;)V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.sender_$eq(Lmyjobjetlang.ReplyTo;)V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.sender()Lmyjobjetlang.ReplyTo;"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.pending()Ljava.util.ArrayList;"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.fiber()Lorg.jetlang.fibers.Fiber;"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.target_$eq(Lscala.PartialFunction;)V"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.target()Lscala.PartialFunction;"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.root()Lscala.PartialFunction;"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.createFiber(Lscala.Function1;)Lorg.jetlang.fibers.Fiber;"
("myjobjetlang.DownloadActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.DownloadActor.act()Lscala.PartialFunction;"
("myjobjetlang.DownloadActor$")
Warning IKVMC0105: unable to compile class "myjobjetlang.IndexActor$$anonfun$act$2"
(missing class "scala.PartialFunction")
Warning IKVMC0105: unable to compile class "myjobjetlang.IndexActor$"
(missing class "myjobjetlang.JetlangActor")
Warning IKVMC0100: class "myjobjetlang.IndexActor$" not found
Warning IKVMC0100: class "myjobjetlang.IndexActor$$anonfun$act$2" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.exit()V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.start()V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.pendingMatch()I"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.applyMsg(Ljava.lang.Object;Lmyjobjetlang.ReplyTo;)Z"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.receiveMsg(Ljava.lang.Object;)V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.$bang(Ljava.lang.Object;)V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.receive(Lscala.PartialFunction;)V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.myjobjetlang$JetlangActor$_setter_$pending_$eq(Ljava.util.ArrayList;)V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.myjobjetlang$JetlangActor$_setter_$fiber_$eq(Lorg.jetlang.fibers.Fiber;)V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.myjobjetlang$JetlangActor$_setter_$root_$eq(Lscala.PartialFunction;)V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.sender_$eq(Lmyjobjetlang.ReplyTo;)V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.sender()Lmyjobjetlang.ReplyTo;"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.pending()Ljava.util.ArrayList;"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.fiber()Lorg.jetlang.fibers.Fiber;"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.target_$eq(Lscala.PartialFunction;)V"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.target()Lscala.PartialFunction;"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.root()Lscala.PartialFunction;"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.createFiber(Lscala.Function1;)Lorg.jetlang.fibers.Fiber;"
("myjobjetlang.IndexActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.IndexActor.act()Lscala.PartialFunction;"
("myjobjetlang.IndexActor$")
Warning IKVMC0100: class "myjobjetlang.JetlangActor" not found
Warning IKVMC0100: class "scala.runtime.BoxedUnit" not found
Warning IKVMC0105: unable to compile class "myjobjetlang.Pending"
(missing class "scala.ScalaObject")
Warning IKVMC0100: class "myjobjetlang.Pending" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangActor$$anon$1.run()V"
("myjobjetlang.JetlangActor")
Warning IKVMC0105: unable to compile class "myjobjetlang.JetlangActor$$anonfun$1"
(missing class "scala.runtime.AbstractFunction1")
Warning IKVMC0105: unable to compile class "myjobjetlang.JetlangActor$$anonfun$pendingMatch$1"
(missing class "scala.runtime.AbstractFunction1$mcVI$sp")
Warning IKVMC0100: class "scala.Predef$" not found
Warning IKVMC0100: class "scala.runtime.RichInt" not found
Warning IKVMC0100: class "scala.collection.immutable.Range$Inclusive" not found
Warning IKVMC0100: class "scala.collection.immutable.Range$ByOne" not found
Warning IKVMC0100: class "myjobjetlang.JetlangActor$$anonfun$pendingMatch$1" not found
Warning IKVMC0100: class "scala.runtime.NonLocalReturnControl" not found
Warning IKVMC0100: class "scala.runtime.BoxesRunTime" not found
Warning IKVMC0100: class "org.jetlang.core.Disposable" not found
Warning IKVMC0100: class "myjobjetlang.JetlangActor$$anonfun$1" not found
Warning IKVMC0100: class "scala.collection.immutable.Range" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangActor$class.receive(Lmyjobjetlang.JetlangActor;Lscala.PartialFunction;)V"
("myjobjetlang.JetlangActor")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangActor$class.$bang(Lmyjobjetlang.JetlangActor;Ljava.lang.Object;)V"
("myjobjetlang.JetlangActor")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangActor$class.receiveMsg(Lmyjobjetlang.JetlangActor;Ljava.lang.Object;)V"
("myjobjetlang.ActorState$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangActor$class.applyMsg(Lmyjobjetlang.JetlangActor;Ljava.lang.Object;Lmyjobjetlang.ReplyTo;)Z"
("myjobjetlang.JetlangActor")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangActor$class.pendingMatch(Lmyjobjetlang.JetlangActor;)I"
("scala.Predef$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangActor$class.start(Lmyjobjetlang.JetlangActor;)V"
("myjobjetlang.JetlangActor")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangActor$class.exit(Lmyjobjetlang.JetlangActor;)V"
("myjobjetlang.JetlangActor")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangActor$class.$init$(Lmyjobjetlang.JetlangActor;)V"
("myjobjetlang.JetlangActor")
Warning IKVMC0105: unable to compile class "myjobjetlang.JetlangMain$$anonfun$main$1"
(missing class "scala.runtime.AbstractFunction1$mcVI$sp")
Warning IKVMC0105: unable to compile class "myjobjetlang.JetlangMain$"
(missing class "scala.ScalaObject")
Warning IKVMC0100: class "myjobjetlang.JetlangMain$" not found
Warning IKVMC0100: class "myjobjetlang.JetlangMain$$anonfun$main$1" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangMain.main([Ljava.lang.String;)V"
("myjobjetlang.JetlangMain$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangMain.decrementLatch()V"
("myjobjetlang.JetlangMain$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.JetlangMain.latch()Ljava.util.concurrent.CountDownLatch;"
("myjobjetlang.JetlangMain$")
Warning IKVMC0105: unable to compile class "myjobjetlang.Message$"
(missing class "scala.runtime.AbstractFunction2")
Warning IKVMC0105: unable to compile class "myjobjetlang.Message"
(missing class "scala.ScalaObject")
Warning IKVMC0105: unable to compile class "myjobjetlang.Pool$"
(missing class "scala.ScalaObject")
Warning IKVMC0100: class "myjobjetlang.Pool$" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.Pool.shutdown()V"
("myjobjetlang.Pool$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.Pool.create(Lscala.Function1;)Lorg.jetlang.fibers.Fiber;"
("myjobjetlang.Pool$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.Pool.executors()Ljava.util.concurrent.ExecutorService;"
("myjobjetlang.Pool$")
Warning IKVMC0105: unable to compile class "myjobjetlang.PooledFiber"
(missing class "scala.ScalaObject")
Warning IKVMC0100: class "myjobjetlang.PooledFiber" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.PooledFiber$class.createFiber(Lmyjobjetlang.PooledFiber;Lscala.Function1;)Lorg.jetlang.fibers.Fiber;"
("myjobjetlang.Pool$")
Warning IKVMC0105: unable to compile class "myjobjetlang.StopMessage$"
(missing class "scala.runtime.AbstractFunction0")
Warning IKVMC0105: unable to compile class "myjobjetlang.StopMessage"
(missing class "scala.ScalaObject")
Warning IKVMC0100: class "org.jetlang.fibers.ThreadFiber" not found
Warning IKVMC0100: class "org.jetlang.core.RunnableExecutorImpl" not found
Warning IKVMC0100: class "myjobjetlang.ActorExecutor" not found
Warning IKVMC0100: class "org.jetlang.core.BatchExecutor" not found
Warning IKVMC0100: class "org.jetlang.core.RunnableExecutor" not found
Warning IKVMC0105: unable to compile class "myjobjetlang.ThreadedFiber"
(missing class "scala.ScalaObject")
Warning IKVMC0100: class "myjobjetlang.ThreadedFiber" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.ThreadedFiber$class.createFiber(Lmyjobjetlang.ThreadedFiber;Lscala.Function1;)Lorg.jetlang.fibers.Fiber;"
("org.jetlang.fibers.ThreadFiber")
Warning IKVMC0105: unable to compile class "myjobjetlang.WriteActor$$anonfun$act$3"
(missing class "scala.PartialFunction")
Warning IKVMC0105: unable to compile class "myjobjetlang.WriteActor$"
(missing class "myjobjetlang.JetlangActor")
Warning IKVMC0100: class "myjobjetlang.WriteActor$" not found
Warning IKVMC0100: class "myjobjetlang.WriteActor$$anonfun$act$3" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.exit()V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.start()V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.pendingMatch()I"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.applyMsg(Ljava.lang.Object;Lmyjobjetlang.ReplyTo;)Z"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.receiveMsg(Ljava.lang.Object;)V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.$bang(Ljava.lang.Object;)V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.receive(Lscala.PartialFunction;)V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.myjobjetlang$JetlangActor$_setter_$pending_$eq(Ljava.util.ArrayList;)V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.myjobjetlang$JetlangActor$_setter_$fiber_$eq(Lorg.jetlang.fibers.Fiber;)V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.myjobjetlang$JetlangActor$_setter_$root_$eq(Lscala.PartialFunction;)V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.sender_$eq(Lmyjobjetlang.ReplyTo;)V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.sender()Lmyjobjetlang.ReplyTo;"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.pending()Ljava.util.ArrayList;"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.fiber()Lorg.jetlang.fibers.Fiber;"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.target_$eq(Lscala.PartialFunction;)V"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.target()Lscala.PartialFunction;"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.root()Lscala.PartialFunction;"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.createFiber(Lscala.Function1;)Lorg.jetlang.fibers.Fiber;"
("myjobjetlang.WriteActor$")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "myjobjetlang.WriteActor.act()Lscala.PartialFunction;"
("myjobjetlang.WriteActor$")

Dave
Thursday, 17 March 2011 15:07:31 (W. Europe Standard Time, UTC+01:00)
You seem to fundamentally misunderstand ikvmc. It is a *static* compiler, so it needs to be told at compile time about the dependencies, also it doesn't understand the Class-Path manifest entry.
Thursday, 17 March 2011 15:49:14 (W. Europe Standard Time, UTC+01:00)
Hi Jeroen,
thanks for your quick answer. So the modules are statically linked and ikvmc makes one big exe of all jars?

How should my command line look like?
actormanagerjetlang.jar is my main application with to dependent library jars: jetlang-0.2.1.jar and scala-library.jar
so with two library jars.

actormanagerjetlang.jar, jetlang-0.2.1.jar and scala-library.jar have no other dependencies (as far as I know) except for jvm bytecode 1.6 and higher.

Is ikvmc ready for java bytecode version1.6?
It seems that ikvm is version 1.6 compatible. it runs only a bit slower than jvm)

C:\ikvm\bin-x86>java -jar actormanagerjetlang.jar
three jetlang actors elapsed = 11964 ms

C:\ikvm\bin-x86>ikvm -jar actormanagerjetlang.jar
three jetlang actors elapsed = 14126 ms

Greetings,
Dave
Dave
Thursday, 17 March 2011 15:57:01 (W. Europe Standard Time, UTC+01:00)
The blog comments are not really intended for support. Please use the ikvm-developers mailing list or mail me directly.

Static compilation does not mean that everything has to be linked into a single file, just that all dependencies have to be explicitly specified.

Yes, ikvmc is compatible with 1.6 bytecode. Obviously ikvm is slower than Java, I'm actually very happy with your numbers. It's quite hard to reimplement a platform on top of another similar but slightly different platform.
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