jenkinsci/jenkinsfile-runner

JFR prints IllegalReflectiveAccess warning on startup

Open

#677 opened on Feb 8, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (1,090 stars) (291 forks)batch import
bughelp wanted

Description

Jenkins and plugins versions report

N/A

What Operating System are you using (both controller, and any agents involved in the problem)?

N/A

Reproduction steps

Run any demo

Expected Results

No warnings

Actual Results

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/app/jenkins/WEB-INF/lib/groovy-all-2.4.21.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Started

Anything else?

No response

Contributor guide

JFR prints IllegalReflectiveAccess warning on startup · jenkinsci/jenkinsfile-runner#677 | Good First Issue