diff -r 5091e36e106b -r f1325703ea85 langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocPretty.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocPretty.java Tue Aug 08 23:00:45 2017 +0000 +++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocPretty.java Tue Aug 15 13:16:32 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -503,6 +503,22 @@ } @Override @DefinedBy(Api.COMPILER_TREE) + public Void visitSummary(SummaryTree node, Void p) { + try { + print("{"); + printTagName(node); + if (!node.getSummary().isEmpty()) { + print(" "); + print(node.getSummary()); + } + print("}"); + } catch (IOException e) { + throw new UncheckedIOException(e); + } + return null; + } + + @Override @DefinedBy(Api.COMPILER_TREE) public Void visitText(TextTree node, Void p) { try { print(node.getBody());