changeset 56405:d29f0181ba42 jdk-14+16

8231443: Add java.io.Serial to list of platform annotations for annotation processing Reviewed-by: jjg
author darcy
date Wed, 25 Sep 2019 13:37:42 -0700
parents 21a03fa2f6b6
children ac24594d2c8c
files src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java	Wed Sep 25 11:44:52 2019 -0700
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java	Wed Sep 25 13:37:42 2019 -0700
@@ -264,7 +264,9 @@
                       module_prefix + "java.lang.annotation.Native",
                       module_prefix + "java.lang.annotation.Repeatable",
                       module_prefix + "java.lang.annotation.Retention",
-                      module_prefix + "java.lang.annotation.Target");
+                      module_prefix + "java.lang.annotation.Target",
+
+                      module_prefix + "java.io.Serial");
     }
 
     private void initProcessorLoader() {