Archived

This forum has been archived. Please start a new discussion on GitHub.

Acess modifier for CommunicatorI is not public

Hi,

I am trying to use Spring framework to wireup my dependencies which uses reflection extensively.

When trying to invoke destroy method on communicator instance obtained by Ice.Util.initialize(args), I am getting a IllegalAccessException. I took at quick look at CommunicatorI class and it is not public.

I also looked at the other *I.java classes in Ice package and found the following missing public:

1) CommunicatorI.java
2) PropertiesI.java

Other files ObjectAdapterI.java, PluginManagerI.java etc.. all are public. I think you don't want users to instantiate the CommunicatorI class directly but the same can be acheived by making the constructor package access.

Can you please this change to CommunicatorI and PropertiesI so that method s can be invoked via Reflection and at the same time keep the current sematics.

Thanks in advance,
--Venkat.

Thanks,
--Venkat.

Comments