Warning when scan java bean in OpenJDK 11
yujinping opened this issue · comments
OS: CentOS 7.2
Java: OpenJdk 11
JavaServer: Jetty 9
Jodd: 5.0.13
Current behavior
Warn when scan the java bean!
11:07:50.325 [main] INFO jodd.madvoc.AutomagicMadvocConfigurator - Scanning...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jodd.bridge.DefineClass (file:/data/web/fxz/jodd5/WEB-INF/lib/jodd-all-5.0.13.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of jodd.bridge.DefineClass
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
11:07:51.714 [main] INFO jodd.madvoc.AutomagicMadvocConfigurator - Scanning is complete.
Expected behavior
Correct scan java bean in OpenJDK 11.
Steps to Reproduce the Problem
related to #714
Yeah, I am aware of that... not sure how to maintain cross-java compatibilities in an sane way.
OK, the initial plan is to refactor jodd in such way that tools and utils remain jdk8 compatible. frameworks (web etc) are going to be migrated to 11
See: #747