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 c80613360d5907a455f81c78a8c87016e1e003f1..963f26020d3cc0aebe4342775518fe1e62b41840 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; }