Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Automatic merge of jdk:master into master
  • Loading branch information
duke committed Jan 12, 2021
2 parents ab4b36a + ae0532e commit b5719f777406644f0f9364f401cc9a7bee850e00
Showing with 5,572 additions and 2,345 deletions.
  1. +1 −1 .github/workflows/submit.yml
  2. +5 −5 make/CompileInterimLangtools.gmk
  3. +31 −562 make/CompileJavaModules.gmk
  4. +0 −1 make/Docs.gmk
  5. +1 −1 make/Init.gmk
  6. +1 −1 make/autoconf/jdk-options.m4
  7. +9 −7 make/autoconf/jdk-version.m4
  8. +12 −6 make/autoconf/libraries.m4
  9. +4 −1 make/autoconf/spec.gmk.in
  10. +38 −0 make/conf/branding.conf
  11. +8 −8 make/conf/jib-profiles.js
  12. +0 −14 make/{autoconf/version-numbers → conf/version-numbers.conf}
  13. 0 make/{hotspot/symbols → data/hotspot-symbols}/symbols-aix
  14. 0 make/{hotspot/symbols → data/hotspot-symbols}/symbols-aix-debug
  15. 0 make/{hotspot/symbols → data/hotspot-symbols}/symbols-linux
  16. 0 make/{hotspot/symbols → data/hotspot-symbols}/symbols-macosx
  17. 0 make/{hotspot/symbols → data/hotspot-symbols}/symbols-shared
  18. 0 make/{hotspot/symbols → data/hotspot-symbols}/symbols-unix
  19. 0 make/{templates → data/license-templates}/bsd-header
  20. 0 make/{templates → data/license-templates}/gpl-cp-header
  21. 0 make/{templates → data/license-templates}/gpl-header
  22. +6 −6 make/hotspot/lib/JvmMapfile.gmk
  23. +0 −79 make/jdk/src/classes/build/tools/taglet/Preview.java
  24. +15 −3 make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java
  25. +50 −0 make/modules/java.base/Java.gmk
  26. +27 −0 make/modules/java.compiler/Java.gmk
  27. +28 −0 make/modules/java.datatransfer/Java.gmk
  28. +152 −0 make/modules/java.desktop/Java.gmk
  29. +27 −0 make/modules/java.instrument/Java.gmk
  30. +27 −0 make/modules/java.logging/Java.gmk
  31. +27 −0 make/modules/java.management.rmi/Java.gmk
  32. +27 −0 make/modules/java.management/Java.gmk
  33. +28 −0 make/modules/java.naming/Java.gmk
  34. +27 −0 make/modules/java.prefs/Java.gmk
  35. +32 −0 make/modules/java.rmi/Java.gmk
  36. +29 −0 make/modules/java.scripting/Java.gmk
  37. +27 −0 make/modules/java.security.jgss/Java.gmk
  38. +27 −0 make/modules/java.smartcardio/Java.gmk
  39. +32 −0 make/modules/java.sql.rowset/Java.gmk
  40. +27 −0 make/modules/java.sql/Java.gmk
  41. +27 −0 make/modules/java.transaction.xa/Java.gmk
  42. +29 −0 make/modules/java.xml.crypto/Java.gmk
  43. +29 −0 make/modules/java.xml/Java.gmk
  44. +54 −0 make/modules/jdk.aot/Java.gmk
  45. +26 −0 make/modules/jdk.charsets/Java.gmk
  46. +2 −3 make/modules/jdk.compiler/Gendata.gmk
  47. +31 −0 make/modules/jdk.compiler/Java.gmk
  48. +30 −0 make/modules/jdk.dev/Java.gmk
  49. +26 −0 make/modules/jdk.dynalink/Java.gmk
  50. +26 −0 make/modules/jdk.editpad/Java.gmk
  51. +28 −0 make/modules/jdk.hotspot.agent/Java.gmk
  52. +26 −0 make/modules/jdk.httpserver/Java.gmk
  53. +26 −0 make/modules/jdk.incubator.vector/Java.gmk
  54. +26 −0 make/modules/jdk.internal.jvmstat/Java.gmk
  55. +26 −0 make/modules/jdk.internal.le/Java.gmk
  56. +26 −0 make/modules/jdk.internal.opt/Java.gmk
  57. +38 −0 make/modules/jdk.internal.vm.ci/Java.gmk
  58. +88 −0 make/modules/jdk.internal.vm.compiler/Java.gmk
  59. +27 −0 make/modules/jdk.jartool/Java.gmk
  60. +1 −2 make/modules/jdk.javadoc/Gendata.gmk
  61. +26 −0 make/modules/jdk.javadoc/Java.gmk
  62. +26 −0 make/modules/jdk.jcmd/Java.gmk
  63. +29 −0 make/modules/jdk.jconsole/Java.gmk
  64. +30 −0 make/modules/jdk.jdeps/Java.gmk
  65. +33 −0 make/modules/jdk.jdi/Java.gmk
  66. +28 −0 make/modules/jdk.jfr/Java.gmk
  67. +30 −0 make/modules/jdk.jpackage/Java.gmk
  68. +26 −0 make/modules/jdk.jshell/Java.gmk
  69. +30 −0 make/modules/jdk.localedata/Java.gmk
  70. +46 −0 make/modules/jdk.sctp/Java.gmk
  71. +26 −0 make/modules/jdk.unsupported.desktop/Java.gmk
  72. +26 −0 make/modules/sun.charsets/Java.gmk
  73. +8 −5 make/scripts/fixpath.sh
  74. +5 −5 make/scripts/lic_check.sh
  75. +2 −2 src/hotspot/cpu/aarch64/aarch64.ad
  76. +158 −158 src/hotspot/cpu/aarch64/aarch64_neon.ad
  77. +39 −39 src/hotspot/cpu/aarch64/aarch64_neon_ad.m4
  78. +8 −16 src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp
  79. +7 −9 src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp
  80. +13 −17 src/hotspot/cpu/arm/macroAssembler_arm.cpp
  81. +23 −25 src/hotspot/cpu/arm/sharedRuntime_arm.cpp
  82. +3 −3 src/hotspot/cpu/ppc/ppc.ad
  83. +7 −9 src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp
  84. +3 −3 src/hotspot/cpu/s390/s390.ad
  85. +6 −8 src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp
  86. +1 −1 src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp
  87. +6 −16 src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp
  88. +6 −16 src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp
  89. +6 −8 src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp
  90. +3 −3 src/hotspot/cpu/zero/globalDefinitions_zero.hpp
  91. +25 −43 src/hotspot/os/posix/signals_posix.cpp
  92. +28 −30 src/hotspot/share/asm/assembler.cpp
  93. +0 −13 src/hotspot/share/compiler/compilerOracle.cpp
  94. +0 −4 src/hotspot/share/compiler/compilerOracle.hpp
  95. +0 −1 src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp
  96. +2 −2 src/hotspot/share/opto/output.cpp
  97. +3 −3 src/hotspot/share/prims/jni.cpp
  98. +0 −27 src/hotspot/share/prims/jvmtiExport.cpp
  99. +1 −7 src/hotspot/share/prims/jvmtiExport.hpp
  100. +0 −5 src/hotspot/share/runtime/globals.hpp
  101. +54 −0 src/hotspot/share/runtime/os.cpp
  102. +18 −0 src/hotspot/share/runtime/os.hpp
  103. +19 −11 src/hotspot/share/utilities/vmError.cpp
  104. +2 −2 src/java.base/share/classes/java/io/File.java
  105. +3 −17 src/java.base/share/classes/java/lang/Class.java
  106. +1 −2 src/java.base/share/classes/java/lang/reflect/Constructor.java
  107. +1 −2 src/java.base/share/classes/java/lang/reflect/Field.java
  108. +1 −2 src/java.base/share/classes/java/lang/reflect/Method.java
  109. +13 −13 src/java.base/share/classes/java/net/AbstractPlainDatagramSocketImpl.java
  110. +10 −11 src/java.base/share/classes/java/net/AbstractPlainSocketImpl.java
  111. +1 −2 src/java.base/share/classes/java/net/DatagramPacket.java
  112. +1 −2 src/java.base/share/classes/java/net/HttpConnectSocketImpl.java
  113. +2 −2 src/java.base/share/classes/java/net/Inet4Address.java
  114. +4 −6 src/java.base/share/classes/java/net/Inet6Address.java
  115. +5 −5 src/java.base/share/classes/java/net/InetSocketAddress.java
  116. +8 −8 src/java.base/share/classes/java/net/NetMulticastSocket.java
  117. +1 −2 src/java.base/share/classes/java/net/Proxy.java
  118. +1 −2 src/java.base/share/classes/java/net/SocksSocketImpl.java
  119. +1 −2 src/java.base/share/classes/java/nio/file/attribute/AclEntry.java
  120. +3 −3 src/java.base/share/classes/java/text/Normalizer.java
  121. +6 −2 src/java.base/share/classes/jdk/internal/{ → javac}/PreviewFeature.java
  122. +6 −7 src/java.base/share/classes/jdk/internal/misc/Signal.java
  123. +2 −3 src/java.base/share/classes/module-info.java
  124. +2 −2 src/java.base/share/classes/sun/net/www/protocol/http/Negotiator.java
  125. +1 −1 src/java.base/share/classes/sun/net/www/protocol/https/HttpsClient.java
  126. +2 −2 src/java.base/share/classes/sun/nio/ch/DatagramSocketAdaptor.java
  127. +2 −2 src/java.base/share/classes/sun/nio/fs/PollingWatchService.java
  128. +2 −2 src/java.base/unix/classes/sun/nio/fs/UnixPath.java
  129. +2 −2 src/java.base/windows/classes/sun/nio/fs/WindowsPath.java
  130. +10 −1 src/java.base/windows/native/libnio/ch/UnixDomainSockets.c
  131. +5 −19 src/java.compiler/share/classes/javax/lang/model/element/Modifier.java
  132. +3 −9 src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java
  133. +6 −1 src/java.datatransfer/share/classes/java/awt/datatransfer/DataFlavor.java
  134. +6 −1 src/java.datatransfer/share/classes/java/awt/datatransfer/FlavorEvent.java
  135. +6 −5 src/java.datatransfer/share/classes/java/awt/datatransfer/MimeType.java
  136. +7 −2 src/java.datatransfer/share/classes/java/awt/datatransfer/MimeTypeParseException.java
  137. +6 −3 src/java.datatransfer/share/classes/java/awt/datatransfer/UnsupportedFlavorException.java
  138. +4 −3 src/java.desktop/macosx/native/libawt_lwawt/awt/JavaAccessibilityAction.m
  139. +3 −10 src/jdk.compiler/share/classes/com/sun/source/tree/ClassTree.java
  140. +5 −2 src/jdk.compiler/share/classes/com/sun/tools/doclint/DocLint.java
  141. +7 −3 src/jdk.compiler/share/classes/com/sun/tools/javac/api/BasicJavacTask.java
  142. +5 −1 src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTaskPool.java
  143. +3 −3 src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java
  144. +42 −10 src/jdk.compiler/share/classes/com/sun/tools/javac/code/Preview.java
  145. +1 −1 src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
  146. +2 −2 src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
  147. +3 −3 src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
  148. +31 −16 src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
  149. +2 −1 src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java
  150. +3 −3 src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
  151. +4 −2 src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
  152. +3 −3 src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
  153. +2 −2 src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
  154. +26 −13 src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
  155. +17 −5 src/jdk.compiler/share/classes/com/sun/tools/javac/util/MandatoryWarningHandler.java
  156. +3 −3 src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
  157. +8 −0 src/jdk.compiler/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java
  158. +3 −4 src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemorySegment.java
  159. +9 −2 src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/MappedMemorySegmentImpl.java
  160. +2 −2 ...e/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java
  161. +10 −9 ...vadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractExecutableMemberWriter.java
  162. +13 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractMemberWriter.java
  163. +9 −2 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AllClassesIndexWriter.java
  164. +8 −3 ...are/classes/jdk/javadoc/internal/doclets/formats/html/AnnotationTypeRequiredMemberWriterImpl.java
  165. +3 −2 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ClassUseWriter.java
  166. +29 −2 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ClassWriterImpl.java
  167. +6 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ConstructorWriterImpl.java
  168. +9 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/Contents.java
  169. +19 −350 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/DeprecatedListWriter.java
  170. +8 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/EnumConstantWriterImpl.java
  171. +8 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/FieldWriterImpl.java
  172. +10 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HelpWriter.java
  173. +11 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java
  174. +11 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java
  175. +228 −19 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java
  176. +3 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlOptions.java
  177. +2 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/IndexRedirectWriter.java
  178. +38 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/LinkFactoryImpl.java
  179. +29 −2 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/LinkInfoImpl.java
  180. +8 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/MethodWriterImpl.java
  181. +2 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleIndexWriter.java
  182. +3 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ModuleWriterImpl.java
  183. +25 −4 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/Navigation.java
  184. +3 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/NestedClassWriterImpl.java
  185. +3 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PackageWriterImpl.java
  186. +93 −0 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PreviewListWriter.java
  187. +7 −3 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PropertyWriterImpl.java
  188. +6 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/Signatures.java
  189. +3 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/SubWriterHolderWriter.java
  190. +303 −0 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/SummaryListWriter.java
  191. +3 −16 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlDocument.java
  192. +15 −7 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle.java
  193. +13 −2 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlTree.java
  194. +2 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/TagName.java
  195. +19 −4 ...jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/standard.properties
  196. +9 −1 ...avadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeRequiredMemberWriter.java
  197. +9 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/ConstructorWriter.java
  198. +8 −0 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/EnumConstantWriter.java
  199. +9 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/FieldWriter.java
  200. +8 −0 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/MethodWriter.java
  201. +9 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/PropertyWriter.java
  202. +12 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/WorkArounds.java
  203. +12 −1 ...re/classes/jdk/javadoc/internal/doclets/toolkit/builders/AnnotationTypeRequiredMemberBuilder.java
  204. +11 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/ConstructorBuilder.java
  205. +11 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/EnumConstantBuilder.java
  206. +11 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/FieldBuilder.java
  207. +11 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/MethodBuilder.java
  208. +10 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/PropertyBuilder.java
  209. +2 −11 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties
  210. +16 −5 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css
  211. +8 −7 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Comparators.java
  212. +12 −152 ...jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DeprecatedAPIListBuilder.java
  213. +5 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocLink.java
  214. +4 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocPaths.java
  215. +48 −0 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/PreviewAPIListBuilder.java
  216. +225 −0 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/SummaryAPIListBuilder.java
  217. +255 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java
  218. +4 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/links/LinkFactory.java
  219. +5 −0 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/links/LinkInfo.java
  220. +2 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/ElementsTable.java
  221. +0 −8 src/jdk.jshell/share/classes/jdk/jshell/Snippet.java
  222. +99 −0 test/hotspot/gtest/runtime/test_os.cpp
  223. +7 −0 test/jdk/java/foreign/TestByteBuffer.java
  224. +2 −2 test/jdk/java/lang/invoke/defineHiddenClass/PreviewHiddenClass.java
  225. +2 −3 test/jdk/java/lang/ref/CleanerTest.java
  226. +1 −2 test/jdk/java/util/Arrays/TimSortStackSize2.java
  227. +1 −1 test/jdk/jdk/modules/etc/JdkQualifiedExportTest.java
  228. +2 −4 test/langtools/jdk/javadoc/doclet/AccessSkipNav/AccessSkipNav.java
  229. +0 −1 test/langtools/jdk/javadoc/doclet/testAnnotationTypes/TestAnnotationTypes.java
  230. +18 −18 test/langtools/jdk/javadoc/doclet/testDeprecatedDocs/TestDeprecatedDocs.java
  231. +5 −5 test/langtools/jdk/javadoc/doclet/testHtmlTableTags/TestHtmlTableTags.java
  232. +3 −2 test/langtools/jdk/javadoc/doclet/testModules/TestModules.java
  233. +7 −19 test/langtools/jdk/javadoc/doclet/testNavigation/TestNavigation.java
  234. +123 −0 test/langtools/jdk/javadoc/doclet/testPreview/TestPreview.java
  235. +30 −0 test/langtools/jdk/javadoc/doclet/testPreview/api/preview/Core.java
  236. +30 −0 test/langtools/jdk/javadoc/doclet/testPreview/api/preview/CoreRecord.java
  237. +29 −0 test/langtools/jdk/javadoc/doclet/testPreview/api/preview/CoreRecordComponent.java
  238. +30 −0 test/langtools/jdk/javadoc/doclet/testPreview/api/preview/Reflective.java
  239. +2 −0 test/langtools/jdk/javadoc/doclet/testPreview/doc/element-list
  240. 0 test/langtools/jdk/javadoc/doclet/testPreview/doc/java.base/preview/Core.html
  241. 0 test/langtools/jdk/javadoc/doclet/testPreview/doc/java.base/preview/Reflective.html
  242. +25 −0 test/langtools/jdk/javadoc/doclet/testPreview/m/module-info.java
  243. +35 −0 test/langtools/jdk/javadoc/doclet/testPreview/m/pkg/DocAnnotation.java
  244. +28 −0 test/langtools/jdk/javadoc/doclet/testPreview/m/pkg/DocAnnotationUse1.java
  245. +28 −0 test/langtools/jdk/javadoc/doclet/testPreview/m/pkg/DocAnnotationUse2.java
  246. +33 −0 test/langtools/jdk/javadoc/doclet/testPreview/m/pkg/TestPreviewAPIUse.java
  247. +28 −0 test/langtools/jdk/javadoc/doclet/testPreview/m/pkg/TestPreviewDeclaration.java
  248. +30 −0 test/langtools/jdk/javadoc/doclet/testPreview/m/pkg/TestPreviewDeclarationUse.java
  249. +3 −3 test/langtools/jdk/javadoc/doclet/testRecordTypes/TestRecordTypes.java
  250. +83 −54 test/langtools/jdk/javadoc/doclet/testSealedTypes/TestSealedTypes.java
  251. +2 −2 test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java
  252. +4 −1 test/langtools/jdk/javadoc/tool/CheckResourceKeys.java
  253. +2 −0 test/langtools/tools/javac/diags/examples.not-yet.txt
  254. +2 −2 ...s/tools/javac/diags/examples/CantExtendSealedInAnotherModule/CantExtendSealedInAnotherModule.java
  255. +2 −2 ...ngtools/tools/javac/diags/examples/CantExtendSealedInAnotherPkg/CantExtendSealedInAnotherPkg.java
  256. +2 −1 test/langtools/tools/javac/diags/examples/SealedTypes.java
  257. +75 −0 test/langtools/tools/javac/doclint/LimitedImage.java
  258. +4 −0 test/langtools/tools/javac/enum/FauxEnum3-preview.out
  259. +4 −0 test/langtools/tools/javac/lib/combo/ComboTask.java
  260. +1 −1 test/langtools/tools/javac/options/BCPOrSystemNotSpecified.java
  261. +0 −1 test/langtools/tools/javac/patterns/BreakAndLoops.java
  262. +1 −2 test/langtools/tools/javac/patterns/ConditionalTest.java
  263. +1 −1 test/langtools/tools/javac/patterns/PatternMatchPosTest.out
  264. +1 −1 test/langtools/tools/javac/platform/PreviewAPIsWithRelease.out
  265. +5 −0 test/langtools/tools/javac/preview/DeclaredUsingPreview-class.out
  266. +7 −0 test/langtools/tools/javac/preview/DeclaredUsingPreview-source.out
  267. +11 −0 test/langtools/tools/javac/preview/DeclaredUsingPreview.java
  268. +5 −0 test/langtools/tools/javac/preview/DeclaredUsingPreviewDeclarations.java
  269. +222 −0 test/langtools/tools/javac/preview/PreviewAutoSuppress.java
  270. +372 −101 test/langtools/tools/javac/preview/PreviewErrors.java
  271. +21 −21 test/langtools/tools/javac/processing/model/element/TestSealed.java
  272. +12 −2 test/langtools/tools/javac/records/RecordCompilationTests.java
  273. +3 −1 test/langtools/tools/javac/sealed/SealedDiffConfigurationsTest.java
  274. +1 −1 test/langtools/tools/jdeps/listdeps/ListModuleDeps.java
  275. +3 −0 test/lib/jdk/test/lib/Platform.java
@@ -55,7 +55,7 @@ jobs:

- name: Determine versions and locations to be used for dependencies
id: check_deps
run: "echo ::set-output name=dependencies::`cat make/autoconf/version-numbers make/conf/test-dependencies | sed -e '1i {' -e 's/#.*//g' -e 's/\"//g' -e 's/\\(.*\\)=\\(.*\\)/\"\\1\": \"\\2\",/g' -e '$s/,\\s\\{0,\\}$/\\}/'`"
run: "echo ::set-output name=dependencies::`cat make/conf/version-numbers.conf make/conf/test-dependencies | sed -e '1i {' -e 's/#.*//g' -e 's/\"//g' -e 's/\\(.*\\)=\\(.*\\)/\"\\1\": \"\\2\",/g' -e '$s/,\\s\\{0,\\}$/\\}/'`"
working-directory: jdk
if: steps.check_submit.outputs.should_run != 'false'

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -49,8 +49,8 @@ TARGETS += $(patsubst %, $(BUILDTOOLS_OUTPUTDIR)/gensrc/%/module-info.java, \
$(INTERIM_LANGTOOLS_MODULES))

$(eval $(call SetupCopyFiles, COPY_PREVIEW_FEATURES, \
FILES := $(TOPDIR)/src/java.base/share/classes/jdk/internal/PreviewFeature.java, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim/jdk/internal/, \
FILES := $(TOPDIR)/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim/jdk/internal/javac/, \
))

TARGETS += $(COPY_PREVIEW_FEATURES)
@@ -81,8 +81,8 @@ define SetupInterimModule
--module-path $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules \
$$(INTERIM_LANGTOOLS_ADD_EXPORTS) \
--patch-module java.base=$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim \
--add-exports java.base/jdk.internal=java.compiler.interim \
--add-exports java.base/jdk.internal=jdk.compiler.interim, \
--add-exports java.base/jdk.internal.javac=java.compiler.interim \
--add-exports java.base/jdk.internal.javac=jdk.compiler.interim, \
))

$1_DEPS_INTERIM := $$(addsuffix .interim, $$(filter \

0 comments on commit b5719f7

Please sign in to comment.