author | jjg |
Wed, 10 Aug 2016 15:47:46 -0700 | |
changeset 40308 | 274367a99f98 |
parent 38525 | a2169f8fa712 |
child 41164 | 69167c89e68f |
permissions | -rw-r--r-- |
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
1 |
main.usage.summary=\ |
38524 | 2 |
Usage: {0} <options> <path ...>]\n\ |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
3 |
use -h, -?, -help, or --help for a list of possible options |
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
4 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
5 |
main.usage=\ |
38524 | 6 |
Usage: {0} <options> <path ...>]\n\ |
7 |
<path> can be a pathname to a .class file, a directory, a JAR file.\n\ |
|
36526 | 8 |
\n\ |
9 |
Possible options include: |
|
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
10 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
11 |
error.prefix=Error: |
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
12 |
warn.prefix=Warning: |
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
13 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
14 |
main.opt.h=\ |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
15 |
\ -h -? -help\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
16 |
\ --help Print this usage message |
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
17 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
18 |
main.opt.version=\ |
38524 | 19 |
\ -version Version information |
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
20 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
21 |
main.opt.v=\ |
38524 | 22 |
\ -v -verbose Print all class level dependencies\n\ |
23 |
\ Equivalent to -verbose:class -filter:none.\n\ |
|
24 |
\ -verbose:package Print package-level dependencies excluding\n\ |
|
25 |
\ dependencies within the same package by default\n\ |
|
26 |
\ -verbose:class Print class-level dependencies excluding\n\ |
|
27 |
\ dependencies within the same package by default |
|
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
28 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
29 |
main.opt.s=\ |
38524 | 30 |
\ -s -summary Print dependency summary only. |
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
31 |
|
38524 | 32 |
main.opt.f=\ |
33 |
\ -f <regex> -filter <regex> Filter dependences matching the given\n\ |
|
34 |
\ pattern. If given multiple times, the last\n\ |
|
35 |
\ one will be used.\n\ |
|
36 |
\ -filter:package Filter dependences within the same package.\n\ |
|
37 |
\ This is the default.\n\ |
|
38 |
\ -filter:archive Filter dependences within the same archive.\n\ |
|
39 |
\ -filter:module Filter dependences within the same module.\n\ |
|
40 |
\ -filter:none No -filter:package and -filter:archive\n\ |
|
41 |
\ filtering. Filtering specified via the\n\ |
|
42 |
\ -filter option still applies.\n\ |
|
43 |
||
44 |
main.opt.p=\n\ |
|
45 |
\Options to filter dependencies:\n\ |
|
46 |
\ -p <pkgname> -package <pkgname> Finds dependences matching the given package\n\ |
|
47 |
\ name (may be given multiple times). |
|
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
48 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
49 |
main.opt.e=\ |
38524 | 50 |
\ -e <regex> -regex <regex> Finds dependences matching the given pattern. |
36526 | 51 |
|
38525
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
52 |
main.opt.requires=\ |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
53 |
\ -requires <module-name> Finds dependences matching the given module\n\ |
38524 | 54 |
\ name (may be given multiple times).\n\ |
38525
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
55 |
\ -package, -regex, -requires are mutual exclusive. |
21046
ebf16a1a6328
8015912: jdeps support to output in dot file format
mchung
parents:
16550
diff
changeset
|
56 |
|
38524 | 57 |
main.opt.include=\n\ |
58 |
\Options to filter classes to be analyzed:\n\ |
|
59 |
\ -include <regex> Restrict analysis to classes matching pattern\n\ |
|
60 |
\ This option filters the list of classes to\n\ |
|
61 |
\ be analyzed. It can be used together with\n\ |
|
62 |
\ -p and -e which apply pattern to the dependences |
|
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
63 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
64 |
main.opt.P=\ |
38524 | 65 |
\ -P -profile Show profile containing a package |
25874 | 66 |
|
21046
ebf16a1a6328
8015912: jdeps support to output in dot file format
mchung
parents:
16550
diff
changeset
|
67 |
main.opt.cp=\ |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
68 |
\ -cp <path>\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
69 |
\ -classpath <path>\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
70 |
\ --class-path <path> Specify where to find class files |
36526 | 71 |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
72 |
main.opt.module-path=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
73 |
\ --module-path <module path>... Specify module path |
36526 | 74 |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
75 |
main.opt.upgrade-module-path=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
76 |
\ --upgrade-module-path <module path>... Specify upgrade module path |
36526 | 77 |
|
38525
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
78 |
main.opt.system=\ |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
79 |
\ --system <java-home> Specify an alternate system module path |
38525
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
80 |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
81 |
main.opt.add-modules=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
82 |
\ --add-modules <module-name>[,<module-name>...]\n\ |
38525
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
83 |
\ Adds modules to the root set for analysis |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
84 |
|
36526 | 85 |
main.opt.m=\ |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
86 |
\ -m <module-name>\n\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
87 |
\ --module <module-name> Specify the root module for analysis |
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
88 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
89 |
main.opt.R=\ |
38524 | 90 |
\ -R -recursive Recursively traverse all run-time dependencies.\n\ |
91 |
\ The -R option implies -filter:none. If -p,\n\ |
|
92 |
\ -e, -foption is specified, only the matching\n\ |
|
93 |
\ dependences are analyzed. |
|
36526 | 94 |
|
38525
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
95 |
main.opt.I=\ |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
96 |
\ -I -inverse Analyzes the dependences per other given options\n\ |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
97 |
\ and then find all artifacts that directly\n\ |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
98 |
\ and indirectly depend on the matching nodes.\n\ |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
99 |
\ This is equivalent to the inverse of\n\ |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
100 |
\ compile-time view analysis and print\n\ |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
101 |
\ dependency summary. This option must use\n\ |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
102 |
\ with -requires, -package or -regex option. |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
103 |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
104 |
main.opt.compile-time=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
105 |
\ --compile-time Compile-time view of transitive dependencies\n\ |
38524 | 106 |
\ i.e. compile-time view of -R option.\n\ |
107 |
\ Analyzes the dependences per other given options\n\ |
|
108 |
\ If a dependence is found from a directory,\n\ |
|
109 |
\ a JAR file or a module, all classes in that \n\ |
|
110 |
\ containing archive are analyzed. |
|
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
111 |
|
21046
ebf16a1a6328
8015912: jdeps support to output in dot file format
mchung
parents:
16550
diff
changeset
|
112 |
main.opt.apionly=\ |
38524 | 113 |
\ -apionly Restrict analysis to APIs i.e. dependences\n\ |
114 |
\ from the signature of public and protected\n\ |
|
115 |
\ members of public classes including field\n\ |
|
116 |
\ type, method parameter types, returned type,\n\ |
|
117 |
\ checked exception types etc. |
|
36526 | 118 |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
119 |
main.opt.gen-module-info=\ |
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
120 |
\ --gen-module-info <dir> Generate module-info.java under the specified\n\ |
38524 | 121 |
\ directory. The specified JAR files will be\n\ |
122 |
\ analyzed. This option cannot be used with\n\ |
|
123 |
\ -dotoutput or -cp. |
|
36526 | 124 |
|
125 |
main.opt.check=\ |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
126 |
\ --check <module-name>[,<module-name>...\n\ |
38524 | 127 |
\ Analyze the dependence of the specified modules\n\ |
128 |
\ It prints the module descriptor, the resulting\n\ |
|
129 |
\ module dependences after analysis and the\n\ |
|
130 |
\ graph after transition reduction. It also\n\ |
|
131 |
\ identifies any unused qualified exports. |
|
36526 | 132 |
|
21046
ebf16a1a6328
8015912: jdeps support to output in dot file format
mchung
parents:
16550
diff
changeset
|
133 |
|
ebf16a1a6328
8015912: jdeps support to output in dot file format
mchung
parents:
16550
diff
changeset
|
134 |
main.opt.dotoutput=\ |
38524 | 135 |
\ -dotoutput <dir> Destination directory for DOT file output |
21046
ebf16a1a6328
8015912: jdeps support to output in dot file format
mchung
parents:
16550
diff
changeset
|
136 |
|
22007
907f7054db16
8029216: (jdeps) Provide a specific option to report JDK internal APIs
mchung
parents:
21046
diff
changeset
|
137 |
main.opt.jdkinternals=\ |
38524 | 138 |
\ -jdkinternals Finds class-level dependences on JDK internal\n\ |
139 |
\ APIs. By default, it analyzes all classes\n\ |
|
140 |
\ on -classpath and input files unless -include\n\ |
|
141 |
\ option is specified. This option cannot be\n\ |
|
142 |
\ used with -p, -e and -s options.\n\ |
|
143 |
\ WARNING: JDK internal APIs are inaccessible. |
|
22007
907f7054db16
8029216: (jdeps) Provide a specific option to report JDK internal APIs
mchung
parents:
21046
diff
changeset
|
144 |
|
21046
ebf16a1a6328
8015912: jdeps support to output in dot file format
mchung
parents:
16550
diff
changeset
|
145 |
main.opt.depth=\ |
38524 | 146 |
\ -depth=<depth> Specify the depth of the transitive\n\ |
147 |
\ dependency analysis |
|
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
148 |
|
36526 | 149 |
main.opt.q=\ |
38524 | 150 |
\ -q -quiet Do not show missing dependencies from \n\ |
151 |
\ -genmoduleinfo output. |
|
22007
907f7054db16
8029216: (jdeps) Provide a specific option to report JDK internal APIs
mchung
parents:
21046
diff
changeset
|
152 |
|
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
153 |
err.unknown.option=unknown option: {0} |
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
154 |
err.missing.arg=no value given for {0} |
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
155 |
err.invalid.arg.for.option=invalid argument for option: {0} |
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
156 |
err.option.after.class=option must be specified before classes: {0} |
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
38525
diff
changeset
|
157 |
err.genmoduleinfo.not.jarfile={0} not valid for --gen-module-info option (must be non-modular JAR file) |
16550
f20e2521f3df
8005428: Update jdeps to read the same profile information as by javac
mchung
parents:
15030
diff
changeset
|
158 |
err.profiles.msg=No profile information |
36526 | 159 |
err.exception.message={0} |
25442
755ff386d1ac
8029548: (jdeps) use @jdk.Exported to determine supported vs JDK internal API
mchung
parents:
22007
diff
changeset
|
160 |
err.invalid.path=invalid path: {0} |
38524 | 161 |
err.invalid.module.option=Cannot set {0} with {1} option. |
38525
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
162 |
err.invalid.filters=Only one of -package (-p), -regex (-e), -requires option can be set |
36526 | 163 |
err.module.not.found=module not found: {0} |
38524 | 164 |
err.root.module.not.set=root module set empty |
38525
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
165 |
err.invalid.inverse.option={0} cannot be used with -inverse option |
a2169f8fa712
8156575: Add jdeps -addmods, -system, -inverse options
mchung
parents:
38524
diff
changeset
|
166 |
err.inverse.filter.not.set={0} cannot be used with -inverse option |
38524 | 167 |
warn.invalid.arg=Path not exist: {0} |
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
168 |
warn.split.package=package {0} defined in {1} {2} |
25692
39537fdca12c
8050804: (jdeps) Recommend supported API to replace use of JDK internal API
mchung
parents:
25442
diff
changeset
|
169 |
warn.replace.useJDKInternals=\ |
39537fdca12c
8050804: (jdeps) Recommend supported API to replace use of JDK internal API
mchung
parents:
25442
diff
changeset
|
170 |
JDK internal APIs are unsupported and private to JDK implementation that are\n\ |
39537fdca12c
8050804: (jdeps) Recommend supported API to replace use of JDK internal API
mchung
parents:
25442
diff
changeset
|
171 |
subject to be removed or changed incompatibly and could break your application.\n\ |
39537fdca12c
8050804: (jdeps) Recommend supported API to replace use of JDK internal API
mchung
parents:
25442
diff
changeset
|
172 |
Please modify your code to eliminate dependency on any JDK internal APIs.\n\ |
39537fdca12c
8050804: (jdeps) Recommend supported API to replace use of JDK internal API
mchung
parents:
25442
diff
changeset
|
173 |
For the most recent update on JDK internal API replacements, please check:\n\ |
39537fdca12c
8050804: (jdeps) Recommend supported API to replace use of JDK internal API
mchung
parents:
25442
diff
changeset
|
174 |
{0} |
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
175 |
|
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
diff
changeset
|
176 |
artifact.not.found=not found |
25692
39537fdca12c
8050804: (jdeps) Recommend supported API to replace use of JDK internal API
mchung
parents:
25442
diff
changeset
|
177 |
jdeps.wiki.url=https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool |