quarkus: Remove illegal refletive access warning for xstream for parameterized tests

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/peter/.m2/repository/com/thoughtworks/xstream/xstream/1.4.11.1/xstream-1.4.11.1.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
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

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Update: My changes were merged into xstream master but since 1.5 seems to take more time, I’ve created another PR against the 1.4 branch. The maintainer of xstream said he might have time to release another 1.4 (1.4.12.1?) with my workaround at the beginning of September.

Good thing is that octaplanner is no longer part of the core, so we shouldn’t have any problems

It does not appear in 1.6.0.CR1 for me. In 1.5.x I could observe it immediately after adding any @QuarkusTest to my Gradle projects which use RESTAssured.

This should be mostly fixed in 1.6.0.CR1.

But if it’s not, then I can look into fixing it upstream.