RFR: 8349145: Make Class.getProtectionDomain() non-native [v4]
Alan Bateman
alanb at openjdk.org
Tue Feb 4 14:09:16 UTC 2025
On Fri, 31 Jan 2025 17:16:11 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/System.java line 2150:
>>
>>> 2148: }
>>> 2149:
>>> 2150: public ProtectionDomain protectionDomain(Class<?> c) {
>>
>> This accessor has become pointless since the functinoal removal of SM, but it would be out of scope for this PR.
>
> Thanks for looking at this. I didn't want to change this with this change.
There may need to be some follow-on cleanup, e.g. I'm wondering if Lookup.cachedProtectionDomain is needed now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23396#discussion_r1941241449
More information about the core-libs-dev
mailing list