Atlassian Spring Scanner, Component Plugin Type and JDK8 Lambda

I observed that if an annotated class contains a lambda expression the spring-scanner does not pick up the component at all, so no entry is written to the /META-INF/plugin-components/component file.

In case I replace the lambda expressions by anonymous classes everything works as expected.

 

Does anyone else also observed this phenomenon?

 

amps.version:  6.2.1 

atlassian.spring.scanner.version: 1.2.6

jira.version: 7.0.9

 

 

1 answer

1 accepted

3 votes
Accepted answer

Known issue, fixed in spring-scanner 1.2.7: https://ecosystem.atlassian.net/browse/SCANNER-38

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

202 views 3 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you