Menu

#1205 Parse error on lambda with if

PMD-5.1.2
closed
PMD
3-Major
Bug
5.1.1
2014-07-20
2014-06-05
No

PMD fails to parse the lambda in the attached file. It stops at the double open parenthesis in line 7. The Java SE 1.8.0_05 (Linux, x86) compiler accepts the file. The error disappears when the if statement is removed from the lambda body.

1 Attachments

Discussion

  • Andreas Dangel

    Andreas Dangel - 2014-07-17

    This will be fixed with the next release.

     
  • Andreas Dangel

    Andreas Dangel - 2014-07-17
    • status: open --> closed
    • assigned_to: Andreas Dangel
    • Milestone: New Tickets --> PMD-Next
     

Log in to post a comment.