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

Warnings when using with Java 9 due to direct access to private fields. #110

Open
oshoukry opened this issue Jan 7, 2018 · 0 comments
Open

Comments

@oshoukry
Copy link
Member

oshoukry commented Jan 7, 2018

From Issue #108

Also note that after getting the path, I get the following warnings:


WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.openpojo.reflection.impl.PojoFieldImpl (file:/Users/johnmarsh/.m2/repository/com/openpojo/openpojo/0.8.6/openpojo-0.8.6.jar) to field java.lang.Exception.serialVersionUID
WARNING: Please consider reporting this to the maintainers of com.openpojo.reflection.impl.PojoFieldImpl
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

I seem to remember reading that Oracle will be better protecting in the future, but I can't find my reference at the moment, and I don't recall if there will be other, preferred ways of doing reflection in the future...

Thanks again!
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

1 participant