tjwatson commented on PR #552:
URL: https://github.com/apache/felix-dev/pull/552#issuecomment-5528461596

   > Keep the guarantee with a Felix-side cross-copy UUID registry — which 
reintroduces reflection into exactly the mechanism plurl is meant to replace, 
since each class loader has its own copy of both URLHandlers and the plurl 
classes and there's no shared rendezvous to publish to.
   
   I am a bit confused by this because there is a unit test in plurl that 
mimics a copy scenario and a separate class loader (proxy) scenario.  The 
intent of Plurl is not only can the users have their own copy loaded by a 
difference class loader, but their own copy could live in a completely 
different package name.  For example. see the test that has a copy of Plurl 
APIs at
   
   
https://github.com/eclipse-osgi-technology/plurl/tree/main/src/test/java/org/eclipse/osgitech/plurl/test/copy
   
   In this case it reflects on agreed upon method names from the Plurl APIs.  
This way, as long as the copies mirror the upstream Plurl APIs then they can 
intermix in the same JVM.  This way Felix and Equinox can both run in the same 
JVM and still multiplex on the protocols even if they copied the plurl API/impl 
into their own felix and equinox packages.
   
   Can you go into more details on what plurl changes you need to get the 
`bundle` protocol to work in Felix.  Do you need some alternative way to tell 
plurl about your protocols so that we delegate to the factory for the protocol 
differently than the default?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to