Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4542

@ConditionalInterrupt AST Transformation

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: