ServiceLoader not working after compiling the jar to a DLL
Venkateswarlu Yerramalli <[email protected]> Wed, 20 Jul 2016 17:53:39 +0530
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <CAJE46=5-=gFV8ZWHmQc9-ap=J6-OY-LesVPUyHd9HB9LUFU8-g@mail.gmail.com> |
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 ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers