From 4b2b9aeb775ecc0e434b2c943b1c63a7aaed5728 Mon Sep 17 00:00:00 2001 From: darcy Date: Tue, 24 Feb 2009 17:16:18 -0800 Subject: [PATCH] 6501749: 6501749 Filer should state connection between created files and root elements Reviewed-by: jjg --- src/share/classes/javax/annotation/processing/Filer.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/share/classes/javax/annotation/processing/Filer.java b/src/share/classes/javax/annotation/processing/Filer.java index e0da17b5..7ebdc6fb 100644 --- a/src/share/classes/javax/annotation/processing/Filer.java +++ b/src/share/classes/javax/annotation/processing/Filer.java @@ -35,9 +35,11 @@ import java.io.IOException; * processor. Files created in this way will be known to the * annotation processing tool implementing this interface, better * enabling the tool to manage them. Source and class files so - * created will be considered for processing by the tool after the - * {@code close} method has been called on the {@code Writer} or - * {@code OutputStream} used to write the contents of the file. + * created will be {@linkplain RoundEnvironment#getRootElements + * considered for processing} by the tool in a subsequent {@linkplain + * RoundEnvironment round of processing} after the {@code close} + * method has been called on the {@code Writer} or {@code + * OutputStream} used to write the contents of the file. * * Three kinds of files are distinguished: source files, class files, * and auxiliary resource files. -- GitLab