Hi,
As part of trying to implement
https://issues.apache.org/jira/browse/SLING-5743, I've run into a problem
where an interface in the
package org.apache.sling.models.spi.injectorspecific depends upon an enum
in org.apache.sling.models.annotations.injectorspecific. The enum should
have been placed in the spi package to begin with, but this was overlooked.
As I am trying to extract the package
org.apache.sling.models.annotations.injectorspecific
into a separate bundle, this is a problem. Ideally, I would just move the
enum, but this would break existing SPI implementors. If this wasn't an
enum, I would have some more options, but I cannot see a way to refactor
the SPI interface to move the enum dependency without breaking backwards
compatibility.

I thought I would post this to the list in case anyone had a clever
solution to this problem.

Open to any and all ideas.

Thanks,
Justin

Reply via email to