File tree 1 file changed +4
-11
lines changed
test/functional/Java8andUp/src_110_up/org/openj9/test/java/lang
1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -719,17 +719,10 @@ public void test_getDeclaredFieldLjava_lang_String() {
719
719
}
720
720
*/
721
721
722
- /**
723
- * Disable temporarily for Java 24+ until the
724
- * System.security field is removed.
725
- * https://github.com/eclipse-openj9/openj9/issues/20563
726
- */
727
- if (VersionCheck .major () < 24 ) {
728
- try {
729
- java .lang .reflect .Field f = System .class .getDeclaredField ("security" );
730
- Assert .fail ("java.lang.System.security shoud NOT be accessible via reflection" );
731
- } catch (NoSuchFieldException e ) {
732
- }
722
+ try {
723
+ java .lang .reflect .Field f = System .class .getDeclaredField ("security" );
724
+ Assert .fail ("java.lang.System.security shoud NOT be accessible via reflection" );
725
+ } catch (NoSuchFieldException e ) {
733
726
}
734
727
735
728
try {
You can’t perform that action at this time.
0 commit comments