kuix Obfuscation

9 messages - 206 views

Obfuscation apart from making secureing jar files one important factor is that is also makes it smaller.

When Using Obfuscation Level = high in Nextbeans 6.1 Kuix tend to generate Uncaught exception java/lang/OutOfMemoryError.
 when you click on a any <menupopup> from the kuix demo,  Does anyone know why that happends ? Or is there any better way to compress kuix ?

It seems that some bugs appear in a Kuix based application when the Obfuscation is level = high in NetBeans.

Obfuscator arguments:
    -dontusemixedcaseclassnames
    -defaultpackage ''
    -overloadaggressively
    -keep public class ** extends javax.microedition.midlet.MIDlet {
        public *;
    }

 

Know bugs :

  • Cancel a MenuPopup will generate an out of memory exception
  • Tab buttons are all selected on startup

If you find other bugs, please post then there.

Hello, thanks for the reply. I'll makes sure i post them here. But how can one correct this bug ?

The two mentionned bugs are fixed and it will be soon available on SVN. But it seems that full obfuscation change a little code interpretation.

For example in the previous cases, a normaly uncalled method was called more than it need when the code wes obfuscated. I think that the parameter : overloadaggressively have some not desired consequences.

It seems that the main problem comes from the old ProGuard 3.7 obfuscator used in NetBeans 6.1.

 

The good news is that NetBeans 6.5 beta inclues ProGuard 4.2 !

... and it works fine with NetBeans 6.5 ...

Bo thanks, i just downloaded my Netbeans6.5 and the obfuscator (High) works fine  . I think Every body should better upgrade ....

Hi Guys,

When Using Obfuscation Level = high in Nextbeans 6.5 Kuix tend to generate Uncaught exception java/lang/OutOfMemoryError.
 when I click on a any <menupopup> from the my own application,

Suggest me as to how to avoid this...

Thanks in

Hi Guys,

When Using Obfuscation Level = high in Nextbeans 6.5 Kuix tend to generate Uncaught exception java/lang/OutOfMemoryError.
 when I click on a any <menupopup> from the my own application,

Suggest me as to how to avoid this...

Thanks in advance...

Cheers

Desi