Path: csiph.com!usenet.pasdenom.info!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 14:48:38 -0700 Organization: albasani.net Lines: 74 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: 7bit X-Trace: news.albasani.net dl61vqi05/mv6JaG7EluQJRUiEBxVJYAu6pebJXMKgS5Mdx6XMq6GDqHK5mWXEd3G2dSf0sUxK4Yn9t4bZcQSQ8MwyqM4fngoFIRMicaJjJgxRslQddlfR5BOhn3oPS/ NNTP-Posting-Date: Sat, 19 May 2012 21:48:37 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="VkF0KiYMp3gaFpE9hw5+hNpyd/uLaSydrmNy2g8I6QECokskHWXwuCxyo8VCkRRaKs4H5g2Yx+RNds+A7DcFnBAcx/J9TZl0+ppcSCcxPbC48Thw7/IuM0QFyXHFGo1v"; 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: <34ebb$4fb7e404$5419acc3$23502@cache50.multikabel.net> Cancel-Lock: sha1:olqjq4SL0uRPPv55UiJnJIq6gQ0= Xref: csiph.com comp.lang.java.programmer:14654 On 05/19/2012 11:18 AM, Skybuck Flying wrote: > > > "Joshua Cranmer" wrote in message news:jp48rq$6s8$1@dont-email.me... > > 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 >> >> 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 at all. > > I have yet to see any proof from the court case that this is actually from > java.util.Arrays. > > 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 ;) Clearly not. Or you wouldn't say things like "The only thing hinting that it might be a private method is the static keyword". It doesn't hint that. But not being a Java expert, perhaps you'd best withhold judgment as to what a certain Java keyword hints. Applied to a method, it states (not hints) that the method belongs to the class itself, not any particular instance thereof. The source code is publicly available, and one can thus guess used in the court case as one might discover should one dig deeply enough. If you had wanted proof for yourself that the method is private, and if you really did look at the publicly and easily discoverable source code, you would have found the proof there, should you have so chosen and acted upon that choice, to the devil with the court case. Anyway, whether it's from the court case or not is irrelevant, since we're responding to your personal judgment: "To me it appears as if rangeCheck is some low level operating system code or memory management code ...". Your respondents are doing you the courtesy of providing the information to inform your judgment so that the doubt, trepidation and uncertainty of "To me it appears" (which surely must create a yearning for true answers in your mind) can be replaced with the confidence of "It is". From the source for Java 7, Copyright 1997, 2011 by Oracle and cited here by fair use for editorial purposes: and I quote: via copy and paste: private static void rangeCheck(int length, int fromIndex, int toIndex) { Hey, wait a doggone minute. Your original post quoted that very line. From the court case, was it not? How extensively did you read the court documents, and could you please link your sources? Your crossposts were utterly inane so I removed them. They won't mind, I'm sure. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg