https://issues.apache.org/bugzilla/show_bug.cgi?id=49972

--- Comment #8 from Kostya Serebryany <konstantin.s.serebry...@gmail.com> 
2010-09-23 04:03:35 EDT ---
>> If there were no possibility of an exception, your statement would be true.
I am not sure about this particular case, but in general a compiler (JIT) may
statically figure out that an exception will never be thrown and eliminate the
exception handling code completely -- and then shuffle the code in arbitrary
way. 
I don't think that 'this code may throw exception' may be used as
synchronization.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to