piazzesiNiccolo-GS

Results 23 comments of piazzesiNiccolo-GS

Hi, thanks for the PR! Apologies for the waiting time. Do you have a minimal reproduction of the issue that help us understand how you encountered this? Code looks good,...

> The unit test I added contains one such annotation class. Perfect, thanks!

>For reference, it seems the [way R8 does it](https://r8.googlesource.com/r8/+/490bc53d9310d4cc2a5084c05df4aadaec8c885d/src/main/java/com/android/tools/r8/JdkClassFileProvider.java#113) is to use the jrt:/ file system to load the JDK class files[1](https://github.com/Guardsquare/proguard/issues/473#user-content-fn-1-7dec3cf99a349a2e2484f499b05b586c). Which seems to work even if the jmod...

Thanks for the report! I was able to patch your PR and reproduce the issue locally. It indeed seems to be caused by the method/specialization/parametertype optimization not detecting the check...

Hello, the instructions for pure java projects can be found at this link: https://www.guardsquare.com/manual/setup/gradle The setup looks fine, are you correctly importing ProGuardTask at the top of your gradle file?...

Hi, could you explain what is the crash you are seeing? It would also help if you could provide a minimally reproducing sample.

Hi, thanks for the sample! It really helps investigating this. I managed to get the app working by additionally adding `-dontprocesskotlinmetadata`, which restores the app behaviour. I was also able...

Hi! This error typically appears if you do not pass the correct `libraryjars` for the runtime library. You can learn more about these type of errors in the [troubleshooting documentation...

I think I know what the issue is. The broken version gets compiled to this invokedynamic call: ```bash $ javap -v org.example.TestClass ``` ```java public int method1(); descriptor: ()I flags:...

Yes that's indeed the correct adaptclassstrings rule, apologies for the confusion. The rule must target classes where the enum is used, not the enum per se.