Page 1 of 1

How to make your applet fast ! Proguard-and JCIDE

Posted: Mon Jul 08, 2019 5:36 am
by kuafu

Re: Proguard-and JCIDE

Posted: Mon Jul 08, 2019 5:39 am
by kuafu

Re: Proguard-and JCIDE

Posted: Wed Jul 10, 2019 10:18 pm
by kuafu
How to build with proguard

Re: How to make your applet fast ! Proguard-and JCIDE

Posted: Wed Jul 10, 2019 10:20 pm
by kuafu

Re: How to make your applet fast ! Proguard-and JCIDE

Posted: Tue Dec 03, 2019 10:57 am
by KristenRad
Thanks for sharing your pitch. Not long ago I was searching for this answer.

Re: How to make your applet fast ! Proguard-and JCIDE

Posted: Thu Mar 31, 2022 3:19 pm
by SPaikmos
Are there any instructions on how to use proguard without the JCIDE? We use a different toolchain to develop the applet, and would like to run proguard from the commandline.

I have been able to run proguard, but I run into an error when trying to generate the .CAP file. The converter complains of the following:

unsupported bytecode astore_0 in clinit method.
unsupported bytecode aload_0 in clinit method.

The issue comes from a final static []byte array. AIUI, astore_<n> and aload_<n> are valid JVM bytecodes for JCRE, so I don't understand why I'm encountering this issue. Any ideas?