Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-05-2004
vsonnathi vsonnathi is offline
Registered User
 
Name: Venkat Ramana
Organization: Amazon.com
Project: Prototype
 
Join Date: May 2004
Posts: 39
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.
Reply With Quote
  #2 (permalink)  
Old 11-08-2004
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 962
Venkat,

We'll fix this.

Take care,
- Mark
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IceSSL CA public key and C# tkrieger Help Center 1 12-08-2006 10:53 PM
Java VM Crash within Ice.CommunicatorI.destroy and many threads w/ Prioxies. jae Help Center 3 10-17-2006 09:09 PM
Glacier2 Needs Public IP Wayetender Help Center 1 04-15-2005 11:01 PM
Chinese tranlation of Distributed Programming with Ice (public review version) weida Comments 13 10-09-2004 06:01 PM
ICE warning LNK4217: locally defined symbol ??0exception@@QAE@ABV0@@Z (public: __this Neo Help Center 1 07-22-2004 05:58 PM


All times are GMT -4. The time now is 10:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.