MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / is_supported_java_version

Function is_supported_java_version

rust/src/jre.rs:346–350  ·  view source on GitHub ↗
(version: &str)

Source from the content-addressed store, hash-verified

344}
345
346fn is_supported_java_version(version: &str) -> bool {
347 parse_java_major(version)
348 .map(|major| major >= MIN_SUPPORTED_JAVA_MAJOR)
349 .unwrap_or(false)
350}
351
352fn parse_java_major(version: &str) -> Option<i32> {
353 let mut parts = version.split('.');

Callers 2

detect_system_javaFunction · 0.85
detect_managed_jreFunction · 0.85

Calls 2

parse_java_majorFunction · 0.85
mapMethod · 0.45

Tested by

no test coverage detected