Re: [Ikvm-developers] Class.forName and csharp classes
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2017-02-17 14:05:48
|
Hi Martin, Did you take into account that the C# classes get a "cli." prefix in Java (by default)? You can apply the IKVM.Attributes.NoPackagePrefixAttribute to the class or assembly to disable this. Regards, Jeroen > -----Original Message----- > From: Martin Gerhardy [mailto:M.G...@bi...] > Sent: Wednesday, February 15, 2017 11:34 > To: ikv...@li... > Subject: [Ikvm-developers] Class.forName and csharp classes > > Hi, > > we are converting a deserialization jar via ikvm into a dll and bind a > csharp class via guice to some of the serialized classes. The java code > contains a call for Class.forName for that class. As our injected class > is a csharp class, this doesn't work. Is there any way to work around > this? (In the sense the Class.forName also finds csharp classes?) > > Regards > Martin |