Re: Problems with IKVM.NET Compiler version 7.4.5196.0 and ikvm-maven-plugin

Dmytro Gumeniuk <[email protected]>
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <CAJNwxMSkO8tKJcW8Da3jMnNSukAwEm=yxXM13CE1FYNdzSgn5g@mail.gmail.com>
Email Signature2
Want to know when your emails are opened? Click
Here<https://emailcherry.com/extension/redirect/9/aHR0cHM6Ly9lbWFpbGNoZXJyeS5jb20=>
 [image:
biz-tracker]


On Wed, Apr 30, 2014 at 1:35 PM, Dmytro Gumeniuk <[email protected]> wrote:

> Hi all.
> I need to compile Java project into dll library which I will include in
> xamarin project.
> I'm using OS 1.9, Oracle JDK 1.7, IKVM.NET <http://ikvm.net/> *Compiler
> version 7.4.5196.0.*
> I've tried to compile Java project with maven and ikvm-maven-plugin:1.1.4
> and received an exception.
>
> [INFO] --- ikvm-maven-plugin:1.1.4:ikvm (default-ikvm) @
> poker-web-client-mobile-ios-native ---
> [WARNING] IKVM.NET <http://ikvm.net/> Compiler version 7.4.5196.0
> Copyright (C) 2002-2014 Jeroen Frijters
> http://www.ikvm.net/
>
>
> *** INTERNAL COMPILER ERROR ***
>
> PLEASE FILE A BUG REPORT FOR IKVM.NET <http://ikvm.net/> WHEN YOU SEE
> THIS MESSAGE
>
> ikvmc, Version=7.4.5196.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58
> /Library/Frameworks/Mono.framework/Versions/3.2.6/lib/mono/2.0
> 2.0.50727.1433 32-bit
>
> System.NotSupportedException: IKVM.Reflection must be compiled with MONO
> defined to support writing Mono debugging symbols.
>   at IKVM.Reflection.Impl.SymbolSupport.CreateSymbolWriterFor
> (IKVM.Reflection.Emit.ModuleBuilder moduleBuilder) [0x00000] in <filename
> unknown>:0
>   at IKVM.Reflection.Emit.ModuleBuilder..ctor
> (IKVM.Reflection.Emit.AssemblyBuilder asm, System.String moduleName,
> System.String fileName, Boolean emitSymbolInfo) [0x00000] in <filename
> unknown>:0
>   at IKVM.Reflection.Emit.AssemblyBuilder.DefineDynamicModule
> (System.String name, System.String fileName, Boolean emitSymbolInfo)
> [0x00000] in <filename unknown>:0
>   at IKVM.Internal.CompilerClassLoader.CreateModuleBuilder () [0x00000] in
> <filename unknown>:0
>   at IKVM.Internal.DynamicClassLoader.Get
> (IKVM.Internal.ClassLoaderWrapper loader) [0x00000] in <filename unknown>:0
>   at IKVM.Internal.ClassLoaderWrapper.GetTypeWrapperFactory () [0x00000]
> in <filename unknown>:0
>   at IKVM.Internal.ClassLoaderWrapper.DefineClassCritical
> (IKVM.Internal.ClassFile f, System.Object protectionDomain) [0x00000] in
> <filename unknown>:0
>   at IKVM.Internal.ClassLoaderWrapper.DefineClass (IKVM.Internal.ClassFile
> f, System.Object protectionDomain) [0x00000] in <filename unknown>:0
>   at IKVM.Internal.CompilerClassLoader.GetTypeWrapperCompilerHook
> (System.String name) [0x00000] in <filename unknown>:0
>   at IKVM.Internal.CompilerClassLoader.LoadClassImpl (System.String name,
> Boolean throwClassNotFoundException) [0x00000] in <filename unknown>:0
>   at IKVM.Internal.ClassLoaderWrapper.LoadClassByDottedNameFastImpl
> (System.String name, Boolean throwClassNotFoundException) [0x00000] in
> <filename unknown>:0
>   at IKVM.Internal.ClassLoaderWrapper.LoadClassByDottedNameFast
> (System.String name) [0x00000] in <filename unknown>:0
>   at IKVM.Internal.CompilerClassLoader.CompilePass1 () [0x00000] in
> <filename unknown>:0
>   at IKVM.Internal.CompilerClassLoader.Compile (System.String
> runtimeAssembly, System.Collections.Generic.List`1 optionsList) [0x00000]
> in <filename unknown>:0
>   at IkvmcCompiler.Compile (System.String[] args) [0x00000] in <filename
> unknown>:0
>   at IkvmcCompiler.Main (System.String[] args) [0x00000] in <filename
> unknown>:0
>
> *But for me all this compilation process works with old IKVM 7.0.2 and
> Java 1.6.*
> But I see that in new version *7.4.5196.0 *you have already supported
> Java 1.7 and many feachures like reflection and others.
> Please tell me is it possible use version *7.4.5196.0 *for compile java
> 1.7 code into dll library?
> If yes then how?
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Want to know when your emails are opened? Click Here<https://emailcherry.com/extension/redirect/9/aHR0cHM6Ly9lbWFpbGNoZXJyeS5jb20=>  [image:
> biz-tracker]
>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.