Groovy
  1. Groovy
  2. GROOVY-4542

@ConditionalInterrupt AST Transformation

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8-beta-3
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      Write an AST Transformation which allows the user to create custom interrupt conditions, instead of the Thread.currentThread().isInterrupted() check from @ThreadInterrupt.

      N.B : Attached patch is not complete. Documentation is not up to date and no test case is attached. Used for discussion only.

        Activity

        Cédric Champeau created issue -
        Cédric Champeau made changes -
        Field Original Value New Value
        Attachment ConditionalInterrupt_AST_Transformation_v2.patch [ 52432 ]
        Cédric Champeau made changes -
        Assignee Cédric Champeau [ melix ] Hamlet D'Arcy [ hamletdrc ]
        Hamlet D'Arcy made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hamlet D'Arcy made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12733476 ] Default workflow, editable Closed status [ 12741041 ]
        Mark Thomas made changes -
        Patch Submitted Yes [ 10763 ]
        Flags Patch [ 10430 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12967648 ] Default workflow, editable Closed status [ 12975416 ]

          People

          • Assignee:
            Hamlet D'Arcy
            Reporter:
            Cédric Champeau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development