Skip to content

cjbooms/spring-default-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Spring default method failure example

Demonstrates how Spring 4.2.5.RELEASE is not capable of injecting into Java8 default methods via XML context files.

To run: mvn clean test

Simple example of default method injection failure: com.cjbooms.SomeFailedWiringTest

Example of an ugly hack that gets around the issue: com.cjbooms.SomePassingWiringTest

About

An example of how Spring injection fails with default methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages