This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Private members Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 32833
    
    4
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Private members
 
Similar Threads
acess private method of a object
Private instance variables accessed within the class
procted variable access in subclass
abstract class
reflection of private field in super class