1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/ConstructorWriterImpl.java Tue May 14 10:14:53 2013 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/ConstructorWriterImpl.java Tue May 14 10:14:53 2013 -0700 1.3 @@ -126,7 +126,6 @@ 1.4 * {@inheritDoc} 1.5 */ 1.6 public Content getSignature(ConstructorDoc constructor) { 1.7 - writer.displayLength = 0; 1.8 Content pre = new HtmlTree(HtmlTag.PRE); 1.9 writer.addAnnotationInfo(constructor, pre); 1.10 addModifiers(constructor, pre); 1.11 @@ -136,8 +135,9 @@ 1.12 } else { 1.13 addName(constructor.name(), pre); 1.14 } 1.15 - addParameters(constructor, pre); 1.16 - addExceptions(constructor, pre); 1.17 + int indent = pre.charCount(); 1.18 + addParameters(constructor, pre, indent); 1.19 + addExceptions(constructor, pre, indent); 1.20 return pre; 1.21 } 1.22