test/tools/javadoc/T6551367.java

changeset 1490
fc4cb1577ad6
parent 721
5286a99de2e6
child 2525
2eb010b6cb22
equal deleted inserted replaced
1486:7d2f628f04f1 1490:fc4cb1577ad6
1 /* 1 /*
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2010, 2013, 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.
44 File destDir = new File(System.getProperty("user.dir", ".")); 44 File destDir = new File(System.getProperty("user.dir", "."));
45 for (String file : args) { 45 for (String file : args) {
46 File source = new File(testSrc, file); 46 File source = new File(testSrc, file);
47 int rc = execute("javadoc", "T6551367", 47 int rc = execute("javadoc", "T6551367",
48 T6551367.class.getClassLoader(), 48 T6551367.class.getClassLoader(),
49 new String[]{source.getPath(), "-d", destDir.getAbsolutePath()}); 49 new String[]{"-Xdoclint:none", source.getPath(), "-d", destDir.getAbsolutePath()});
50 if (rc != 0) 50 if (rc != 0)
51 throw new Error("unexpected exit from javadoc: " + rc); 51 throw new Error("unexpected exit from javadoc: " + rc);
52 } 52 }
53 } 53 }
54 } 54 }

mercurial