From: fxn@... Date: 2007-01-28T18:25:46+09:00 Subject: Re: pass by reference? > Xavier Noria wrote: >> Java is pass-by-value for instance (according to the JLS) and that >> test passes. > Could you point me to the exact locus? Sure, that's section 8.4.1 in the current edition[*]: "When the method or constructor is invoked (�15.12), the values of the actual argument expressions initialize newly created parameter variables, each of the declared Type, before execution of the body of the method or constructor. The Identifier that appears in the DeclaratorId may be used as a simple name in the body of the method or constructor to refer to the formal parameter." -- fxn [*] http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.4.1