powered by Jive Software

Smack 4.2.4 setDaneProvider in DNSUtil does not set the global daneProvider correctly


There is an error in the setDaneProvider method; it sets the local daneProvider instead of the global defined DNSUtil.daneProvider.

     * Set the DANE provider that should be used when DANE is enabled.
     * @param daneProvider
    public static void setDaneProvider(SmackDaneProvider daneProvider) {
        daneProvider = Objects.requireNonNull(daneProvider);


Correct, thank you very much for your bug report. Created SMACK-820.

Note that you could use reflection as a workaround until the bug is fixed.


Thank, I have recompiled the smack-core library with the correction temporary until your next release.