8231443: Add java.io.Serial to list of platform annotations for annotation processing
Reviewed-by: jjg
--- 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() {