Hi;

In test SimpleBeanLifecycleTest # testSpecializedBeanExtendsManagedBean, MountainLion specializes the Lion so the managed bean with Lion is never resolved.

So getBeans(Lion.class, TAME_LITERAL) returns bean with MountationLion not bean with Lion.

Therefore assert bean != null; in the test case seems not to be correct!

WDYT?

Thks;

--Gurkan


Yahoo! Türkiye açıldı!
Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de!
www.yahoo.com.tr