Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: An illegal reflective access operation has occurred #18

Closed
eabase opened this issue Apr 24, 2021 · 5 comments
Closed

WARNING: An illegal reflective access operation has occurred #18

eabase opened this issue Apr 24, 2021 · 5 comments

Comments

@eabase
Copy link

eabase commented Apr 24, 2021

Maybe something to handle?

# ./textricator.bat form --config=xxy.yml xxy.pdf xxy.csv

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.parboiled.transform.AsmUtils (file:/F:/pathto/lib/parboiled-java-1.3.1.jar) to method java.lang.ClassLoader.findLoadedClass(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.parboiled.transform.AsmUtils
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
...
@stephenbmfj
Copy link
Contributor

stephenbmfj commented May 17, 2021

I created a ticket to stop using Parboiled in expr: measuresforjustice/expr#7

@eabase
Copy link
Author

eabase commented May 17, 2021

@stephenbyrne-mfj

Thanks for responding here. Unfortunately I don't have the java know-how on how to fix this. What is required to do to fix this?

@stephenbmfj
Copy link
Contributor

I am hoping that parboiled will fix it (so we just have to updated to the latest version of parboiled) before Java removes the ability to make the reflection calls that this method makes: https://github.com/sirthias/parboiled/blob/master/parboiled-java/src/main/java/org/parboiled/transform/AsmUtils.java#L202

@eabase
Copy link
Author

eabase commented May 17, 2021

I doubt they will as it seem that maintainer is no longer able to maintain that project..

@stephenbmfj
Copy link
Contributor

When Java breaks support for it, I will either find a different peg parser or write a custom parser for expr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants