commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Peryshkin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OGNL-229) Error appears parsing a constructor after + or something other: "[source error] ; is missing"
Date Tue, 25 Dec 2012 15:42:12 GMT
Sergey Peryshkin created OGNL-229:
-------------------------------------

             Summary: 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:

{ "' ' + 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.

--
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