< prev index next >

src/java.base/share/classes/jdk/internal/misc/PreviewFeatures.java

Print this page
*** 35,11 ***
  
      /**
       * {@return true if preview features are enabled, otherwise false}
       */
      public static boolean isEnabled() {
!         return ENABLED;
      }
  
      /**
       * Ensures that preview features are enabled.
       * @throws UnsupportedOperationException if preview features are not enabled
--- 35,11 ---
  
      /**
       * {@return true if preview features are enabled, otherwise false}
       */
      public static boolean isEnabled() {
!         return true; // FIXME: return true until test environment ready
      }
  
      /**
       * Ensures that preview features are enabled.
       * @throws UnsupportedOperationException if preview features are not enabled
< prev index next >