puniverse / capsule

Dead-Simple Packaging and Deployment for JVM Apps
http://capsule.io
Eclipse Public License 1.0
1.15k stars 100 forks source link

[JDK9] Illegal reflective access warning #121

Open sureshg opened 6 years ago

sureshg commented 6 years ago

First of all thanks for this awesome project, this is what I use for packaging all my java cli apps. I am using the latest version of capsule (using https://github.com/danthegoodman/gradle-capsule-plugin) to create a really executable package. But running the executable on JDK9 is throwing the following warning by JVM.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by Capsule (file:xxxxxx) to field com.sun.jmx.mbeanserver.JmxMBeanServer.mbsInterceptor
WARNING: Please consider reporting this to the maintainers of Capsule
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

Also, is this project maintained any more?

ritschwumm commented 6 years ago

questions:

sureshg commented 6 years ago

is this just a variant of #110?

@ritschwumm seems like it is.

vromero commented 6 years ago

Got bitten by the same bug here, and also wanted to thanks the authors for the software. REALLY useful.