From 0b354c5a09200a735acd2a012b765c61cd1ba681 Mon Sep 17 00:00:00 2001 From: darcy Date: Tue, 25 Aug 2009 16:41:32 -0700 Subject: [PATCH] 6872011: Update printing processor to support JSR 308 Reviewed-by: jjg --- .../com/sun/tools/javac/processing/PrintingProcessor.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java b/src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java index c8061336..963f2602 100644 --- a/src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java +++ b/src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java @@ -48,7 +48,8 @@ import java.util.*; * deletion without notice. */ @SupportedAnnotationTypes("*") -@SupportedSourceVersion(SourceVersion.RELEASE_6) +// TODO: Change to version 7 based visitors when available +@SupportedSourceVersion(SourceVersion.RELEASE_7) public class PrintingProcessor extends AbstractProcessor { PrintWriter writer; @@ -374,6 +375,7 @@ public class PrintingProcessor extends AbstractProcessor { for(TypeParameterElement tpe: typeParams) { if (!first) writer.print(", "); + printAnnotationsInline(tpe); writer.print(tpe.toString()); first = false; } -- GitLab