What steps will reproduce the problem?
1. Compile a java class which resides in a package into a .class file
2. Run nme generate -java-externs pkg/SomeClass.class output
3. Attempt to call a method on the generated haxe class in an android app.
What is the expected output? What do you see instead?
I'd expect the native function to be called but instead there's a fatal runtime
exception along the lines of:
JNI WARNING: illegal class name 'pkg.SomeClass'
...
Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 842 (Thread-93)
What version of the product are you using? On what operating system?
OSX 10.8, Haxe 2.10, hxcpp 2.10, nme 3.4.0 and r1966, android 2.2.
Please provide any additional information below.
Changing the generated package pathing to use '/' seems to fix the issue. e.g.
pkg/SomeClass instead of pkg.SomeClass.
Original issue reported on code.google.com by stead.m...@gmail.com on 15 Aug 2012 at 5:49
Original issue reported on code.google.com by
stead.m...@gmail.com
on 15 Aug 2012 at 5:49