Re: Anyone developing Java ME on OS X?
James Closs <[email protected]> Wed, 16 Jul 2008 09:00:57 +0100
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <[email protected]> |
Hi Robert, Thanks - I tried this but it doesn't work either. The app won't even launch on my 7610 using this method. If I obfuscate using Proguard v2.1 any preverifier I have tried (four of them including the MPower one) seems to crash (see below), some of them don't output anything but from the size of the resultant JAR it seems they're all doing the same thing. This never used to happen! [exec] preverify(1989) malloc: *** error for object 0x33ca50: incorrect checksum for freed object - object was probably modified after being freed, break at szone_error to debug [exec] preverify(1989) malloc: *** set a breakpoint in szone_error to debug If I use ProGuard later than 2.1 the preverifier appears to work OK, though apps obfuscated with ProGuard v3.x don't launch at all on the 7610 and those obfuscated with 4.x give a ClassFormatError at some point! So I'm pretty stumped. I think the problem is only with CLDC1.0 devices, certainly it's just with older devices. Hopefully I'll find a solution soon! cheers > you could try using the preverification mechanism of ProGuard > itself (using the "-microedition" switch). > Haven't tried this myself though - I use the mPower Player > preverifier without problems... ==== James Closs, Director, bitBull Ltd http://www.bitbull.com 07771 991171 ==== =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".