Hi Elvy, Hasn't this been solved by fixing FELIX-463 [1] ?
Regards Felix [1] http://issues.apache.org/jira/browse/FELIX-463 Am Donnerstag, den 17.01.2008, 02:01 -0800 schrieb Elvy: > I added the JAI jars to %JAVA_HOME%/jre/lib/ext and now the TIFFDecodeParam > class is found. > > Can I conclude that when a package is in bootdelegation (com.sun.*) then no > sub package can be provided by bundles (com.sun.media.jai.*)? > > If this is true then we're facing an implementation mistake since it is > clearly stated in OSGi r4 spec PDF, page 54-278, that bootdelegation is used > first (step 2), but if it cannot resolve the class name, then the resolution > continues normally (step 3). > > Have you already experienced something similar? > > > > Elvy wrote: > > > > Hi all, > > > > Here's the situation: > > - I have in bootdelegation => sun.*, com.sun.* > > - I have the jai API (+ native libs) in my bundle > > > > When I run my program, I end up with "java.lang.NoClassDefFoundError: > > com/sun/media/jai/codec/TIFFDecodeParam". > > > > As you can see my TIFFDecodeParam is in the com.sun package. I just don't > > know how what to do to make this work. > > > > So you know, my manifest does contain all the com.sun.media.jai packages > > as Private-Package. > > > > heeeeeeeeeeeeeeeeeeeeeeeeelp > > > > > http://www.nabble.com/file/p14915679/osgi_class_resolution.gif > > ----- > Tell me something you don't know! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

