equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2010, 2018, 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. |
45 |
45 |
46 void javadoc(String path, String expect) { |
46 void javadoc(String path, String expect) { |
47 File testSrc = new File(System.getProperty("test.src")); |
47 File testSrc = new File(System.getProperty("test.src")); |
48 String[] args = { |
48 String[] args = { |
49 "-Xdoclint:none", |
49 "-Xdoclint:none", |
|
50 "-html4", |
50 "-source", "8", |
51 "-source", "8", |
51 "-classpath", ".", |
52 "-classpath", ".", |
52 "-package", |
53 "-package", |
53 new File(testSrc, path).getPath() |
54 new File(testSrc, path).getPath() |
54 }; |
55 }; |