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
Answer accepted

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 Summit

Find a your Summit 2019 Buddy!

Can you believe there's less than one month until Summit 2019? It's time to start planning your agendas, not to mention packing ... In the meantime, introduce yourselves on this thread so that you ...

237 views 15 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