Earlier quoted context omitted.
There's a rule in the preprocessor to prevent infinite recursion: only replace each symbol once. The first time it encounters 'true', it's replaced with 'false'. The first time it encounters 'false, it's replace with 'true'. It's already seen 'true', so it throws up its hands. The consequence of this rule is that cycles of #defines don't do anything. Edit: Well, that's only true if there aren't other symbols introduc…
Ah .. Makes sense. Thanks.
Wikileaks To Leak 5000 Open Source Java Projects
111–120 of 140 posts
Re: Wikileaks To Leak 5000 Open Source Java Projects
#112Goverment => Java Privacy => Private Method Public Alarm => ...
Re: Wikileaks To Leak 5000 Open Source Java Projects
#113I have to say, for me private methods and fields are not a security thing. They are a way to keep the public interface clean and only confront the user with the information they need.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#114I have to say, for me private methods and fields are not a security thing. They are a way to keep the public interface clean and only confront the user with the information they need.
And that's the problem.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#115Earlier quoted context omitted.
Having worked on both telephones and nuclear reactors, I can say for sure they have nothing in common.
They're both the subject of vast public ignorance in regard to the hazards. :D
Re: Wikileaks To Leak 5000 Open Source Java Projects
#116In a global header long time ago, a friend of mine (and big "C" lover) did this to his best buddy once (a C++ and especially boost lover): #define class struct #define private public #define protected public
The image halted immediately.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#117Does Java have something similar to .Net's reflection?
Re: Wikileaks To Leak 5000 Open Source Java Projects
#118I have to say, for me private methods and fields are not a security thing. They are a way to keep the public interface clean and only confront the user with the information they need.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#119Earlier quoted context omitted.
This actually reminded me of Apple...
The difference between phones, and all other products, is that phones don't work unless you're currently in a business relationship with some telecom or another. It's a bit more like selling someone a nuclear reactor—they're beholden to your rules as long as they have no other source of fissile materials.
This article was about something totally unrelated.
Re: Wikileaks To Leak 5000 Open Source Java Projects
#120I am pretty sure this can be defeated without taking private out. Reflection will get you there with the security checking turned off.