Hi,

I tried to use OSGI log service in one of the Part. So I have added the
below code ( DI) and I found a strange behaviour. The second SOP prints
only "false". It is not printing  the string "Log Reader service "
It looks like there is a problem in the code generation ??


@Inject
ExtendedLogService logger;
@Inject
LogReaderService readerService;
@PostConstruct
public void init(Composite parent,final MWindow window){
boolean ss = logger == null;
System.out.println("Logger service "+ ss);
System.out.println("Log Reader service   " + readerService == null);
}



Output
-------------
Logger service false
false
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to