Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sisu-users] Sisu and Java 8 problems

Hi.

I have trouble with Sisu 0.2.1 and Java 8. It will not find any beans using the following code:

--
final URLClassSpace classSpace = new URLClassSpace( getClass().getClassLoader() );
final SpaceModule spaceModule = new SpaceModule( classSpace );
final WireModule wireModule = new WireModule( spaceModule );

final Injector injector = Guice.createInjector( wireModule );
injector.getBindings().values().forEach( System.out::println );
--

Everything works great in Java 7. A known problem?

BR,
Sten Roger Sandvik


Back to the top