Package | Description |
---|---|
org.apache.sshd.common.util |
Modifier and Type | Field and Description |
---|---|
private static java.util.concurrent.atomic.AtomicReference<VersionInfo> |
OsUtils.JAVA_VERSION_HOLDER |
Modifier and Type | Method and Description |
---|---|
static VersionInfo |
OsUtils.getJavaVersion()
Resolves the reported Java version by consulting
OsUtils.JAVA_VERSION_OVERRIDE_PROP . |
static VersionInfo |
VersionInfo.parse(java.lang.String version)
Parses a version string - assumed to contain at most 4 non-negative components separated by a '.'.
|
Modifier and Type | Method and Description |
---|---|
int |
VersionInfo.compareTo(VersionInfo o) |
static void |
OsUtils.setJavaVersion(VersionInfo version)
Set programmatically the reported Java version
|