RFR: 8349145: Make Class.getProtectionDomain() non-native

Alan Bateman alanb at openjdk.org
Fri Jan 31 17:19:47 UTC 2025


On Fri, 31 Jan 2025 17:14:39 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> One thing to think about: does this mean `protectionDomain` is now discoverable by reflection? Should it be? Should it be filtered?

Class::getProtectionDomain is a public API so anyone looking for it doesn't need reflection, but maybe you are thinking of something else?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23396#issuecomment-2627845207


More information about the hotspot-dev mailing list