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

Coleen Phillimore coleenp at openjdk.org
Fri Jan 31 17:19:47 UTC 2025


On Fri, 31 Jan 2025 17:06:13 GMT, Aleksey Shipilev <shade 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?

We hid it in the past so it wouldn't be discoverable, but with the removal of the security manager, there doesn't seem to be a reason for hiding it.  @seanjmullan can you confirm?

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

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


More information about the core-libs-dev mailing list