mirror of https://github.com/qos-ch/slf4j
minimal version is 8
This commit is contained in:
parent
494bd9aee9
commit
153a6cabda
|
|
@ -5,7 +5,8 @@ import java.lang.reflect.Method;
|
|||
import org.slf4j.helpers.Util;
|
||||
|
||||
public class VersionUtil {
|
||||
static final int MINIMAL_VERSION = 5;
|
||||
// code was compiled under Java 8 or later
|
||||
static final int MINIMAL_VERSION = 8;
|
||||
|
||||
static public int getJavaMajorVersion() {
|
||||
String javaVersionString = Util.safeGetSystemProperty("java.version");
|
||||
|
|
|
|||
Loading…
Reference in New Issue