This should allow Openfire to be build with Java 8, while not causing issues when executed by Java 7.
Note that a similar change needs to go in the Master branch. My PR is against the 4.0 branch.
Guus der Kinderen August 12, 2016 at 8:14 PM
A recent comment on the issue in the OpenJDK bugtracker provides a workaround:
Chris Schanck June 1, 2016 at 4:46 PM
Hit this today on Debian Jessie, very annoying. I downgraded to 4.0.1 to avoid this, as I have some other reasons to avoid 1.8 for now.
wroot April 19, 2016 at 7:26 PM
Anyway, i think we have to have a stance on this whether we will support or not Java 7 and forums announcement is not enough. If we go with Java 8 for Debian, we should probably put "(Java 8+)" or something near the download link.
When running with Java 7, the exception below gets logged. This appears to be a problem related to incompatiblity with Java 8 compiled code. See https://gist.github.com/AlainODea/1375759b8720a3f9f094