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

Activity

Show:

Guus der Kinderen August 13, 2016 at 6:54 AM

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

Guus der Kinderen August 12, 2016 at 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 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.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created March 21, 2016 at 9:50 PM
Updated August 13, 2016 at 7:32 AM
Resolved August 13, 2016 at 6:54 AM