Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] rosgi and asm in Luna

On 04/13/2014 03:19 PM, slewis@xxxxxxxxxxxxx wrote:
> I don't know precisely what rosgi uses asm for...so I don't know.     My
> understanding is that asm < 5.0 doesn't handle java8 byte code...so that
> could be a problem for using rosgi for java8-based remote services.  
> Perhaps not, but you and/or Jan will have to answer that.

asm is used heavily in r-OSGi and thus it might indeed have problems
with Java8. That is, why I'm reluctant to just upgrade to 5.x which
could break r-OSGi in subtle way. Thus, lets wait for this requirement
to come up (at least I don't have the resources to work on this any time
soon anyway).

> That's true...and in fact we already do this (version 3.3.1 of asm).  
> This installs fine into Luna (no singleton).   However,  in running tests
> of the tutorial example product configs...the presence of two versions of
> the asm dependency seems to be resulting in the wrong version being
> selected at runtime.   This isn't fatal (the correct one can be selected
> in the generated launch config)...but it's inconvienient for new users who
> are using the tutorial to learn about remote services/ECF/rosgi.

Wouldn't OSGi take care of resolving 3.x and not 5.x even if both are
present in the launch config?

M.


Back to the top