Bonjour,

You  are right about static initializer. So I have done an insert before of 
String build with a lot of  b[O]=1,b[1]=........b[2002=0
That's ok, it works.
But  the code of my class become a huge one
Before insertion java bytecode=1377 bytes
After insertion of 2 byte arrays (size=2002+1061 bytes) the java bytecode 
size=62394 bytes!
I have also tested directly in the java source the {0,34,78...}, the resulting 
size is quite the same.

I decided to use String (initialized with an hexa decimal encoding of my 
compressed  bytes) instead of byte arrays then the java bytecode size=7123 bytes
Better, even not perfect
Thanks you 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862650#3862650

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862650


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to