This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] java.util.StringTokenizer assumes order of parameterevaluation
- From: Andrew Haley <aph at redhat dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Wed, 16 Oct 2002 10:32:15 +0100 (BST)
- Subject: Re: [PATCH] java.util.StringTokenizer assumes order of parameterevaluation
- References: <aoj2fe$em6$1@main.gmane.org><aoj5et$oge$1@main.gmane.org>
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.