test/jtreg-ext/requires/VMProps.java
changeset 50708 bd3a8f48597e
parent 50590 5fa19bad622d
child 50791 b1e90a8a876c
--- 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";
     }