equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8011288 8062647 |
26 * @bug 8011288 8062647 8175200 |
27 * @summary Erratic/inconsistent indentation of signatures |
27 * @summary Erratic/inconsistent indentation of signatures |
28 * @library ../lib |
28 * @library ../lib |
29 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
29 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
30 * @build JavadocTester |
30 * @build JavadocTester |
31 * @run main TestIndentation |
31 * @run main TestIndentation |
44 "-sourcepath", testSrc, |
44 "-sourcepath", testSrc, |
45 "p"); |
45 "p"); |
46 checkExit(Exit.OK); |
46 checkExit(Exit.OK); |
47 |
47 |
48 checkOutput("p/Indent.html", true, |
48 checkOutput("p/Indent.html", true, |
49 "<pre>public <T> void m(T t1,", |
49 "<pre>public <T> void m​(T t1,", |
50 "\n" |
50 "\n" |
51 + " T t2)", |
51 + " T t2)", |
52 "\n" |
52 "\n" |
53 + " throws java.lang.Exception"); |
53 + " throws java.lang.Exception"); |
54 |
54 |