RFR: JDK-8315458 Implement JEP 463: Implicitly Declared Classes and Instance Main Method (Second Preview) [v31]
Jim Laskey
jlaskey at openjdk.org
Tue Nov 21 19:50:23 UTC 2023
On Tue, 21 Nov 2023 19:16:06 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update Class.java
>
> src/java.base/share/classes/java/lang/Class.java line 4823:
>
>> 4821: * signatures in a class."
>> 4822: * <p>{@link SecurityException SecurityExceptions} can halt
>> 4823: * the search. In this case, a null is returned.
>
> I see the latest update changes this to return null if denied by the SM. This seems very inconsistent with the other methods so I'm wondering why this has changed?
Requested by CSR.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16461#discussion_r1401089920
More information about the core-libs-dev
mailing list