[
https://issues.apache.org/jira/browse/FELIX-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16629616#comment-16629616
]
Tom Rutchik commented on FELIX-5913:
------------------------------------
Paul,
I've done a quick inspection of your trunk. It contains the import statement:
Import dalvik.system.PathClassLoader
That's an android dependency and you can't do that unless you're planning to
support two org.apache.felix.framework versions: one for Java VM and another
for Dalvik VM. It'll probably produce compiler/lint errors in Java. That's the
general assumption I've been working on. If you can use PathClassLoader as a
first order class, as opposed to loading it using java reflections
(Class.forName(classname)) that certainly lends itself to a much simpler
solution, since one can't extend a class by a class obtained through java
reflections.
-Tom Rutchik
> Support Android
> ---------------
>
> Key: FELIX-5913
> URL: https://issues.apache.org/jira/browse/FELIX-5913
> Project: Felix
> Issue Type: Wish
> Components: Framework
> Affects Versions: framework-6.0.0, framework-6.0.1
> Reporter: Tom Rutchik
> Priority: Major
> Attachments: BundleWiringImpl.java,
> FelixAndroidSupportImplementationNotes.pdf
>
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> The lastest 6.0.0 and 6.0.1 release no longer works on Android.
> The code form the 5.6.10 version necessary to make it work was not ported
> into these versions.
> Some code needs to be added to the class BundleWiringImpl class to allow for
> android support. All of the code necessary to due that can be found in the
> 5.6.10 version.
> I've added the code and have tested it and it's working fine again. I've
> attached an implementation of BundleWiringImpl that works with android. It's
> basically the 6.0.1 implementation with the extra code from 5.6.10. You
> should be able to do a file diff on the 6.0.1 to see where I had to add the
> missing code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)