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

Coleen Phillimore coleenp at openjdk.org
Wed Feb 5 19:06:17 UTC 2025


On Wed, 5 Feb 2025 17:57:29 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> This change removes the native call and injected field for ProtectionDomain in the java.lang.Class instance, and moves the field to be declared in Java.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with three additional commits since the last revision:
> 
>  - Update test/jdk/java/lang/reflect/AccessibleObject/TrySetAccessibleTest.java
>    
>    Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>
>  - Update test/jdk/java/lang/reflect/AccessibleObject/TrySetAccessibleTest.java
>    
>    Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>
>  - Remove @Stable annotation for final field.

Thanks Chen for the review.  Hotspot generally also requires two reviewers, so I await David and other's review.

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

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


More information about the core-libs-dev mailing list