cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-3971) SpringBus.getId() may fail to determine the symbolic bundle name
Date Sat, 10 Dec 2011 21:28:39 GMT
SpringBus.getId() may fail to determine the symbolic bundle name
----------------------------------------------------------------

                 Key: CXF-3971
                 URL: https://issues.apache.org/jira/browse/CXF-3971
             Project: CXF
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.5
            Reporter: Aki Yoshida
            Assignee: Aki Yoshida
            Priority: Minor
             Fix For: 2.5.1


SpringBus.getId() should use reflection over public interface to get the bundle symbolic name

This method currently uses reflection on the bundle context implementation class (and this
could be org.apache.felix.framework.BundleContextImpl) and this may lead to the illegal access
exception:

java.lang.IllegalAccessException: Class org.apache.cxf.bus.spring.SpringBus can not access
a member of class org.apache.felix.framework.BundleContextImpl with modifiers "public"

This will result in not retrieving the symbolic name that could be otherwise retrieved.

I am modifying the SpringBus to use the org.osgi.framework.* interfaces to do the invocation
to avoid this issue.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message