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

Add GC.selected() jtreg-ext function

XMLWordPrintable

    • gc
    • b17

        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())

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

                Created:
                Updated:
                Resolved: