[
https://issues.apache.org/jira/browse/FELIX-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17107397#comment-17107397
]
Rob Walker commented on FELIX-5765:
-----------------------------------
Just found I needed to extend our --add-opens quite considerably for Java 13 (I
suspect J11 may have been the tripping point though):
{{--add-opens java.base/sun.net.www.protocol.file=ALL-UNNAMED --add-opens
java.base/sun.net.www.protocol.ftp=ALL-UNNAMED --add-opens
java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-opens
java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-opens
java.base/sun.net.[www.protocol.jar=ALL-UNNAMED|http://www.protocol.jar=all-unnamed/]}}
Wondering if I'm missing some better workaround or newer version?
> An illegal reflective access operation has occurred
> ---------------------------------------------------
>
> Key: FELIX-5765
> URL: https://issues.apache.org/jira/browse/FELIX-5765
> Project: Felix
> Issue Type: Improvement
> Components: Framework
> Affects Versions: framework-5.6.10
> Environment: Linux + JDK 9.0.1
> Reporter: Li Xu
> Priority: Minor
>
> Just reporting this as instructed:
> {noformat}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by
> org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender
> (file:/full-test/framework/org.apache.felix.framework-5.6.10.jar) to method
> java.net.URLClassLoader.addURL(java.net.URL)
> WARNING: Please consider reporting this to the maintainers of
> org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender
> 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
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)