assertVersionInRange

abstract fun assertVersionInRange(minVersion: Int, maxVersion: Int)

Does nothing if current JRE version is between minVersion and maxVersion, throws AssertionError otherwise

Parameters

minVersion

Minimal accepted version

maxVersion

Maximal accepted version