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

Bytecode enhancement - handle default annotation value #1409

Open
greenlaw110 opened this issue Oct 17, 2021 · 0 comments
Open

Bytecode enhancement - handle default annotation value #1409

greenlaw110 opened this issue Oct 17, 2021 · 0 comments
Assignees
Milestone

Comments

@greenlaw110
Copy link
Contributor

greenlaw110 commented Oct 17, 2021

Annotation could have default value, e.g. Before

public @interface Before {
    int priority() default 0;
   ...
}

However the bytecode scanner will not be able to set default value when app didn't provide default value. This is the root case of #1407

We need a systematic way to handle default annotation value when doing bytecode scanning

@greenlaw110 greenlaw110 self-assigned this Oct 17, 2021
@greenlaw110 greenlaw110 added this to the 1.9.3 milestone Nov 26, 2022
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

No branches or pull requests

1 participant