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

JDK11: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()

Description

While using (some versions of?) Java 8 to to run Openfire that is compilied with (some versions of?) Java 11, the following stacktrace is printed to standard out when a client tries to connect:

The client connection attempt silently files (time-out)

The problem is documented in greater detail in https://stackoverflow.com/a/61267496

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Florian Schmaus
October 5, 2020, 6:37 AM

The issue is that Openfire's build system does not perform sound cross compilation, hence generating "invalid" bytecode when used with newer Java runtime libraries. Smack ran into the same issue, which was fixed with SMACK-651.

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Priority

Major
Configure