Two changes: - Remove the `Class.isIdentity` method, which is redundant given the `Class.isValue` method - Clean up `Class.isValue` so that it only returns true for value classes, not other non-identity things (interfaces, primitives)
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8383755: [lworld] Clean up Class.isValue and Class.isIdentity Changes: https://git.openjdk.org/valhalla/pull/2397/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2397&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8383755 Stats: 273 lines in 11 files changed: 108 ins; 120 del; 45 mod Patch: https://git.openjdk.org/valhalla/pull/2397.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2397/head:pull/2397 PR: https://git.openjdk.org/valhalla/pull/2397
