Fix JDK7 failing tests

This commit is contained in:
Abduqodiri Qurbonzoda
2022-04-06 01:14:44 +03:00
committed by Space
parent 81eae94821
commit 33fb49f20d
2 changed files with 3 additions and 8 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ public actual val isFloat32RangeEnforced: Boolean = true
public actual val supportsSuppressedExceptions: Boolean get() = !isJava6
public actual val supportsNamedCapturingGroup: Boolean get() = !isJava6
// Named capturing groups are supported starting from java 7. However, retrieving them by name is not supported in java 7.
public actual val supportsNamedCapturingGroup: Boolean get() = isJava8AndAbove
public actual val supportsOctalLiteralInRegex: Boolean get() = true