commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johno Crawford (JIRA)" <>
Subject [jira] [Updated] (OGNL-226) Race condition with OgnlRuntime.getMethod
Date Mon, 22 Oct 2012 12:44:12 GMT


Johno Crawford updated OGNL-226:


Attaching test case, if you run it a few times it should yield the following exception..

Exception in thread "main" java.lang.AssertionError: expected:<true> but was:<false>
	at org.junit.Assert.failNotEquals(
	at org.junit.Assert.assertEquals(
	at org.junit.Assert.assertEquals(
	at OgnlRuntimeTest.runTest(
	at OgnlRuntimeTest.main(
> Race condition with OgnlRuntime.getMethod
> -----------------------------------------
>                 Key: OGNL-226
>                 URL:
>             Project: Commons OGNL
>          Issue Type: Bug
>          Components: Core Runtime
>    Affects Versions: 3.0
>            Reporter: Johno Crawford
>            Priority: Minor
>         Attachments:
> If there are two consecutive calls to OgnlRuntime.getMethod before the result is cached
it may erroneously return null.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message