Java 11 is not supported
that's a nice Christmas gift, thanks Lars :)
According to: https://sourceforge.net/p/proguard/bugs/670/#d83e https://sourceforge.net/p/proguard/discussion/182456/thread/26cee3c5/#c0a4 We need to wait 6.0 beta 2 to test Java 9 support.
Tried this, still the same error (can't find superclass or interface java.lang.Object): -libraryjars ${java.home}/jmods -libraryjars ${java.home}/lib -dontwarn com.oracle.jmc.**
Thank you for releasing 6.0beta! Is there some documentation for Java 9 support? I don't understand how to make it work with new JDK structure. If I use: <taskdef resource="proguard/ant/task.properties" classpath="tools/proguard.jar"/> <proguard> -injars ${dist.jar} -outjars ${dist-optimized.jar} #-libraryjars ${java.home}/lib/rt.jar #-libraryjars ${java.home}/lib/jce.jar #-libraryjars ${java.home}/lib/ext/jfxrt.jar -libraryjars ${java.home}/jmods/java.base.jmod </proguard> I get: [proguard] Reading...
Thank you for your answer. Would you accept a feature request for this?
We're using ProGuard 5.3.3 to shrink our library (no optimization, no obfuscation). As advised by the documentation, we keep the unused public API as follows: -keep public class * { public protected *; } It works fine. Now we would like to create a special jar that removes all unused deprecated API, but still maintain the other public APIs. I've tried the following and several variants but it does not work: -keep !@Deprecated public class * { !@Deprecated public protected *; } Whenever I try to negate...
See discussion here: https://sourceforge.net/p/proguard/bugs/551/