Skip to content

Commit 3007e02

Browse files
committed
minor refactor: tweak cherry-picked statement for JDK 8
1 parent 82ae99b commit 3007e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/groovy/org/codehaus/groovy/reflection/SecurityTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
public class SecurityTest extends GroovyTestCase {
3737

38-
private final boolean skip = Runtime.version().feature() >= 24;
38+
private final boolean skip = isAtLeastJdk("24");
3939

4040
@SuppressWarnings("unused")
4141
public class TestClass{

0 commit comments

Comments
 (0)