Are tigase-server and related libraries in v 5.2 rc1 are jdk 1.7 compliant?

Ali H
Added about 5 years ago

I have checked out code for tigase-server and tigase-util and tigase-xmltools with v 5.2 rc1. I tried to compile it with oracle jdk 1.6 but compilation failed. From error messages it seems like it need jdk 1.7. Is v5.2 rc1 fully compliant with jdk v1.7? I am asking because I still see some workarounds in in run() method for bugs in jdk 1.6.

Replies (3)

Added by Wojciech Kapcia TigaseTeam about 5 years ago

As per original Tigase XMPP Server 5.2.0 Beta3 announcement:

Switched JDK compatibility to JDK7. Number of issues in Tigase server were related to bugs in JDK6 and patching them and creating workarounds was taking up resources. Therefore we decided to switch over to JDK7. Right now Tigase on JDK7 is under extensive tests. Please let us know if you find any issues.

Added by Ali H about 5 years ago

Thanks for quick response. What do you say about run() method it still have workarounds for bugs in jdk 1.6. Are those workaround valid in jdk 1.7? Can we use tigage v 5.2 rc1 with jdk 1.7 in production?

Added by Wojciech Kapcia TigaseTeam about 5 years ago

We are using latest Tigase version with jdk7 in our system as well as running nightly TTS test on it and so far the results are good.

What do you mean about validity of workarounds? Yes, they will still work with jdk7.