Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6406858

(ann) Annotations for statements

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 5.0
    • specification
    • x86
    • linux

      A DESCRIPTION OF THE REQUEST :
      I would like ability to attach annotations to java statements as well as methods/classes/packages etc

      JUSTIFICATION :
      having difficulty writing unit tests to duplicate and test for a race condition... would like to be able to set break/pause points for different threads, which is easy to do manually in debugger, but not currently possible as part of an automated unit test without inserting further code into code being tested... if it were possible to annotate statements then debugger interface could be used to control threads running code being tested

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      - ability to annotate java statements within methods
      - ability to retrieve all statement annotations within a method

            abuckley Alex Buckley
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: