langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/resources/jdeprscan.properties
author smarks
Wed, 15 Mar 2017 13:02:54 -0700
changeset 44295 f147ed497558
parent 41863 98b049c8b848
permissions -rw-r--r--
8171395: (jdeprscan) add comments to L10N message file Reviewed-by: ljiang, darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
40596
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
     1
main.usage=\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
     2
Usage: jdeprscan [options] '{dir|jar|class}' ...\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
     3
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
     4
options:\n\
41439
ee4857e4fa85 8161338: (jdeprscan) remove JEP 293 non-conforming -cp option
smarks
parents: 40596
diff changeset
     5
\       --class-path PATH\n\
40596
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
     6
\       --for-removal\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
     7
\       --full-version\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
     8
\  -h   --help\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
     9
\  -l   --list\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    10
\       --release 6|7|8|9\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    11
\  -v   --verbose\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    12
\       --version
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    13
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    14
main.help=\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    15
Scans each argument for usages of deprecated APIs. An argument\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    16
may be a directory specifying the root of a package hierarchy,\n\
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    17
a JAR file, a class file, or a class name. The class name must be\n\
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    18
specified using a fully qualified class name using the $ separator\n\
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    19
character for nested classes, for example,\n\
40596
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    20
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    21
\    java.lang.Thread$State\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    22
\n\
41439
ee4857e4fa85 8161338: (jdeprscan) remove JEP 293 non-conforming -cp option
smarks
parents: 40596
diff changeset
    23
The --class-path option provides a search path for resolution\n\
40596
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    24
of dependent classes.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    25
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    26
The --for-removal option limits scanning or listing to APIs that are\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    27
deprecated for removal. Cannot be used with a release value of 6, 7, or 8.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    28
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    29
The --full-version option prints out the full version string of the tool.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    30
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    31
The --help option prints out a full help message.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    32
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    33
The --list (-l) option prints out the set of deprecated APIs. No scanning is done,\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    34
so no directory, jar, or class arguments should be provided.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    35
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    36
The --release option specifies the Java SE release that provides the set\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    37
of deprecated APIs for scanning.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    38
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    39
The --verbose (-v) option enables additional message output during processing.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    40
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    41
The --version option prints out the abbreviated version string of the tool.
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    42
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    43
main.xhelp=\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    44
Unsupported options:\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    45
\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    46
\  --Xload-class CLASS\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    47
\      Loads deprecation information from the named class.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    48
\  --Xload-csv CSVFILE\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    49
\      Loads deprecation information from the named CSV file.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    50
\  --Xload-dir DIR\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    51
\      Loads deprecation information from the class hierarchy\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    52
\      at the named directory.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    53
\  --Xload-jar JARFILE\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    54
\      Loads deprecation information from the named JAR file.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    55
\  --Xload-jdk9 JAVA_HOME\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    56
\      Loads deprecation information from the JDK located at\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    57
\      JAVA_HOME, which must be a modular JDK.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    58
\  --Xload-old-jdk JAVA_HOME\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    59
\      Loads deprecation information from the JDK located at\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    60
\      JAVA_HOME, which must not be a modular JDK. Instead, the\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    61
\      named JDK must be a "classic" JDK with an rt.jar file.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    62
\  --Xload-self\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    63
\      Loads deprecation information by traversing the jrt:\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    64
\      filesystem of the running JDK image.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    65
\  --Xcompiler-arg ARG\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    66
\      Adds ARG to the list of compiler arguments.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    67
\  --Xcsv-comment COMMENT\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    68
\      Adds COMMENT as a comment line to the output CSV file.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    69
\      Only effective if -Xprint-csv is also supplied.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    70
\  --Xhelp\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    71
\      Prints this message.\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    72
\  --Xprint-csv\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    73
\      Prints a CSV file containing the loaded deprecation information\n\
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    74
\      instead of scanning any classes or JAR files.
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    75
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    76
scan.process.class=Processing class {0}...
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    77
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    78
# The "removal tag": empty for normal deprecations,
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    79
# nonempty for removal deprecations; do not translate.
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    80
scan.dep.normal=
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    81
scan.dep.removal=(forRemoval=true)
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    82
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    83
scan.err.exception=error: unexpected exception {0}
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    84
scan.err.noclass=error: cannot find class {0}
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    85
scan.err.nofile=error: cannot find file {0}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    86
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    87
# 0: class name, 1: method name, 2: parameter and return types
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    88
scan.err.nomethod=error: cannot resolve Methodref {0}.{1}:{2}
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    89
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    90
scan.head.jar=Jar file {0}:
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    91
scan.head.dir=Directory {0}:
40596
43b19b36e8e6 8145464: implement deprecation static analysis tool
smarks
parents:
diff changeset
    92
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    93
# In all of the messages below, 0 and 1 are as follows:
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    94
#   0: type kind (class, interface, enum, or annotation type)
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    95
#   1: type name
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    96
# The last element is generally a "removal tag"; see above.
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    97
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
    98
# 2: class name, 3: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
    99
scan.out.extends={0} {1} extends deprecated class {2} {3}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   100
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   101
# 2: interface name, 3: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
   102
scan.out.implements={0} {1} implements deprecated interface {2} {3}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   103
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   104
# 2: class name, 3: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
   105
scan.out.usesclass={0} {1} uses deprecated class {2} {3}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   106
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   107
# 2: class name, 3: method name, 4: method parameter and return types, 5: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
   108
scan.out.usesmethod={0} {1} uses deprecated method {2}::{3}{4} {5}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   109
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   110
# 2: class name, 3: method name, 4: method parameter and return types, 5: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
   111
scan.out.usesintfmethod={0} {1} uses deprecated method {2}::{3}{4} {5}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   112
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   113
# 2: class name, 3: field name, 4: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
   114
scan.out.usesfield={0} {1} uses deprecated field {2}::{3} {4}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   115
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   116
# 2: field name, 3: type name, 4: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
   117
scan.out.hasfield={0} {1} has field named {2} of deprecated type {3} {4}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   118
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   119
# 2: method name, 3: parameter type, 4: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
   120
scan.out.methodparmtype={0} {1} has method named {2} having deprecated parameter type {3} {4}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   121
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   122
# 2: method name, 3: return type, 4: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
   123
scan.out.methodrettype={0} {1} has method named {2} having deprecated return type {3} {4}
44295
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   124
f147ed497558 8171395: (jdeprscan) add comments to L10N message file
smarks
parents: 41863
diff changeset
   125
# 2: class name, 3: method name, 4: method parameter and return types, 5: removal tag
41863
98b049c8b848 8165646: (jdeprscan) adjust tool output to improve clarity
smarks
parents: 41439
diff changeset
   126
scan.out.methodoverride={0} {1} overrides deprecated method {2}::{3}{4} {5}