Venkateswarlu Yerramalli
2016-07-20 12:23:39 UTC
Hi,
I have a jar file from a java project and am trying to use this in a .NET
project. I am successful in using ikvmc to create a dll out of the jar and
when I try to call the methods it fails with
a System.NullReferenceException.
The method where this exception is originating relies on the java
ServiceLoader to load provider implementation and the implementations are
also packaged as part of the same jar that was used for creating the DLL.
Is serviceLoading supported when compiled to a DLL? If so how do I use it?
Thanks,
Venkat
I have a jar file from a java project and am trying to use this in a .NET
project. I am successful in using ikvmc to create a dll out of the jar and
when I try to call the methods it fails with
a System.NullReferenceException.
The method where this exception is originating relies on the java
ServiceLoader to load provider implementation and the implementations are
also packaged as part of the same jar that was used for creating the DLL.
Is serviceLoading supported when compiled to a DLL? If so how do I use it?
Thanks,
Venkat