Home
last modified time | relevance | path

Searched refs:getJavaVersion (Results 1 – 25 of 28) sorted by relevance

12

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DJavaVersionTest.java42 import static org.apache.commons.lang3.JavaVersion.getJavaVersion;
77 assertEquals(get("1.5"), getJavaVersion("1.5"), "Wrapper method failed"); in testGetJavaVersion()
DSystemPropertiesTest.java161 assertNotNull(SystemProperties.getJavaVersion()); in testGetJavaVersion()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DSystemUtils.java444 public static final String JAVA_VENDOR = SystemProperties.getJavaVersion();
480 public static final String JAVA_VERSION = SystemProperties.getJavaVersion();
DJavaVersion.java216 static JavaVersion getJavaVersion(final String versionStr) { in getJavaVersion() method in JavaVersion
DSystemProperties.java533 public static String getJavaVersion() { in getJavaVersion() method in SystemProperties
/external/robolectric/utils/reflector/src/main/java/org/robolectric/util/reflector/
DUnsafeAccess.java17 Util.getJavaVersion() < 11 ? new DangerPre11() : new Danger11Plus();
/external/robolectric/utils/src/main/java/org/robolectric/util/
DUtil.java22 public static int getJavaVersion() { in getJavaVersion() method in Util
/external/robolectric/sandbox/src/main/java/org/robolectric/config/
DAndroidConfigurer.java97 if (Util.getJavaVersion() >= 9) { in configure()
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DITNProxy.java45 params.put("java.version", SystemProperties.getJavaVersion()); in createParameters()
/external/cldr/tools/cldr-code/src/main/java/com/ibm/icu/dev/test/
DTestUtil.java234 public static int getJavaVersion() { in getJavaVersion() method in TestUtil
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DTestUtil.java263 public static int getJavaVersion() { in getJavaVersion() method in TestUtil
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestUtil.java260 public static int getJavaVersion() { in getJavaVersion() method in TestUtil
/external/robolectric/robolectric/src/main/java/org/robolectric/plugins/
DDefaultSdkProvider.java52 private static final int RUNNING_JAVA_VERSION = Util.getJavaVersion();
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DSpoofCheckerTest.java86 if (TestUtil.getJavaVendor() == JavaVendor.IBM && TestUtil.getJavaVersion() == 5) { in TestOpenFromSourceRules()
681 if (TestUtil.getJavaVendor() == JavaVendor.IBM && TestUtil.getJavaVersion() == 5) { in testConfData()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/
DSpoofCheckerTest.java89 if (TestUtil.getJavaVendor() == JavaVendor.IBM && TestUtil.getJavaVersion() == 5) { in TestOpenFromSourceRules()
684 if (TestUtil.getJavaVendor() == JavaVendor.IBM && TestUtil.getJavaVersion() == 5) { in testConfData()
/external/robolectric/sandbox/src/main/java/org/robolectric/interceptors/
DAndroidInterceptors.java51 if (Util.getJavaVersion() >= 9) { in all()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java450 if (TestUtil.getJavaVendor() == JavaVendor.Android || TestUtil.getJavaVersion() > 3) { in TestBoundaries()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java447 if (TestUtil.getJavaVendor() == JavaVendor.Android || TestUtil.getJavaVersion() > 3) { in TestBoundaries()
/external/robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowWrangler.java74 private static final boolean HAS_PRIVATE_LOOKUP_IN = Util.getJavaVersion() >= 9;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
DTestCharsetDetector.java441 …s("ISO-2022-KR") && TestUtil.getJavaVendor() == JavaVendor.IBM && TestUtil.getJavaVersion() == 8) { in checkMatch()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/
DTestCharsetDetector.java444 …s("ISO-2022-KR") && TestUtil.getJavaVendor() == JavaVendor.IBM && TestUtil.getJavaVersion() == 8) { in checkMatch()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatDataDrivenTest.java724 && TestUtil.getJavaVersion() == 8); in TestDataDrivenJDK()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatDataDrivenTest.java721 && TestUtil.getJavaVersion() == 8); in TestDataDrivenJDK()
/external/apache-commons-lang/src/site/resources/release-notes/
DRELEASE-NOTES-2.0.txt103 isJavaVersionAtLeast(int) added. getJavaVersion() deprecated.
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java62 TestUtil.getJavaVendor() == JavaVendor.Android || TestUtil.getJavaVersion() >= 7;

12