Thu, 27 Apr 2017 16:18:18 -0700
8176329: jdeps to detect MR jar file and output a warning
Reviewed-by: mchung
1 main.usage.summary=\
2 Usage: {0} <options> <classes...>\n\
3 use -h, -? or -help for a list of possible options
5 main.usage=\
6 Usage: {0} <options> <classes...>\n\
7 where <classes> can be a pathname to a .class file, a directory, a JAR file,\n\
8 or a fully-qualified class name. Possible options include:
10 error.prefix=Error:
11 warn.prefix=Warning:
13 main.opt.h=\
14 \ -h -? -help Print this usage message
16 main.opt.version=\
17 \ -version Version information
19 main.opt.v=\
20 \ -v -verbose Print all class level dependencies\n\
21 \ Equivalent to -verbose:class -filter:none.\n\
22 \ -verbose:package Print package-level dependencies excluding\n\
23 \ dependencies within the same package by default\n\
24 \ -verbose:class Print class-level dependencies excluding\n\
25 \ dependencies within the same package by default
27 main.opt.f=\
28 \ -f <regex> -filter <regex> Filter dependences matching the given pattern\n\
29 \ If given multiple times, the last one will be used.\n\
30 \ -filter:package Filter dependences within the same package (default)\n\
31 \ -filter:archive Filter dependences within the same archive\n\
32 \ -filter:none No -filter:package and -filter:archive filtering\n\
33 \ Filtering specified via the -filter option still applies.
35 main.opt.s=\
36 \ -s -summary Print dependency summary only
38 main.opt.p=\
39 \ -p <pkgname> -package <pkgname> Finds dependences matching the given package name\n\
40 \ (may be given multiple times)
42 main.opt.e=\
43 \ -e <regex> -regex <regex> Finds dependences matching the given pattern\n\
44 \ (-p and -e are exclusive)
46 main.opt.include=\
47 \ -include <regex> Restrict analysis to classes matching pattern\n\
48 \ This option filters the list of classes to\n\
49 \ be analyzed. It can be used together with\n\
50 \ -p and -e which apply pattern to the dependences
52 main.opt.P=\
53 \ -P -profile Show profile or the file containing a package
55 main.opt.cp=\
56 \ -cp <path> -classpath <path> Specify where to find class files
58 main.opt.R=\
59 \ -R -recursive Recursively traverse all dependencies.\n\
60 \ The -R option implies -filter:none. If -p, -e, -f\n\
61 \ option is specified, only the matching dependences\n\
62 \ are analyzed.
64 main.opt.apionly=\
65 \ -apionly Restrict analysis to APIs i.e. dependences\n\
66 \ from the signature of public and protected\n\
67 \ members of public classes including field\n\
68 \ type, method parameter types, returned type,\n\
69 \ checked exception types etc
71 main.opt.dotoutput=\
72 \ -dotoutput <dir> Destination directory for DOT file output
74 main.opt.jdkinternals=\
75 \ -jdkinternals Finds class-level dependences on JDK internal APIs.\n\
76 \ By default, it analyzes all classes on -classpath\n\
77 \ and input files unless -include option is specified.\n\
78 \ This option cannot be used with -p, -e and -s options.\n\
79 \ WARNING: JDK internal APIs may not be accessible in\n\
80 \ the next release.
82 main.opt.depth=\
83 \ -depth=<depth> Specify the depth of the transitive\n\
84 \ dependency analysis
87 err.unknown.option=unknown option: {0}
88 err.missing.arg=no value given for {0}
89 err.invalid.arg.for.option=invalid argument for option: {0}
90 err.option.after.class=option must be specified before classes: {0}
91 err.option.unsupported={0} not supported: {1}
92 err.profiles.msg=No profile information
93 err.invalid.path=invalid path: {0}
94 warn.invalid.arg=Invalid classname or pathname not exist: {0}
95 warn.split.package=package {0} defined in {1} {2}
96 warn.replace.useJDKInternals=\
97 JDK internal APIs are unsupported and private to JDK implementation that are\n\
98 subject to be removed or changed incompatibly and could break your application.\n\
99 Please modify your code to eliminate dependency on any JDK internal APIs.\n\
100 For the most recent update on JDK internal API replacements, please check:\n\
101 {0}
102 warn.mrjar.usejdk9=\
103 {0} is a multi-release jar file.\n\
104 All versioned entries are analyzed. To analyze the entries for a specific\n\
105 version, use a newer version of jdeps (JDK 9 or later) \"--multi-release\" option.
107 artifact.not.found=not found
108 jdeps.wiki.url=https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool