The Wayback Machine - https://web.archive.org/web/20220425101129/https://github.com/armedbear/abcl/pull/481
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix class annotations on JDK17 and newer #481

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Copy link
Contributor

@Uthar Uthar commented Apr 7, 2022

JDK 17 Removed some obsolete class file format in regards to runtime visible annotations.

Now, the annotation parser requires a class type signature, i.e. has stopped accepting a class, in the constant pool.

See the JDK commit "Remove vestiages of intermediate JSR 175 annotation format"
(openjdk/jdk@8758b554#diff-50de65a27d09a727c0b6ea40ce7ebd97bf7ead098ff910d7757ae0dd781fc2c8R240)

fix #473

JDK 17 Removed some obsolete class file format in regards to runtime
visible annotations.

Now, the annotation parser expects a class type signature, instead of a
class, in the constant pool.

See the JDK commit "Remove vestiages of intermediate JSR 175 annotation format"
(openjdk/jdk@8758b554#diff-50de65a27d09a727c0b6ea40ce7ebd97bf7ead098ff910d7757ae0dd781fc2c8R240)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant