Re: Are there classes that IKVMC will not convert?
Gerard Gagliano <[email protected]> Tue, 10 May 2016 07:39:00 -0600
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Jeroen, Thank you for the guidance and tip. Andrew, thank you for the offer, but the answer is embarrassingly simple. The classes are indeed in the dll, their visibility is limited. My error was in believing that the Visual Studio Object Explorer would show all classes - which it does not. The developer tool ildasm will show all classes in the dll. Hope this helps others who may see the same. Regards, Gerard -- > On May 10, 2016, at 7:24 AM, Andrew T. Finnell <[email protected]> wrote: > > Gerard, > > Would you mind posting the version of IKVM and the Maven-Style Version of the netty jar? I'd like to try this myself and see if I obtain the same results. You're missing the MpscLinkedQueue class from the resultant Assembly correct? > > For example: > IKVM: 8.1.5717.0 > Netty: io.netty:netty-common:4.0.36.Final > > There seems to be a few bug tickets with netty itself and I'm wondering if it's a version issue so I'd like to take a look at the specific version you're using. Thanks! > > You'll have my personal email so you can reach me on Hangouts if needed. I also see your Stackoverflow question which we can use to communicate as well. > > Regards, > > Andrew T. Finnell > > -----Original Message----- > From: Gerard Gagliano [mailto:[email protected]] > Sent: Monday, May 9, 2016 8:47 PM > To: Jeroen Frijters <[email protected]> > Cc: [email protected] > Subject: Re: [Ikvm-developers] Are there classes that IKVMC will not convert? > > Jeroen, > > I identified all classes needed, whether they stemmed from unneeded classes or not. I converted all dependent jars individually, and referenced them (-r) on the command line. All conversions completed with no errors and no warnings (both with and without the -static switch). > > However, the resulting dll still does not contain all the classes from the jar. > > I don’t understand if there’s still something I’ve done wrong. > > Thanks again for your help. It’s greatly appreciated. > > Regards, > g > > -- >> On May 9, 2016, at 9:40 AM, Jeroen Frijters <[email protected]> wrote: >> >> If you use the -static option, it should give a better warning. >> >>> -----Original Message----- >>> From: Gerard Gagliano [mailto:[email protected]] >>> Sent: Monday, May 9, 2016 17:35 >>> To: Jeroen Frijters <[email protected]> >>> Cc: [email protected] >>> Subject: Re: [Ikvm-developers] Are there classes that IKVMC will not >>> convert? >>> >>> Jeroen, >>> >>> Thanks for the quick response. I had researched every base class >>> (for the example MpscLinkedQueue) and interface it uses. Is there a >>> way to see the error conditions under which the class is discarded? >>> >>> Thanks! >>> >>> Regards, >>> g >>> >>> -- >>>> On May 9, 2016, at 9:25 AM, Jeroen Frijters <[email protected]> wrote: >>>> >>>> Hi Gerard, >>>> >>>> If a class is not converted, it is almost always due to a missing >>>> base >>> class or interface. >>>> >>>> Regards, >>>> Jeroen >>>> >>>>> -----Original Message----- >>>>> From: Gerard Gagliano [mailto:[email protected]] >>>>> Sent: Monday, May 9, 2016 17:04 >>>>> To: [email protected] >>>>> Subject: [Ikvm-developers] Are there classes that IKVMC will not >>>>> convert? >>>>> >>>>> Hello all, >>>>> >>>>> I am trying to convert a jar to a dll and am running into a problem. >>>>> >>>>> A simple example of the problem I am seeing, is converting a jar >>>>> like netty-common to a dll. The command: >>>>> >>>>> ikvmc ..\netty-common…jar -target:library >>>>> >>>>> receives some warnings about external classes that I do not need, >>>>> and I receive no errors. >>>>> >>>>> However, the resulting dll is missing classes that are in the jar. >>>>> The classes do not refer to any of the external classes identified >>>>> in the warnings. An example missing class in this jar is >>> MpscLinkedQueue. >>>>> >>>>> Is there a way to get ikvmc to convert all classes? >>>>> >>>>> Any advice is greatly appreciated. >>>>> >>>>> g >>>>> -- >>>>> >>>> >> > > > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > _______________________________________________ > Ikvm-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ikvm-developers > ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers