Yes, it's a bug in your code:

> while(tempFlag == true);

Note the semicolon.  Try removing it.

On Tue, Oct 26, 2010 at 10:22 AM, doc123 <doc.u...@gmail.com> wrote:
> Sorry to use specific sample code.  So I tried more basic following code.
>
> try
> {
>
> int i =0;
>
> boolean tempFlag = false;
>
> while(tempFlag == true);
>
> {
>
> i++;
>
> out.println("tempFlag" + i + ":=" + tempFlag);
>
> tempFlag = false;
>
> }
>
> }
> catch(Exception e)
> {
>
> out.println("Error" + e.toString());
>
> }
>
> what I got is  "tempFlag1:=false"  but out.print is within a while(tempFlag
> == true) bock.
> I think this is bug.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to