-
Bug
-
Resolution: Done
-
Major
-
4.2.18
-
None
-
False
-
None
-
False
Hi,
while using jgroups 4.x with SASL activated, we get this message with jdk 11:
{{
WARNING: Illegal reflective access by org.jgroups.auth.sasl.SaslUtils (file:/path/to/lib/jgroups-4.2.18.Final.jar) to constructor com.sun.security.sasl.ServerFactoryImpl()
WARNING: Please consider reporting this to the maintainers of org.jgroups.auth.sasl.SaslUtils
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
}}
Despite this warning, it works properly.
Now, since jdk 17 forbids illegal reflective access, jgroups 4.x failed with an IllegalArgumentException
No SASL server factory for mech DIGEST-MD5
I see that SASL have been removed in jgroups 5.x (JGRP-2377). Yet jgroups 4.x is used with a lot of other projects such as infinispan that claim to be jdk 17 compatible.
So I was wondering if there's any plan to make jgroups 4.x jdk 17 compatible ?
This documentation explains how to instantiate a SASL server.
- causes
-
ISPN-13787 Infinispan not fully compatible with jdk 17 because of jgroups 4.x deps
- Resolved
- is related to
-
JGRP-2377 Remove SASL
- Resolved