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

Add GC.selected() jtreg-ext function

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b17

      Backports

        Description

        Instead of having to write:
         for (GC gc: GC.values()) {
           if (gc.isSelected()) {
             test(gc);
           }
         }
          
        to know what the currently selected GC is, it would be nice to be able to simply write:
         test(GC.selected())

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stefank Stefan Karlsson
                  Reporter:
                  stefank Stefan Karlsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: