Skip to content

@AnnotatedFor runtime retention#1482

Open
thisisalexandercook wants to merge 7 commits intoeisop:masterfrom
thisisalexandercook:AnnotatedFor-runtime-retention
Open

@AnnotatedFor runtime retention#1482
thisisalexandercook wants to merge 7 commits intoeisop:masterfrom
thisisalexandercook:AnnotatedFor-runtime-retention

Conversation

@thisisalexandercook
Copy link
Copy Markdown
Collaborator

@thisisalexandercook thisisalexandercook commented Jan 5, 2026

Summary: Fixes #1481.This PR changes the retention policy of the @AnnotatedFor annotation from SOURCE to RUNTIME. See Issue #1481 for motivation details.

Documentation Note: The documentation update for this change is intentionally minimal as this change on its own is small. However, when the overarching retention policy for type-use annotations is implemented, we may want to consider a new section with further discussion.

@thisisalexandercook
Copy link
Copy Markdown
Collaborator Author

eisop/jdk#130 should be merged to sync annotation definition between projects. @aosen-xiong A PR has been made against your branch that updates javadoc to match changes here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change @AnnotatedFor retention to RUNTIME

1 participant