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

Coleen Phillimore coleenp at openjdk.org
Fri Jan 31 16:43:56 UTC 2025


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.

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

Commit messages:
 - Fix the test.
 - 8349145: Make Class.getProtectionDomain() non-native

Changes: https://git.openjdk.org/jdk/pull/23396/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23396&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349145
  Stats: 57 lines in 8 files changed: 10 ins; 33 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/23396.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23396/head:pull/23396

PR: https://git.openjdk.org/jdk/pull/23396


More information about the core-libs-dev mailing list