A new module system has been introduced in Java 9 that prevents access to modules and will display warnings like this:
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by xxx (file:yyy) to field zzz WARNING: Please consider reporting this to the maintainers of xxx 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 has been solved in SwiftMQ 11.2.0 by granting access in the scripts
These scripts now have an optional first parameter "java9". If that parameter is given, module access is granted, otherwise not:
The only difference in behavior is that the above warning messages are shown if the parameter is not specified.
If you use your own scripts and want to use Java 9/10, please consider to add the parameter too. Just use our scripts as template.
SwiftMQ 11.2.0 requires at least Java 8 and is compliant with Java 9 and Java 10.