> 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).
Dan Smith has updated the pull request incrementally with one additional commit since the last revision: Use java.lang.classfile.ClassFile for JVM modifier values ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2397/files - new: https://git.openjdk.org/valhalla/pull/2397/files/810dc3bc..ff40741e Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2397&range=03 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2397&range=02-03 Stats: 9 lines in 1 file changed: 1 ins; 4 del; 4 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
