RFR: 8338411: Implement JEP 486: Permanently Disable the Security Manager [v3]

Alexey Ivanov aivanov at openjdk.org
Fri Nov 1 19:17:12 UTC 2024


On Mon, 28 Oct 2024 18:07:26 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> I'd not looked at this test before but when I do the thing I noticed is that createPrivateValue is no longer used.
>> But I don't see a problem with keeping the rest of the test.
>
> Test updated in sandbox - https://github.com/openjdk/jdk-sandbox/commit/9eb275c4aaf9a88127c5c33e0bf7ca35125f29ea

> I'd not looked at this test before but when I do the thing I noticed is that createPrivateValue is no longer used. But I don't see a problem with keeping the rest of the test.

@prrace Do I understand correctly that _“`createPrivateValue` is no longer used”_ means `MultiUIDefaults` is never used with `ProxyLazyValue`?

The [`MultiUIDefaults` class](https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/MultiUIDefaults.java) is used in `UIManager`:

https://github.com/openjdk/jdk/blob/c82ad845e101bf5d97c0744377d68002907d4a0e/src/java.desktop/share/classes/javax/swing/UIManager.java#L198

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21498#discussion_r1826141057


More information about the core-libs-dev mailing list