The test selection and component calculation for jtreg tests have been
broken since the consolidated and restructured forest.
This fix will restore component calculation (which solves issues with
incorrect component-specific settings, such as nativepath). It also
allows for a more flexible test selection mechanism, better suited to
the new test structure, while at the same time cleaning up at least a
bit of the almost incomprehensible make function.
Bug: https://bugs.openjdk.java.net/browse/JDK-8191820
WebRev:
http://cr.openjdk.java.net/~ihse/JDK-8191820-fix-jtreg-test-selection/webrev.01
/Magnus