[EMAIL PROTECTED] wrote on 2008/08/17 08:29:15 PM: > Re: [osgi-dev] Question on Bundle#update() > > Ikuo Yamasaki > > to: > > OSGi Developer Mail List > > 2008/08/17 08:38 PM > > Sent by: > > [EMAIL PROTECTED] > > Please respond to OSGi Developer Mail List <[email protected]> > > Thank you for answering my question, BJ. > > I got it. > > But, what does "this bundle tries to change its own state" mean in the > statement of the spec ?
It means a bundle calling, for example, stop on its own Bundle object. Since the stop contract says the Bundle has to stop doing things, then when Bundle.stop returns, the bundle is still executing. This is an awkward state :-) > > BJ> [Section 6.1.4.32 of Core Spec 1.4] > BJ> > BJ> IllegalStateException - If this bundle has been uninstalled or this > BJ> bundle tries to change its own state. > > > -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [EMAIL PROTECTED] office: +1 386 848 1781 mobile: +1 386 848 3788
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
