[jdk19] RFR: 8289302: Restore CriticalJNINatives

Coleen Phillimore coleenp at openjdk.org
Wed Jun 29 12:19:14 UTC 2022


This change restores the code in the JVM that implemented the internal JavaCritical or CriticalJNINatives functionality.  Customers are using this feature and there's no replacement yet for it.
This change is a backout and merge of jDK-8258192: Obsolete the CriticalJNINatives flag.
This change also adds the deprecation message that was missed, which I checked is okay with the customer.

Tested with tiers1-4.

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

Commit messages:
 - Add deprecation message and test for CriticalJNINatives
 - 8289302: Restore CriticalJNINatives

Changes: https://git.openjdk.org/jdk19/pull/90/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk19&pr=90&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8289302
  Stats: 1350 lines in 18 files changed: 1172 ins; 0 del; 178 mod
  Patch: https://git.openjdk.org/jdk19/pull/90.diff
  Fetch: git fetch https://git.openjdk.org/jdk19 pull/90/head:pull/90

PR: https://git.openjdk.org/jdk19/pull/90


More information about the hotspot-dev mailing list