pguardiola
02/21/2018, 11:15 AMjava.lang.reflect.ReflectPermission
for some jars that i included in the classpath i’m still getting the access denied java.lang.reflect.ReflectPermission suppressAccessChecks
error? I’m following the same approach as in https://github.com/JetBrains/kotlin-web-demo/blob/master/kotlin.web.demo.backend/src/main/resources/executors.policy.template#L34-L40 and i double checked that the jars are in the tomcat backend
WEB-INF/lib
folder
is it because the calls are coming from “core” in which the permission is not granted https://github.com/JetBrains/kotlin-web-demo/blob/master/kotlin.web.demo.backend/src/main/resources/executors.policy.template#L29-L32? If so, how can i workaround that?
If i add the suppressAccessChecks in “core” it works fine but obviously that doesn’t seem like the “correct” solution, especially because it’s working for the jars included in https://github.com/JetBrains/kotlin-web-demo/blob/master/kotlin.web.demo.backend/src/main/resources/executors.policy.template
does someone know how this work or what am i missing? Thanks a lot!
cc @semyon.atamas