From 35bd2f354ea50ccda325ac0c0b7d2fe66692d940 Mon Sep 17 00:00:00 2001 From: Roger Riggs Date: Wed, 27 Nov 2024 15:40:48 +0000 Subject: [PATCH] 8344555: SM cleanup - drop reflection filter of System.security field Reviewed-by: mullan, mchung, liach --- .../share/classes/jdk/internal/reflect/Reflection.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/java.base/share/classes/jdk/internal/reflect/Reflection.java b/src/java.base/share/classes/jdk/internal/reflect/Reflection.java index 88098b11942..6b211284b4e 100644 --- a/src/java.base/share/classes/jdk/internal/reflect/Reflection.java +++ b/src/java.base/share/classes/jdk/internal/reflect/Reflection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -61,8 +61,7 @@ public class Reflection { Constructor.class, ALL_MEMBERS, Field.class, ALL_MEMBERS, Method.class, ALL_MEMBERS, - Module.class, ALL_MEMBERS, - System.class, Set.of("security") + Module.class, ALL_MEMBERS ); methodFilterMap = Map.of(); }