public final class DetectionUtil extends Object
sun.misc.Unsafe
object.
sun.misc.Unsafe
if you specify
the System property org.jboss.netty.tryUnsafe with
value of false
. Default is true
.Modifier and Type | Method and Description |
---|---|
static boolean |
hasUnsafe() |
static boolean |
isWindows()
Return
true if the JVM is running on Windows |
static int |
javaVersion() |
Copyright © 2008–2016 The Netty Project. All rights reserved.