[lworld] RFR: 8373989: [lworld] Since jdk-27+2 java/lang/reflect/Modifier/toStringTest.java fails

Chen Liang liach at openjdk.org
Thu Dec 18 16:29:30 UTC 2025


Don't include identity flag for `Modifier.toString` masking. This bit is reserved for synchronized already, and there are other flags on class not printed like sealed or interface, so not printing it here is fine.

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

Commit messages:
 - 8373989 Don't print identity

Changes: https://git.openjdk.org/valhalla/pull/1831/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1831&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373989
  Stats: 3 lines in 2 files changed: 1 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/1831.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1831/head:pull/1831

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


More information about the valhalla-dev mailing list