--- a/test/jtreg-ext/requires/VMProps.java Thu Jun 21 16:45:29 2018 -0700
+++ b/test/jtreg-ext/requires/VMProps.java Thu Jun 21 21:37:28 2018 -0700
@@ -176,16 +176,13 @@
* @return "true" if Flight Recorder is enabled, "false" if is disabled.
*/
protected String vmFlightRecorder() {
- Boolean isUnlockedCommercialFatures = WB.getBooleanVMFlag("UnlockCommercialFeatures");
Boolean isFlightRecorder = WB.getBooleanVMFlag("FlightRecorder");
String startFROptions = WB.getStringVMFlag("StartFlightRecording");
- if (isUnlockedCommercialFatures != null && isUnlockedCommercialFatures) {
- if (isFlightRecorder != null && isFlightRecorder) {
- return "true";
- }
- if (startFROptions != null && !startFROptions.isEmpty()) {
- return "true";
- }
+ if (isFlightRecorder != null && isFlightRecorder) {
+ return "true";
+ }
+ if (startFROptions != null && !startFROptions.isEmpty()) {
+ return "true";
}
return "false";
}