commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OGNL-229) Error appears parsing a constructor after + or something other: "[source error] ; is missing"
Date Thu, 27 Dec 2012 06:38:14 GMT

     [ https://issues.apache.org/jira/browse/OGNL-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated OGNL-229:
-------------------------------

    Description: 
Worked well on 2.6.9.
I've tried to add some tests to StaticsAndConstructorsTest:
{code:java}
{ "' ' + new java.text.SimpleDateFormat('dd.MM.yyyy').format(testDate)", " " + new SimpleDateFormat("dd.MM.yyyy").format(ROOT.getTestDate())
},
            { "testString + new java.text.SimpleDateFormat('dd.MM.yyyy').format(testDate)",
ROOT.getTestString() + new SimpleDateFormat("dd.MM.yyyy").format(ROOT.getTestDate()) },
            { "testString + ' ' + new java.text.SimpleDateFormat('dd.MM.yyyy').format(testDate)",
ROOT.getTestString() + " " + new SimpleDateFormat("dd.MM.yyyy").format(ROOT.getTestDate())
},
{code}
and all of it has failed.

  was:
Worked well on 2.6.9.
I've tried to add some tests to StaticsAndConstructorsTest:

{ "' ' + new java.text.SimpleDateFormat('dd.MM.yyyy').format(testDate)", " " + new SimpleDateFormat("dd.MM.yyyy").format(ROOT.getTestDate())
},
            { "testString + new java.text.SimpleDateFormat('dd.MM.yyyy').format(testDate)",
ROOT.getTestString() + new SimpleDateFormat("dd.MM.yyyy").format(ROOT.getTestDate()) },
            { "testString + ' ' + new java.text.SimpleDateFormat('dd.MM.yyyy').format(testDate)",
ROOT.getTestString() + " " + new SimpleDateFormat("dd.MM.yyyy").format(ROOT.getTestDate())
},

and all of it has failed.

    
> Error appears parsing a constructor after + or something other: "[source error] ; is
missing"
> ---------------------------------------------------------------------------------------------
>
>                 Key: OGNL-229
>                 URL: https://issues.apache.org/jira/browse/OGNL-229
>             Project: Commons OGNL
>          Issue Type: Bug
>          Components: ExpressionCompiler
>    Affects Versions: 2.7.3, 3.0
>            Reporter: Sergey Peryshkin
>
> Worked well on 2.6.9.
> I've tried to add some tests to StaticsAndConstructorsTest:
> {code:java}
> { "' ' + new java.text.SimpleDateFormat('dd.MM.yyyy').format(testDate)", " " + new SimpleDateFormat("dd.MM.yyyy").format(ROOT.getTestDate())
},
>             { "testString + new java.text.SimpleDateFormat('dd.MM.yyyy').format(testDate)",
ROOT.getTestString() + new SimpleDateFormat("dd.MM.yyyy").format(ROOT.getTestDate()) },
>             { "testString + ' ' + new java.text.SimpleDateFormat('dd.MM.yyyy').format(testDate)",
ROOT.getTestString() + " " + new SimpleDateFormat("dd.MM.yyyy").format(ROOT.getTestDate())
},
> {code}
> and all of it has failed.

--
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: http://www.atlassian.com/software/jira

Mime
View raw message