This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] java.util.StringTokenizer assumes order of parameterevaluation


Ranjit Mathew writes:
 > Sorry guys, but I just referred to the JLS (section 15.12.4.2,
 > "Evaluate Arguments"):
 > 
 > http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#45449
 > 
 > and I quote:
 > 
 > "The argument expressions are evaluated in order, from left to right..."
 > 
 > Therefore, the coder for StringTokenizer *can* assume the
 > order of evaluation - there must be some other problem that
 > I need to figure out.
 > 
 > BTW, does GCJ guarantee this order at all times?

Yes.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]