< prev index next >

make/modules/java.base/Java.gmk

Print this page
*** 26,14 ***
  # The base module should be built with all warnings enabled. When a
  # new warning is added to javac, it can be temporarily added to the
  # disabled warnings list.
  #
  # DISABLED_WARNINGS_java +=
  
! DOCLINT += -Xdoclint:all/protected \
!     '-Xdoclint/package:java.*,javax.*'
! JAVAC_FLAGS += -XDstringConcat=inline
  COPY += .icu .dat .spp .nrm content-types.properties \
      hijrah-config-Hijrah-umalqura_islamic-umalqura.properties
  CLEAN += intrinsic.properties
  
  EXCLUDE_FILES += \
--- 26,16 ---
  # The base module should be built with all warnings enabled. When a
  # new warning is added to javac, it can be temporarily added to the
  # disabled warnings list.
  #
  # DISABLED_WARNINGS_java +=
+ DISABLED_WARNINGS_java += preview
  
! # DOCLINT += -Xdoclint:all/protected \
! #     '-Xdoclint/package:java.*,javax.*'
! JAVAC_FLAGS += -XDstringConcat=inline \
+     --enable-preview
  COPY += .icu .dat .spp .nrm content-types.properties \
      hijrah-config-Hijrah-umalqura_islamic-umalqura.properties
  CLEAN += intrinsic.properties
  
  EXCLUDE_FILES += \
< prev index next >