Change the return type of PoolEntry and AnnotationValue tags to int, as in TypeAnnotation TargetType and StackMapFrameInfo frameType. The main impact is that AnnotationValue tags should be converted to char before printing now.
Please review the associated CSR for this hotfix as well. Testing: classfile and javap, tier 1-3 in progress Pinging @lukellmann ------------- Commit messages: - 8345319: Fix the tag type in PoolEntry and AnnotationValue Changes: https://git.openjdk.org/jdk/pull/22489/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22489&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8345319 Stats: 44 lines in 6 files changed: 3 ins; 0 del; 41 mod Patch: https://git.openjdk.org/jdk/pull/22489.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22489/head:pull/22489 PR: https://git.openjdk.org/jdk/pull/22489