Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Oracle/Google demonstrate human beings cannot write 10 lines of code without making a mistake ;) Date: Sat, 19 May 2012 15:20:51 -0700 Organization: albasani.net Lines: 45 Message-ID: References: <29308868.1994.1337265697084.JavaMail.geo-discussion-forums@pbcuc6> <84131$4fb54067$5419acc3$20839@cache90.multikabel.net> <4e980$4fb56cac$5419acc3$13190@cache60.multikabel.net> <34ebb$4fb7e404$5419acc3$23502@cache50.multikabel.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.albasani.net 5r5DLS8RgHF0GOQztK9yfMmVcmukePYdbEcpysoHvur+M0KUtXTwSsTLmLJNdkD5OacrEtmMvlFfOIgQs1o8Lb1zDq+guQ0X5QkopOsoIeu9X+OAmNvr/+GW3NUmVJ7n NNTP-Posting-Date: Sat, 19 May 2012 22:20:52 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="JEwZVWZ2KG85DRxsSkUTUJ6XJ8vxW0t8xC53GPqNZktS3/OQmsveiZnoH5d+OjsduHO5G66nlYx0NPrKFvlXi4tbBSD6vDYitvhwN7vlE1FVYrfJ4QRQLFVpcArdnRta"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 In-Reply-To: Cancel-Lock: sha1:F/gGMYVfAY+oYDOF8aZ1IqKkjw8= Xref: csiph.com comp.lang.java.programmer:14656 > Skybuck Flying wrote: >> Joshua Cranmer wrote: >>> Skybuck Flying wrote: >>>> There is no "rangeCheck" function for java.util.Arrays: >>>> >>>> http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html >>>> >>>> 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. >>> >> " >>> It's a private method in java.util.Arrays, which is why the API does not >>> list it. If you actually read the code you'd posted, you would have >>> realized that. >> " >> Nonsense, this code could have come from anywhere. >> >> There is no proof that this came from any api [sic] at all. >> >> I have yet to see any proof from the court case that this is actually from >> java.util.Arrays. How about this, from the final instructions to the jury in the case: "[Oracle's] technical expert Dr. Mitchell ... opined that rangeCheck, at least, appeared on handsets, id. ¶ 240, though he never expressed any opinion that it was important to handset functionality. The closest he came to expressing any opinion that rangeCheck has any value were his opinions that (1) rangeCheck was “qualitatively significant to” the Arrays.java file, ..." The only reason you had "yet to see any proof from the court case that this is actually from java.util.Arrays" is that you hadn't looked. >> The only thing hinting that it might be a private method is the static >> keyword, well excuse me for not being a java [sic] expert ;) Did you notice the 'private' keyword? Did you not think that relevant to whether it's a private method? -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg