Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Atlassian Spring Scanner, Component Plugin Type and JDK8 Lambda

arno schumacher February 2, 2016

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

4 votes
Answer accepted
Konrad Garus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 28, 2016

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

TAGS
AUG Leaders

Atlassian Community Events