[foreign-memaccess+abi] RFR: Tweak support for restricted methods

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Sep 25 10:52:55 UTC 2023


This patch addresses two issues:
* The javadoc for all restricted methods includes a sentence which states that developers should seek alternatives. This sentence is now removed.
* As outlined [here](https://bugs.openjdk.org/browse/JDK-8307341), the warning message for restricted method calls should include the caller class name (where possible) and an additional lines about restricted method warnings turning into errors at some point in the future.

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

Commit messages:
 - Initial push

Changes: https://git.openjdk.org/panama-foreign/pull/896/files
 Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=896&range=00
  Stats: 34 lines in 10 files changed: 3 ins; 11 del; 20 mod
  Patch: https://git.openjdk.org/panama-foreign/pull/896.diff
  Fetch: git fetch https://git.openjdk.org/panama-foreign.git pull/896/head:pull/896

PR: https://git.openjdk.org/panama-foreign/pull/896


More information about the panama-dev mailing list