Skip to content

Evaluate Java 8 repeatable annotations [SPR-10532] #15162

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-10532 and commented

http://docs.oracle.com/javase/tutorial/java/annotations/repeating.html

We should be able to use @Repeatable without backwards compatibility issues, since unknown annotations will be ignored by the JVM at runtime.

Identifying Spring annotations that are actually repeatable according to their semantics is an important part of this exercise (e.g. @Scheduled).

Since @Repeatable requires implicit container annotations anyway, we should be able to provide those in a way that works on Java 6 and 7 as well.


This issue is a sub-task of #14273

1 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions