-
Bug
-
Resolution: Unresolved
-
Major
I installed the latest plugin v.1.0.3
For testing, I set up a test Job
Java version:
java --version
openjdk 11.0.17 2022-10-18 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.17.0.8-2.el7_9) (build 11.0.17+8-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.17.0.8-2.el7_9) (build 11.0.17+8-LTS, mixed mode, sharing)
When I try to trigger the launch of the pipeline, I get an error that indicates that the jiratrigger plugin is trying to access a private field or method in the RequestImpl class from the org.kohsuke.stapler package, which is now prohibited in new versions of Java.
java.lang.IllegalAccessException: Processing this request relies on deprecated behavior that will be disallowed in future releases of Java. See https://jenkins.io/redirect/stapler-reflective-access/ for more information. Details: class org.kohsuke.stapler.RequestImpl cannot access a member of class com.ceilfors.jenkins.plugins.jiratrigger.JiraCommentTrigger with modifiers "private"
I would not want to change the Java version or disable security policies