[
https://issues.apache.org/jira/browse/SCB-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
liubao resolved SCB-1745.
-------------------------
Resolution: Fixed
> remove accessor modifier in reflection
> ---------------------------------------
>
> Key: SCB-1745
> URL: https://issues.apache.org/jira/browse/SCB-1745
> Project: Apache ServiceComb
> Issue Type: Sub-task
> Components: Java-Chassis
> Reporter: liubao
> Assignee: liubao
> Priority: Major
> Fix For: java-chassis-2.0.0
>
>
> Higher version JDK has more constraits on reflection and protect the
> consistence of class definition, now given the following warnings
>
>
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by
> org.apache.servicecomb.foundation.common.utils.ReflectUtils
> (file:/C:/Users/Administrator/.m2/repository/org/apache/servicecomb/foundation-common/2.0.0-SNAPSHOT/foundation-common-2.0.0-SNAPSHOT.jar)
> to field java.lang.reflect.Field.modifiers
> WARNING: Please consider reporting this to the maintainers of
> org.apache.servicecomb.foundation.common.utils.ReflectUtils
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)