Content deleted Content added
→Java pass by value: quotation from the JLS with explanation |
→Java pass by value: please remind yourself of WP:CONSENSUS |
||
Line 546:
The newly created activation frame becomes the current activation frame. The effect of this is to assign the argument values to corresponding freshly created parameter variables of the method, and to make the target reference available as this, if there is a target reference. Before each argument value is assigned to its corresponding parameter variable, it is subjected to method invocation conversion (§5.3), which includes any required value set conversion (§5.1.13).</blockquote>
:::Each argument '''value''' is assigned to its corresponding parameter variable. This is [[pass-by-value]]. -- [[User:Schapel|Schapel]] ([[User talk:Schapel|talk]]) 12:35, 10 December 2010 (UTC)
::::I don't know what you're trying to prove here, but we can't have mistruths in the article just to please you. You quoted books that said, "''object references are passed by value''" (your favourite phrase from above) and "A method call can pass [...] copies of references to objects". At the same time you added to the article, "reference types in Java [are] passed by value". That is not the same thing. Please don't write any more code or lengthy explanations to justify it. Just accept that they are not the same thing. I'll go with that silly phrase, used by both you and your book, "references are passed by value" (without asking again how else a reference would possibly be passed) if you will please leave that part of the article alone in this compromise state. For future reference, please remind yourself of [[WP:CONSENSUS]], which is policy here. --[[User:Nigelj|Nigelj]] ([[User talk:Nigelj|talk]]) 14:49, 10 December 2010 (UTC)
== "neutrality" is counter to the point ==
|