We're updating the issue view to help you get more done. 

Java 7 incompatibility

Description

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

Environment

None

Acceptance Test - Entry

None

Activity

Show:
wroot
April 19, 2016, 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.

Chris Schanck
June 1, 2016, 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.

Guus der Kinderen
August 12, 2016, 8:14 PM

A recent comment on the issue in the OpenJDK bugtracker provides a workaround:

Guus der Kinderen
August 12, 2016, 8:41 PM
Edited

Based on the provided workaround, I've prepared this fix: https://github.com/igniterealtime/Openfire/pull/626

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 13, 2016, 6:54 AM

The fix has now been applied to the 4.0 branch as well as to master.

Assignee

Dave Cridland

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Affects versions

Priority

Major
Configure