RFR: 8367368: Add message for verify_legal_class_modifiers for inner classes

Coleen Phillimore coleenp at openjdk.org
Wed Sep 10 21:56:25 UTC 2025


This adds the inner class name (or unnamed) to the error message for invalid inner class modifiers.
Testing with tier1-4.

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

Commit messages:
 - Add message for verify_legal_class_modifiers for nested classes.
 - Add message for verify_legal_class_modifiers for nested classes.

Changes: https://git.openjdk.org/jdk/pull/27201/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27201&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8367368
  Stats: 368 lines in 6 files changed: 358 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/27201.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27201/head:pull/27201

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


More information about the hotspot-dev mailing list