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

Java specification version comparison fails for single-number versions

Description

JavaSpecVersion.java is used to compare Java Specification Versions (the result of System.getProperty( "java.specification.version" ) ).

The code expects the version number to have have a major and minor version part, separated by a dot: 1.8.

Java 11 returns only a single value: 11.

As a result, Openfire incorrectly assumes that Java 11 is older than Java 8, which prevents plugins that require Java 8 or newer, from being loaded. 

Environment

None

Acceptance Test - Entry

None
Fixed

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Priority

Minor
Configure