> <cfset class = createObject("java",
> "java.net.InetAddress").getLocalHost.getClass()>
 
You are probably getting an instance one of the subclasses: Inet4Address or 
Inet6Address. "addressCache" is declared the parent class (InetAddress). So 
that may be why you cannot access it from declaredFields. Try using 
Class.forName()

ie  <cfset cls getClass().forName("java.net.InetAddress")>



      

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342486
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to