Skip to content

@PropertySources fails on JDK 7 due to @Repeatable [SPR-11086] #15712

@spring-projects-issues

Description

@spring-projects-issues

Phil Webb opened SPR-11086 and commented

e95bd9e#commitcomment-4547605

@philwebb How is this supposed to work when using JDK < 8? java.lang.annotation.repetable seems to have @Retention(RetentionPolicy.RUNTIME)... We just tried to run an example which uses @PropertySource using JDK 1.7 and it fails with a ClassNotFoundException!


Attachments:

Issue Links:

Referenced from: commits ddebda1

0 votes, 7 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions