netty5/handler/src/main/java/io/netty
Norman Maurer d9f938ca03 [#4828] OpenSslContext throws UnsupportedOperationException when Unsafe not available
Motivation:

OpenSslContext constructor fails with a UnsupportedOperationException if Unsafe is not present on the system.

Modifications:

Make OpenSslContext work also when Unsafe is not present by fallback to using JNI to get the memory address.

Result:

Using OpenSslContext also works on systems without Unsafe.
2016-02-05 09:25:18 +01:00
..
handler [#4828] OpenSslContext throws UnsupportedOperationException when Unsafe not available 2016-02-05 09:25:18 +01:00