On Tue, 21 Nov 2023 17:52:49 GMT, Jim Laskey <jlas...@openjdk.org> wrote:

>> Address changes from JEP 445 to JEP 463.
>> 
>> - Move from a SYNTHETIC unnamed class to a MANDATED implicit class.
>> 
>> - Don't mark class on read.
>> 
>> - Remove reflection and annotation processing related to unnamed classes.
>> 
>> - Simplify main method search.
>
> 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?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16461#discussion_r1401056196

Reply via email to