Illegal reflective access warnings with Java version 11 or later
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with the reported warning on Java 10 or 11 and inspect the artifactory-client-java dependency tree for org.codehaus.groovy.reflection.CachedClass. Compare the relevant Java and Groovy versions, then verify that the agreed mitigation prevents the warning without breaking the SDK.
Written by the indexing model from the issue text.
Description
I have a tool that use artifactory-client-java sdk. I believe I started seeing a scary message like below after moving to Java version 10 or 11. I don't remember seeing it with JVM 1.8.
What is the mitigation to make the JVM stop printing this warning?
+++++++++++++++++++++
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/C:/Users/puri_malluru/work/excalcpgfork/test/signartifacts/signartifactsdev.exe) 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
+++++++++++++++++++++
- Dominant language
- Java
- Stars
- 331
- Forks
- 163
- Avg merge
- 20h 9m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jfrog/artifactory-client-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
jfrog/artifactory-client-java#450 · 2 comments ·
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jfrog/artifactory-client-java#375 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
jfrog/artifactory-client-java#448 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
jfrog/artifactory-client-java#447 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
jfrog/artifactory-client-java#445 ·
All issues in jfrog/artifactory-client-java
Similar issues
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/flink-agents#1156 ·
-
[source-shopify] FAILED bulk operation without partialDataUrl is silently treated as successful Openarea/connectors autoteam community connectors/source/shopify needs-triage team/use type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100