assertVersion
abstract fun assertVersion(message: String = "JRE version requirements are not satisfied", condition: (Int) -> Boolean)
Does nothing if condition returns true for current JRE version, throws AssertionError otherwise
Parameters
message
Exception message
condition
Condition to check