aspose file tools*
The moose likes Beginning Java and the fly likes Private members Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Private members" Watch "Private members" New topic
Author

Private members

santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
security is one of the important feature in java ... so that private members can't be accesed from ouside the class even through
Private members are accesed through reflection in java.lang.reflect package from outside the class.... so security feature does not concern with java.... Please suggest any solution to overcome this?

Creativity is nothing but Breaking Rules
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36575
    
  16
Java is not designed a a high-security language, but it does have security features. There was a similar discussion earlier today; look at this thread.
santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
Campbell Ritchie wrote:Java is not designed a a high-security language, but it does have security features. There was a similar discussion earlier today; look at this thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Private members
 
Similar Threads
acess private method of a object
procted variable access in subclass
Private instance variables accessed within the class
reflection of private field in super class
abstract class