jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • MVEL
  • MVEL-91

MVEL hangs when compiling an expression that uses the matches (~=) operator

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.0
  • Fix Version/s: 1.3.1
  • Component/s: None
  • Labels:
    None

Description

MVEL is hanging when trying to compile the following expression:

source = "abc"; pat = "abc"; source ~= pat

It does NOT hang when compiling:

pat = "abc"; "abc" ~= pat

It also gives duplicate variable exception when compiling:

String source = "abc"; String pat = "abc"; source ~= pat

I'm committing failing test cases to 1.3 branch.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Edson Tirelli added a comment - 05/May/08 9:40 AM

[etirelli@yoda mvel-1.2]$ svn commit -m "MVEL-91: adding failing testcases" src/test/java/org/mvel/tests/main/CoreConfidenceTests.java
Sending src/test/java/org/mvel/tests/main/CoreConfidenceTests.java
Transmitting file data .
Committed revision 1383.

Show
Edson Tirelli added a comment - 05/May/08 9:40 AM [etirelli@yoda mvel-1.2]$ svn commit -m "MVEL-91: adding failing testcases" src/test/java/org/mvel/tests/main/CoreConfidenceTests.java Sending src/test/java/org/mvel/tests/main/CoreConfidenceTests.java Transmitting file data . Committed revision 1383.

People

  • Assignee:
    Mike Brock
    Reporter:
    Edson Tirelli
Vote (0)
Watch (0)

Dates

  • Created:
    05/May/08 9:39 AM
    Updated:
    09/May/08 3:25 PM
    Resolved:
    05/May/08 11:15 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.