[lworld] RFR: 8351979: Improve verification error messages for strict fields

Matias Saavedra Silva matsaave at openjdk.org
Fri Mar 14 16:06:01 UTC 2025


This patch adds more detail to the verifier errors throws when there are problems with strict instance fields. The class name and one field name is now printed. Verified with tier 1-3 tests.

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

Commit messages:
 - Added detail to error message
 - 8351979: Improve verification error messages for strict fields

Changes: https://git.openjdk.org/valhalla/pull/1400/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1400&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8351979
  Stats: 31 lines in 4 files changed: 28 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/valhalla/pull/1400.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1400/head:pull/1400

PR: https://git.openjdk.org/valhalla/pull/1400


More information about the valhalla-dev mailing list