Re: Oracle/Google demonstrate human beings cannot write 10 lines
of code without making a mistake ;)
On 5/17/2012 7:18 PM, Skybuck Flying wrote:
There is no "rangeCheck" function for java.util.Arrays:
http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html
That only shows public methods.
And the code snippet said private.
So ...
To me it appears as if rangeCheck is some low level operating system
code or memory management code to try and prevent the os or applications
from crashing or exploits from taking over the system.
Th JVM does that fine without this check.
Almost seems like a deliberate design to make java programs crash...
perhaps a nice test for the "sand boxing" which after many years has
proven to be a failure, google for java exploits ;)
One of the reasons why java will not be installed onto my computers now
and in the future.
Seeing these functions only re-assures me of my decision to do so.
Maybe you should learn:
* the difference between an app and an applet
* the differnce between crash and throwing an exception
Arne